Skip to content

Releases: guanguans/rector-rules

1.6.3

09 Feb 08:51

Choose a tag to compare

1.6.3 - 2026-02-06

🐞 Bug Fixes

  • RenameGarbageParamName: Improve detection of unused variables in function bodies (b5f2a33)
  • namespace: Enhance comment handling in RemoveNamespaceRector (200f20a)

1.6.2

05 Feb 14:52

Choose a tag to compare

1.6.2 - 2026-02-05

🐞 Bug Fixes

  • file: Improve function statement sorting logic for better accuracy (dc37a35)
  • namespace: Improve handling of comments and spacing in RemoveNamespaceRector (aa20f21)

1.6.1

02 Feb 13:36

Choose a tag to compare

1.6.1 - 2026-02-02

✨ Features

  • rector: Add driftingly-laravel configuration (b548d7e)

💅 Code Refactorings

  • name: Preserve enum member types during renaming (0e5f03c)
  • rename: Update enum names to conventional case (8779276)

1.6.0

01 Feb 13:18

Choose a tag to compare

1.6.0 - 2026-02-01

✨ Features

  • Rector: Add PrivateToProtectedVisibilityForTraitRector (e2df0d8)

🐞 Bug Fixes

  • dependencies: Update composer dependencies for compatibility (e74aac6)
  • refactor: Improve refactoring logic for function calls (2bbd5a1)
  • rename: Enhance parameter renaming logic for promoted variables (7d80f74)

1.5.2

22 Jan 10:52

Choose a tag to compare

1.5.2 - 2026-01-22

🐞 Bug Fixes

  • rename: Enhance renaming logic for class constants and methods (2ebec01)
  • renaming: Ensure scope attribute is set for variable nodes (379d638)
  • symfony: Update class existence check for Response (a40a6d3)

1.5.1

21 Jan 15:44

Choose a tag to compare

1.5.1 - 2026-01-21

✨ Features

  • guzzle: Add Guzzle configuration for Rector (2a5d837)
  • renaming: Add RenameAppFunctionToResolveFunctionRector (57196c2)
  • set: Add Pest testing set configuration (8496097)

1.5.0

21 Jan 12:34

Choose a tag to compare

1.5.0 - 2026-01-21

✨ Features

  • config: Add Laravel configuration files for version 8.0 and 9.0 (b7efd3e)
  • refactor: Add RenameGarbageVariableNameRector class (4573a65)

💅 Code Refactorings

  • RenameGarbageVariableNameRector: Improve parameter name handling (6194e51)
  • docblock: Simplify parameter names in closures (f168f2d)
  • name: Rename PsrNameRector to ConventionalCaseNameRector (c751fd7)
  • rules: Rename rule from RenameGarbageVariableNameRector to RenameGarbageParamNameRector (76ec726)

1.4.2

19 Jan 14:01

Choose a tag to compare

1.4.2 - 2026-01-19

✨ Features

  • set: Add PHPBENCH set configuration (5136cf1)

1.4.1

19 Jan 07:06

Choose a tag to compare

1.4.1 - 2026-01-19

🐞 Bug Fixes

  • UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector: Swap method retrieval order in UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector (12cdfea)

1.4.0

19 Jan 06:47

Choose a tag to compare

1.4.0 - 2026-01-19

✨ Features

  • class: Add UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector (4b0c168)
  • class: Add UpdateClassMethodNodeParamDocblockFromNodeTypesRector (1a40dae)

📖 Documents

  • Update project description for clarity (e3894b3)

💅 Code Refactorings

  • class: Rename UpdateRectorRefactorParamDocblockFromNodeTypesRector (7d2003e)
  • rule: Rename and restructure ForbiddenSideEffectsRule (6a20b41)