Skip to content

[Conductor] Update dev - #120

Open
private-packagist[bot] wants to merge 1 commit into
mainfrom
conductor-multiple-vendors-all-87082
Open

[Conductor] Update dev#120
private-packagist[bot] wants to merge 1 commit into
mainfrom
conductor-multiple-vendors-all-87082

Conversation

@private-packagist

Copy link
Copy Markdown
Contributor

This PR was automatically generated by Conductor.

The PR contains the changes generated by running the following command:

composer update friendsofphp/php-cs-fixer:v3.95.23 phpstan/phpstan:2.2.9 rector/rector:2.6.4 --with-all-dependencies --minimal-changes

Changelog

friendsofphp/php-cs-fixer (Source: GitHub Releases))

v3.95.23

What's Changed

  • fix: FunctionsAnalyzer - detect return type of a closure with a use clause by @​lazerg in #​9806

Full Changelog: v3.95.22...v3.95.23

v3.95.22

What's Changed

  • fix: StaticLambdaFixer - do not make a lambda static when it is the direct subject of bindTo() or call() by @​Amoifr in #​9802
  • chore: Utils - fix stableSort() and sortFixers() template types, remove @​phpstan-ignore suppressions by @​kubawerlos in #​9798
  • chore: Implement PHPStan Preg::replaceCallback() extension by @​kubawerlos in #​9799
  • deps: bump phpstan/phpstan from 2.2.8 to 2.2.9 by @​kubawerlos in #​9797

New Contributors

Full Changelog: v3.95.21...v3.95.22

v3.95.21

What's Changed

Full Changelog: v3.95.20...v3.95.21

phpstan/phpstan (Source: GitHub Releases)

2.2.9

Improvements 🔧

  • Store result cache paths relative to the install location (#​6190), #​8599

Bugfixes 🐛

Performance 🏎️

Function signature fixes 🤖

Internals 🔍

  • Accept the shared data provider's third argument in testOverridingFinalMethod (#​6193), thanks @​SanderMuller!
  • Fix incomplete version requirements in tests (#​6198), thanks @​staabm!
  • Removed duplicate code (#​6200), thanks @​staabm!
  • Carry the closure body walk's gathered statements on ProcessClosureResult (#​6169)
  • Restructure ClosureTypeResolver around single-walk closure type builders (#​6169)
  • Seed the closure type cache from the handler's single body walk (#​6169)
  • Seed the arrow function type cache from the handler's single body walk (#​6169)
  • Seed the closure type cache from the call-argument body walks (#​6169)
  • Walk closure by-ref convergence passes in deep statement context (#​6208)
  • Extract the statement-list loop into doProcessStmtNodes() (#​6215)
  • Replace TypeSpecifyingFunctionsDynamicReturnTypeExtension with direct code in FuncCallHandler (#​6221)
  • Refuse to commit a torn turbo binary set to the dist repository (#​6225)
  • Move repeated @​internal logic into RestrictedInternalUsageHelper (#​6230), thanks @​staabm!
  • Simplify FiniteTypeSet (#​6229), thanks @​staabm!
  • Extract the shared parameter-out type comparison into ParameterOutTypeCheck (#​6238), thanks @​SanderMuller!
rector/rector (Source: GitHub Releases))

2.6.4

A tooling release under the hood: Rector's dependency-injection container moves off illuminate/container onto entropy/entropy, and composer-based sets now target the lowest declared version of a library instead of guessing the current one.


New rules 🎉

rector-src

  • [Php7.4] IfToNullCoalescingAssignRector — convert an if null-guard into ??= (#​8356)
  • [Php7.3] ArrayKeysToArrayKeyFirstLastRectorarray_keys($a)[0]array_key_first($a) (#​8238)

rector-symfony

  • [Web Link] WebLinkStringRelationsToConstantsRector (#​1058)

Engine 🔧

  • Switch the DI container from illuminate/container to entropy/entropy (#​8362) — lighter container, order-independent service collections via autodiscover()
  • [VersionBonding] Allow a rule to require multiple composer package constraints at once (#​8355)
  • [Composer] Target the lowest declared version for libraries in composer-based sets; only a project package type is treated as an application (#​8359, #​8363)
  • [Configuration] Skip deprecated rules pulled in from an active set — warn only instead of crashing (#​8358)
  • [DI] Register PHPStan PhpVersionFactory as a public service so third-party rules can autowire it (#​8365)
  • [PhpParser] Merge decorating node visitors from 14 to 8 for faster traversal (#​8380)

Bugfixes 🐛

rector-src

  • [TypeDeclarationDocblocks] Skip ClassMethodArrayDocblockParamFromLocalCallsRector on methods overriding a parent/interface (#​8357)
  • [TypeDeclarationDocblocks] Skip a contradicting @​param array when the local call type conflicts with the default value (#​8381)
  • [Naming] Skip a valid singular name with an ous suffix in RenameForeachValueVariableToMatchExprVariableRector (#​8382)

rector-symfony

  • [Symfony 6.1] Skip CommandConfigureToAttributeRector on non-constant configure() values (#​1057)
  • [Symfony 3.4] Skip ContainerGetNameToTypeInTestsRector when the named service has no matching FQCN service (#​1051)
  • [Symfony 3.0] Skip OptionNameRector when no option name changes (#​1044)

rector-phpunit

  • [CodeQuality] Fix AddInstanceofAssertForNullableArgumentRector duplicating assertInstanceOf inside traits (#​773)
  • [CodeQuality] Fix MatchAssertSameExpectedTypeRector rewriting a passing assert into a failing one (#​771)

Set changes 📈

rector-src

  • [CodeQuality] Add FlipNegatedTernaryInstanceofRector to the code quality level (#​8385)

rector-symfony

  • [Symfony 7.3] Add missing rename function call (#​1056)
  • [Symfony 7.2] Add missing rename class and function calls (#​1055)
  • [CodeQuality] Move RequestIsMainRector and other version-bonded rules to the composer-based set (#​1048, #​1045)
  • [Symfony 7.3] GetFiltersAndFunctionsToAsTwigAttributeRector — support arrow-call functions; gate on symfony/twig-bridge 7.3, not twig alone (#​1043, #​1050)
  • [Set] Mark ANNOTATIONS_TO_ATTRIBUTES as @​internal instead of @​deprecated (#​1053)

rector-doctrine

  • Move AddAnnotationToRepositoryRector to the composer-based set only (#​510)

Deprecations 💀

Deprecated rules run without any effect, print a warning and will be removed in a future major release.

rector-symfony

  • [CodeQuality] InlineClassRoutePrefixRector (#​1049)
  • [CodeQuality] AddTraitGetterReturnTypeBasedOnSetterRequiredRector (#​1047)
  • [CodeQuality] LiteralGetToRequestClassConstantRector (#​1046)

Removals 💀

rector-src

  • [Cleanup] Remove the write-only CallLikeThisBoundClosureArgsNodeVisitor and its unread attribute (#​8373)

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

Conductor executed the following commands:
composer update friendsofphp/php-cs-fixer:v3.95.23 phpstan/phpstan:2.2.9 rector/rector:2.6.4 --with-all-dependencies --minimal-changes
@private-packagist

Copy link
Copy Markdown
Contributor Author

composer.lock

Dev Package changes

Package Operation From To About
friendsofphp/php-cs-fixer upgrade v3.95.20 v3.95.23 diff
phpstan/phpstan upgrade 2.2.8 2.2.9 diff
rector/rector upgrade 2.6.3 2.6.4 diff

Settings · Docs · Powered by Private Packagist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants