All notable changes to this project will be documented in this file.
1.7.2 - 2026-04-09
- RectorErrorException: Improve method annotations and variable naming (d432500)
- dependencies: Update package versions in composer.json (6c684d3)
- deps: Bump codecov/codecov-action from 5 to 6 (bf1123d)
- config: Update config files (57f87e8)
- config: Update config files (7472617)
- config: Update pest config files (63fe302)
- config: Update config files (c8fdbc3)
1.7.1 - 2026-03-25
- deps: Add phpstan-rules and update existing dependencies (2e1f7a4)
1.7.0 - 2026-03-18
- deps: Update dependencies for compatibility and improvements (1f5ced0)
- proxy: Add AbstractProxyRector class to facilitate proxy rector creation (bd09d1e)
- config: Add RemoveAnnotationRector rule with specific annotations (f3f9139)
- proxy: Initialize RectorConfig in AbstractProxyRector constructor (7cae1bb)
- FuncCall: Update RenameAppFunctionToResolveFunctionRector (5e6c323)
- deps-dev: Update shipmonk/dead-code-detector requirement || ^0.15 (a4c4102)
- Merge pull request #2 from guanguans/dependabot/composer/shipmonk/dead-code-detector-tw-0.14or-tw-0.15
1.6.3 - 2026-02-06
- RenameGarbageParamName: Improve detection of unused variables in function bodies (b5f2a33)
- namespace: Enhance comment handling in RemoveNamespaceRector (200f20a)
1.6.2 - 2026-02-05
- file: Improve function statement sorting logic for better accuracy (dc37a35)
- namespace: Improve handling of comments and spacing in RemoveNamespaceRector (aa20f21)
1.6.1 - 2026-02-02
- rector: Add driftingly-laravel configuration (b548d7e)
- name: Preserve enum member types during renaming (0e5f03c)
- rename: Update enum names to conventional case (8779276)
1.6.0 - 2026-02-01
- Rector: Add PrivateToProtectedVisibilityForTraitRector (e2df0d8)
- 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 - 2026-01-22
- 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 - 2026-01-21
- guzzle: Add Guzzle configuration for Rector (2a5d837)
- renaming: Add RenameAppFunctionToResolveFunctionRector (57196c2)
- set: Add Pest testing set configuration (8496097)
1.5.0 - 2026-01-21
- config: Add Laravel configuration files for version 8.0 and 9.0 (b7efd3e)
- refactor: Add RenameGarbageVariableNameRector class (4573a65)
- 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 - 2026-01-19
- set: Add PHPBENCH set configuration (5136cf1)
1.4.1 - 2026-01-19
- UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector: Swap method retrieval order in UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector (12cdfea)
1.4.0 - 2026-01-19
- class: Add UpdatePHPStanMethodNodeParamDocblockFromNodeTypesRector (4b0c168)
- class: Add UpdateClassMethodNodeParamDocblockFromNodeTypesRector (1a40dae)
- Update project description for clarity (e3894b3)
- class: Rename UpdateRectorRefactorParamDocblockFromNodeTypesRector (7d2003e)
- rule: Rename and restructure ForbiddenSideEffectsRule (6a20b41)
1.3.0 - 2026-01-14
- array: Add SortListItemOfSameTypeRector for sorting array items (202e6e4)
- array: Remove unnecessary Collection dependency and improve key check (7e70eef)
- README: Update usage example in README (0e00f3d)
- SetList: Rename all.php to common.php and add rector.php (3b9fea3)
- array: Improve array item handling in SortListItemOfSameTypeRector (60baf4a)
- array: Rename sort_callback to sort_comparator and add sort_direction (ffb87fb)
- array: Replace strcmp with spaceship operator for comparisons (64095a5)
- common: Remove unused imports and update README example (e7ee465)
1.2.1 - 2026-01-10
- exception: Add RectorError class for handling exceptions (d3db14f)
- RenameToPsrNameRector: Simplify renamer logic (a291079)
- RenameToPsrNameRector: Simplify instance checks for UseItem (b9604e4)
1.2.0 - 2026-01-09
- File: Add SortFuncDefinitionsRector (b8c3a1b)
- config: Add configuration files for Rector rules (2a4c3bb)
- File: Improve sorting logic in SortFuncDefinitionsRector (83e9f8b)
- RenameToPsrNameRector: Improve return logic for node processing (d199d62)
1.1.0 - 2026-01-07
- File: Add SortFileNoinspectionDocblockRector (a52c37c)
- Declare: Rename AddNoinspectionDocblockToDeclareRector (6c95725)
- UpdateRectorCodeSamplesFromFixturesRector: Improve scope handling (286baf0)
1.0.1 - 2026-01-06
- Class: Add UpdateParameterTypeOfRectorRefactorMethodRector (e687de1)
- Rector: Add UpdateCodeSamplesRector for code sample updates (d97c3dc)
- apply phpstan (1ba240e)
- tests: Remove custom bootstrap and update test configuration (af219bf)
- tests: Remove unused tests and simplify logic (b21d32f)
- rector: Add testing for rector (6d220c4)
- copyright: Update copyright years to 2025-2026 in headers and LICENSE (4e2c54f)
- apply inspection (7cc9d1f)
- AbstractRector: Remove unused classes method and simplify logic (6dcf116)
- Contract: Remove ThrowableContract and RuntimeException (5e3dab9)
- Rector: Improve node collection and remove unused code (a3c069a)
- RemoveNamespaceRector: Simplify node collection logic (f032aa8)
- RenameToPsrNameRector: Improve error handling and dependency injection (0286737)
- rules: Add RenameToPsrNameRector.php and associated tests (3514b1d)
- rules: Add SimplifyListIndexRectorTest (0d42551)
- deps-dev: Update rector/jack requirement || ^0.5 (90cfd71)
- Merge pull request #1 from guanguans/dependabot/composer/rector/jack-tw-0.4or-tw-0.5