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

Implement CallWithDeprecatedIniOptionRule #120

Merged
merged 6 commits into from
Nov 28, 2024
Merged

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Nov 28, 2024

closes #119

list of deprecated options taken from https://www.php.net/manual/en/ini.list.php

@staabm staabm marked this pull request as ready for review November 28, 2024 15:37
rules.neon Outdated
@@ -22,6 +22,7 @@ rules:
- PHPStan\Rules\Deprecations\CallToDeprecatedFunctionRule
- PHPStan\Rules\Deprecations\CallToDeprecatedMethodRule
- PHPStan\Rules\Deprecations\CallToDeprecatedStaticMethodRule
- PHPStan\Rules\Deprecations\CallWithDeprecatedIniOptionRule
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be in bleeding edge.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ondrejmirtes ondrejmirtes merged commit 1cc1259 into phpstan:2.0.x Nov 28, 2024
31 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the depr branch November 28, 2024 21: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.

Deprecated php.ini access should be reported
2 participants