New
Released Rector 2.3.6
New Features :partying_face:
- Allow using a canonical
rector.dist.phpdist file (#7845), Thanks @carlos-granados!
Bugfixes :bug:
- [Php83] Handle parent class consume trait on AddOverrideAttributeToOverriddenMethodsRector (#7868)
- Fix fixture source warning on AddOverrideAttributeToOverriddenMethodsRector (missing TestCase suffix) (#7869)
- add JSON_THROW_ON_ERROR even if there is already a flag (#7867), Thanks @Lenny4!
- [DeadCode] No need additional parentheses () on multiply to function call (#7883)
- [Php80] Handle crash on empty name attribute field value on AnnotationToAttributeRector (#7864)
- Fix JsonValidateRector: remove associative argument not supported by json_validate (#7865), Thanks @carlos-granados!
- Fix deep ArrayItem scope filling on Foreach_ value (#7873)
- Fix StaticCallOnNonStaticToInstanceCallRector for same-class calls (#7876), Thanks @carlos-granados!
- Bump PHPStan to 2.1.38 (#7879)
- [DeadCode] Allow remove @var on expression assign on RemoveUselessVarTagRector (#7871)
- [DeadCode] Handle multiply to parenthesized on RemoveDeadZeroAndOneOperationRector (#7882)
rectorphp/rector-symfony :musical_note:
- Update set usage in readme (#919), Thanks @MrYamous
rectorphp/rector-phpunit :green_circle:
- [phpunit 12] Add CreateStubInCoalesceArgRector (#650)
- [code-quality] Add DecorateWillReturnMapWithExpectsMockRector (#649)
- [code-quality] Add RemoveStandaloneCreateMockRector (#648)
- add class method (#647)
- improve check for used mock property (#646)
- skip if used in array (#645)
- [code-quality] Add RemoveNeverUsedMockPropertyRector (#644)
- [phpunit 12] Add AllowMockObjectsForDataProviderRector (#643)
- add to setUp with only variables ()