Skip to content

Latest commit

 

History

History
254 lines (188 loc) · 13.8 KB

File metadata and controls

254 lines (188 loc) · 13.8 KB

Changelog

All notable changes to this project will be documented in this file.

1.7.2 - 2026-04-09

💅 Code Refactorings

  • RectorErrorException: Improve method annotations and variable naming (d432500)

📦 Builds

  • dependencies: Update package versions in composer.json (6c684d3)
  • deps: Bump codecov/codecov-action from 5 to 6 (bf1123d)

🤖 Continuous Integrations

  • 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

✨ Features

  • deps: Add phpstan-rules and update existing dependencies (2e1f7a4)

🤖 Continuous Integrations

  • config: Update github config files (0ac5c1e)
  • config: Update config files (3bddc11)

1.7.0 - 2026-03-18

✨ Features

  • deps: Update dependencies for compatibility and improvements (1f5ced0)
  • proxy: Add AbstractProxyRector class to facilitate proxy rector creation (bd09d1e)

🐞 Bug Fixes

  • config: Add RemoveAnnotationRector rule with specific annotations (f3f9139)
  • proxy: Initialize RectorConfig in AbstractProxyRector constructor (7cae1bb)

💅 Code Refactorings

  • FuncCall: Update RenameAppFunctionToResolveFunctionRector (5e6c323)

📦 Builds

  • deps-dev: Update shipmonk/dead-code-detector requirement || ^0.15 (a4c4102)

Pull Requests

  • Merge pull request #2 from guanguans/dependabot/composer/shipmonk/dead-code-detector-tw-0.14or-tw-0.15

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 - 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 - 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 - 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 - 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 - 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 - 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 - 2026-01-19

✨ Features

  • set: Add PHPBENCH set configuration (5136cf1)

1.4.1 - 2026-01-19

🐞 Bug Fixes

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

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)

1.3.0 - 2026-01-14

✨ Features

  • array: Add SortListItemOfSameTypeRector for sorting array items (202e6e4)

🐞 Bug Fixes

  • array: Remove unnecessary Collection dependency and improve key check (7e70eef)

📖 Documents

  • README: Update usage example in README (0e00f3d)

💅 Code Refactorings

  • 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

✨ Features

  • exception: Add RectorError class for handling exceptions (d3db14f)

💅 Code Refactorings

  • RenameToPsrNameRector: Simplify renamer logic (a291079)
  • RenameToPsrNameRector: Simplify instance checks for UseItem (b9604e4)

1.2.0 - 2026-01-09

✨ Features

  • File: Add SortFuncDefinitionsRector (b8c3a1b)
  • config: Add configuration files for Rector rules (2a4c3bb)

💅 Code Refactorings

  • File: Improve sorting logic in SortFuncDefinitionsRector (83e9f8b)
  • RenameToPsrNameRector: Improve return logic for node processing (d199d62)

1.1.0 - 2026-01-07

✨ Features

  • File: Add SortFileNoinspectionDocblockRector (a52c37c)

💅 Code Refactorings

  • Declare: Rename AddNoinspectionDocblockToDeclareRector (6c95725)
  • UpdateRectorCodeSamplesFromFixturesRector: Improve scope handling (286baf0)

1.0.1 - 2026-01-06

✨ Features

  • Class: Add UpdateParameterTypeOfRectorRefactorMethodRector (e687de1)
  • Rector: Add UpdateCodeSamplesRector for code sample updates (d97c3dc)

💅 Code Refactorings

  • apply phpstan (1ba240e)
  • tests: Remove custom bootstrap and update test configuration (af219bf)
  • tests: Remove unused tests and simplify logic (b21d32f)

✅ Tests

  • rector: Add testing for rector (6d220c4)

1.0.0 - 2026-01-03

🎨 Styles

  • copyright: Update copyright years to 2025-2026 in headers and LICENSE (4e2c54f)

💅 Code Refactorings

  • 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)

✅ Tests

  • rules: Add RenameToPsrNameRector.php and associated tests (3514b1d)
  • rules: Add SimplifyListIndexRectorTest (0d42551)

📦 Builds

  • deps-dev: Update rector/jack requirement || ^0.5 (90cfd71)

Pull Requests

  • Merge pull request #1 from guanguans/dependabot/composer/rector/jack-tw-0.4or-tw-0.5