Download Latest Version Released Rector 2.6.3 source code.zip (4.3 MB)
Email in envelope

Get an email when there's a new version of Rector

Home / 2.6.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md < 24 hours ago 2.7 kB
Released Rector 2.6.3 source code.tar.gz < 24 hours ago 2.0 MB
Released Rector 2.6.3 source code.zip < 24 hours ago 4.3 MB
Totals: 3 Items   6.3 MB 0

A stabilization release on top of the composer-based sets finished in 2.6.2 - bugfixes across the engine, a couple of fresh Symfony and Doctrine rules, and the caching cleanup that the cacheClass() deprecation promised.

New rules πŸŽ‰

rector-symfony

  • [Symfony 6.1] RouteRequirementStringToConstantRector (#1037)

rector-doctrine

  • [DBAL 3.1] QueryBuilderExecuteToExecuteQueryOrExecuteStatementRector β€” split the deprecated execute() into executeQuery() / executeStatement() (#507)


Bugfixes πŸ›

  • [DeadCode] Skip RemoveReturnTagIncompatibleWithNativeTypeRector on a type alias nested in a union (#8319)
  • [NodeAnalyzer] Treat an infinite loop without a break as always terminated (#8348) β€” improves return/dead-code analysis on while (true) bodies

rector-symfony

  • [CodeQuality] Fix InlineClassRoutePrefixRector duplicating the route name prefix on attribute routes (#9851)
  • [Symfony 7.2] Fix PushRequestToRequestStackConstructorRector leaving the pushed request undefined (#1040)
  • [CodeQuality] Skip loadValidatorMetadata() containing addConstraint(new Callback()) (#1038)

rector-phpunit

  • [PHPUnit 6.0] Skip imported PHPUnit assert functions in AddDoesNotPerformAssertionToNonAssertingTestRector (#767)


Set changes πŸ“ˆ

rector-doctrine

  • [ORM 3.5] Replace deprecated ORMSetup methods β€” createAttributeMetadataConfiguration() β†’ createAttributeMetadataConfig(), createXMLMetadataConfiguration() β†’ createXMLMetadataConfig(), createConfiguration() β†’ createConfig()
  • [DBAL 4.0] Replace the removed Types::ARRAY with Types::SIMPLE_ARRAY (#506)


Deprecations πŸ’€

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

rector-phpunit

  • AllowMockObjectsWithoutExpectationsAttributeRector β€” also removed from the set

Removals πŸ’€

rector-src

  • [Caching] Drop MemoryCacheStorage, always use FileCacheStorage (#8354) β€” completes the cacheClass() deprecation from 2.6.2; only file cache is useful to end users
Source: README.md, updated 2026-08-18