We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://psalm.dev/r/ee7881fa31?php=8.1
"final private" functions should give error
https://php.watch/versions/8.0/final-private-function#final-private
Related #7668 #7666
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php class Foo { /** * @return void */ final private function bar() {} } $data = new Foo();
Psalm output (using commit ffc8c80): INFO: UnusedVariable - 10:1 - $data is never referenced or the value is not used
Sorry, something went wrong.
8.0 actually: https://3v4l.org/puSnk
Constructor should be allowed to be declared final private though: https://3v4l.org/iErYc
final private
Forbid private final methods
98d96fb
Fixes vimeo#8374
Successfully merging a pull request may close this issue.
https://psalm.dev/r/ee7881fa31?php=8.1
"final private" functions should give error
https://php.watch/versions/8.0/final-private-function#final-private
Related #7668 #7666
The text was updated successfully, but these errors were encountered: