Skip to content

Remove deprecated withPhp53Sets() ... withPhp74Sets() methods - #8798

Merged
TomasVotruba merged 2 commits into
mainfrom
tv-remove-php-sets-deprecation
Oct 24, 2026
Merged

TomasVotruba merged 2 commits into
mainfrom
tv-remove-php-sets-deprecation

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

These builder methods have been deprecated and no longer apply any sets - they only reported a deprecation warning. Use ->withPhpLevel() instead, which raises the PHP level one rule at a time.

Removes the full chain:

  • withPhp53Sets() ... withPhp74Sets() on RectorConfigBuilder
  • private reportDeprecatedPhpSetsMethod() helper
  • Option::DEPRECATED_PHP_SETS_METHODS and its reporter plumbing (DeprecatedRulesReporter::reportDeprecatedPhpSetsMethods() + command callers)

@TomasVotruba
TomasVotruba force-pushed the tv-remove-php-sets-deprecation branch from a2bf904 to f12d089 Compare October 23, 2026 23:20
@TomasVotruba
TomasVotruba merged commit 9a0df9e into main Oct 24, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-remove-php-sets-deprecation branch October 24, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants