Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deprecation] Add explicit warning to withPhpPolyfill() deprecated method + raise error on ->withPhpSets() miss-use on PHP 7.4- projects #6790

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Mar 20, 2025

These methods have been deprecated for couple months now, one raising warnings. Time to increase warning to exception to remove last couple of miss-use in configs 👍

Ref rectorphp/rector#8957

@TomasVotruba TomasVotruba changed the title tv newlines output warning [deprecation] Add explicit warning to withPhpPolyfill() deprecated method + raise error on ->withPhpSets() miss-use on older projects Mar 20, 2025
@TomasVotruba TomasVotruba changed the title [deprecation] Add explicit warning to withPhpPolyfill() deprecated method + raise error on ->withPhpSets() miss-use on older projects [deprecation] Add explicit warning to withPhpPolyfill() deprecated method + raise error on ->withPhpSets() miss-use on PHP 7.4- projects Mar 20, 2025
@TomasVotruba TomasVotruba force-pushed the tv-newlines-output-warning branch from 3e1c31f to 010730c Compare March 20, 2025 09:56
@TomasVotruba TomasVotruba merged commit b337d37 into main Mar 20, 2025
44 checks passed
@TomasVotruba TomasVotruba deleted the tv-newlines-output-warning branch March 20, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant