[Conductor] Update dev - #122
Open
private-packagist[bot] wants to merge 1 commit into
Open
private-packagist[bot] wants to merge 1 commit into
private-packagist[bot] wants to merge 1 commit into
Conversation
Contributor
Author
github-actions
Bot
force-pushed
the
conductor-friendsofphp-php-cs-fixer-88806
branch
from
September 18, 2026 13:32
c4089fb to
0c81860
Compare
Conductor executed the following commands: composer update friendsofphp/php-cs-fixer:v3.95.25 phpstan/phpstan:2.2.14 rector/rector:2.6.7 --with-all-dependencies --minimal-changes
private-packagist
Bot
force-pushed
the
conductor-friendsofphp-php-cs-fixer-88806
branch
from
September 18, 2026 13:32
0c81860 to
ced448b
Compare
Contributor
Author
|
The composer.lock diff comment has been updated to reflect new changes in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was automatically generated by Conductor.
The PR contains the changes generated by running the following command:
Changelog
friendsofphp/php-cs-fixer (Source: GitHub Releases))
v3.95.25
What's Changed
IsNullFixer- handle is_null() calls using named arguments by @lazerg in #9828IsNullFixer- do not fix is_null() calls using argument unpacking by @lazerg in #9830??inAssignNullCoalescingToCoalesceEqualFixerby @calebdw in #9831New Contributors
Full Changelog: v3.95.24...v3.95.25
phpstan/phpstan (Source: GitHub Releases)
2.2.14
Improvements 🔧
finallyscope changes to try-catch exit points and check by-ref return types afterfinally(#6393), #13338Bugfixes 🐛
MutatingScope::equals()(#6344), #15157, thanks @janedbal!containsNull()for union withnull&T of mixed(#6390), thanks @vojtech-dobes!mixedtype arguments as compatible both ways when both generic types are parameterized (#6398), #15198pcntl_exec()is not supported by blackfire (#6409), thanks @staabm!UsedNamesRule: reset imported names at everynamespacedeclaration instead of keying them by namespace name (#6413), #15215?? null/??= nullas unnecessary when evaluating the right side has side effects (#6418), #15134, thanks @VincentLanglet and @staabm!Performance 🏎️
ClassReflection::getName()(#6406)describe()was standing in for it (#6427)include()(#6430)Function signature fixes 🤖
Locale::getPrimaryLanguage()can return empty string (#6400), thanks @BenMorel!Internals 🔍
rector/rector (Source: GitHub Releases))
2.6.7
Agentic Experience
This release improves Rector for automated, CI and non-interactive workflows: validate configuration without processing files, limit the amount of changes per run, select multiple rules at once, and get more useful machine-readable output.
^2.2.14and PHP-Parser to^5.9, regenerate preload (#8491)New
validate-configcommand (#8450, #8452)New
validate-configcommand checksrector.phpfor configuration issues without processing any source files.It reports deprecated rules and configuration, invalid skips, duplicated rule registrations and other config hygiene issues. A valid config exits with
0, while detected issues exit with1, so the command can be used directly as a CI gate.For machine-readable output:
{ "valid": true, "issue_count": 0 }Limit a run with
--max-changes(#8449)New
--max-changesoption lets automated runs process changes in smaller batches:The limit counts applied rule changes rather than files. The current file is always finished before Rector stops, so the final number may be slightly above the requested limit.
Run multiple rules with
--only(#8451)--onlycan now be repeated to run several selected rules in a single pass:vendor/bin/rector process \ --only=App\\Rector\\FooRector \ --only=App\\Rector\\BarRectorA single
--onlycontinues to work as before.Per-line rule attribution in JSON output (#8448)
JSON output now includes a
changeslist with the Rector rule and source line for every applied change:{ "changes": [ { "rector": "Rector\\Php80\\Rector\\Identical\\StrStartsWithRector", "line": 38 } ] }The existing
applied_rectorsfield remains unchanged for backward compatibility.Cleaner non-interactive output
Non-interactive runs are now quieter and safer:
--ansi(#8453)rector.phpwhen input is non-interactive (#8454)Sets
DirnameDirConcatStringToDirectStringPathRectorto the code-quality set (#8470)NarrowBoolDocblockReturnTypeRectorto the type-declaration-docblocks set (#8484)Bugfixes 🐛
CompleteDynamicPropertiesRector: skip when a not-autoloaded ancestor may already declare the property (#8441)TypeDeclarationDocblocks: restrict array docblock inference to safer/private cases and avoid narrowing properties with incompatible assignment shapes (#8435, #8436, #8437, #8442)DocblockVarArrayFromPropertyDefaultsRector: widen empty nested array defaults tomixed[]instead ofnever[](#8439, #8474)DocblockReturnArrayFromDirectArrayInstanceRector: skip empty array returns instead of producing an overly narrowarray{}docblock (#8434)IfToNullCoalescingAssignRector: preserve comments inside the convertedif(#8443)RemoveDeadIfBlockRector: keep emptyifwithelseifand trailingelsewhere rewriting would change behavior (#8446)RemoveParentDelegatingClassMethodRector: keep delegating methods carrying annotations such as@Route(#8459)StrContainsRector: skip empty string needles to avoid behavior changes (#8460)RemoveDeadCatchRector: keep rethrowing catches before catch-allThrowable/Exceptionhandlers (#8462)SimplifyUselessVariableRector: preserve variables referenced by commented-out code and stop folding compound assignments into returns (#8468)ReplaceArgumentDefaultValueRector: avoid re-applying already migrated imported class constants and correctly report applied changes (#8475)ForeachToArrayAnyRector: do not dropelseiforelsebranches when converting aforeach(#8480)Option::SOURCEfrom the actually resolved paths in regular Rector runs (#8424)Deprecations 💀
--rules-summary- use--output-format=json, which provides applied rules together with files and lines (#8457)DynamicDocBlockPropertyToNativePropertyRector- could change a public-by-design@propertyinto a private native property (#8470)FluentSettersToStandaloneCallMethodRectorandRemoveReturnThisFromSetterClassMethodRector- fluent API semantics are too use-case dependent for a generic transformation (#8473)ListSwapArrayOrderRector- can turn validlist()assignments into broken code; removed from PHP 7.0 sets (#8477)RenameDeprecatedMethodCallRector- inferring replacement methods from free-text@deprecateddescriptions is too risky; explicit rename rules are more predictable (#8485)rector-doctrine 🟠
TypedPropertyFromToOneRelationTypeRector: skip untyped parent property overrides (#520)TypedPropertyFromColumnTypeRector: skip untyped parent property overrides (#521)TypedPropertyFromColumnTypeRector: fix numeric defaults fordecimal/bigintcolumns (#522)TypedPropertyFromColumnTypeRector: make generated property type nullable when anulldefault is present (#523)rector-phpunit 🟢
RemoveNamedArgsInDataProviderRector(#782)rector-symfony 🎵
EnableValidationAttributesRectorinto the composer-based upgrade path (#1065)ConsoleExecuteReturnIntRector: correctly report changes when rewriting an existing return (#1064)rector-downgrade-php ⬇️
DowngradeNeverTypeDeclarationRector: supportneverreturn types on arrow functions (#397)DowngradeReflectionMethodHasPrototypeRectorforReflectionMethod::hasPrototype()when downgrading below PHP 8.2 (#398)Task options
If you close the PR, the task will be skipped and Conductor will schedule the next task. Clicking the "Skip" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.
Powered by Private Packagist