Download Latest Version Released Rector 2.3.9 source code.tar.gz (2.0 MB)
Email in envelope

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

Home / 2.3.6
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-06 4.9 kB
Released Rector 2.3.6 source code.tar.gz 2026-02-06 2.0 MB
Released Rector 2.3.6 source code.zip 2026-02-06 4.4 MB
Totals: 3 Items   6.4 MB 0

New Features :partying_face:

  • Allow using a canonical rector.dist.php dist 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 (#642)
  • [phpunit 12] Add AllowMockObjectsWhereParentClassRector (#641)
  • improve AllowMockObjectsWithoutExpectationsAttributeRector (#639)
  • add fixture (#638)
  • handle in call likes as well (#637)
  • [code-quality] Add InlineStubPropertyToCreateStubMethodCallRector (#636)
  • skip property fetch in CreateStubOverCreateMockArgRector (#635)
  • [phpunit 12] Add PropertyCreateMockToCreateStubRector (#634)
  • add variable support to CreateStubOverCreateMockArgRector (#633)
  • [CodeQuality] Add failing fixture crash on deep ArrayItem as Foreach_ value on DirectInstanceOverMockArgRector (#632)
  • skip abstract entity and interface, as cannot be instantiated (#630)
  • [code-quality] Add ConfiguredMockEntityToSetterObjectRector (#629)
  • [code-quality] Add AssertThatToDirectAssertRector (#627)
  • [phpunit 12] Add ExpressionCreateMockToCreateStubRector (#626)
  • cover interfaces in BareCreateMockAssignToDirectUseRector (#625)
  • [code-quality] Add SuffixMockObjectPropertyRector, not enabled (#622)
  • [phpunit 12] Add ExplicitMockExpectsCallRector (#621)
Source: README.md, updated 2026-02-06