Skip to content

Releases: guanguans/rector-rules

1.7.2

09 Apr 06:50

Choose a tag to compare

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

25 Mar 15:57

Choose a tag to compare

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

18 Mar 14:16

Choose a tag to compare

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

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)