| Name | Modified | Size | Downloads / 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 deprecatedexecute()intoexecuteQuery()/executeStatement()(#507)
Bugfixes π
- [DeadCode] Skip
RemoveReturnTagIncompatibleWithNativeTypeRectoron a type alias nested in a union (#8319) - [NodeAnalyzer] Treat an infinite loop without a
breakas always terminated (#8348) β improves return/dead-code analysis onwhile (true)bodies
rector-symfony
- [CodeQuality] Fix
InlineClassRoutePrefixRectorduplicating the route name prefix on attribute routes (#9851) - [Symfony 7.2] Fix
PushRequestToRequestStackConstructorRectorleaving the pushed request undefined (#1040) - [CodeQuality] Skip
loadValidatorMetadata()containingaddConstraint(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
ORMSetupmethods βcreateAttributeMetadataConfiguration()βcreateAttributeMetadataConfig(),createXMLMetadataConfiguration()βcreateXMLMetadataConfig(),createConfiguration()βcreateConfig() - [DBAL 4.0] Replace the removed
Types::ARRAYwithTypes::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 useFileCacheStorage(#8354) β completes thecacheClass()deprecation from 2.6.2; only file cache is useful to end users