-
Notifications
You must be signed in to change notification settings - Fork 660
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
PHP 8.0+ "final private" functions should give error #8374
Labels
Comments
I found these snippets: https://psalm.dev/r/ee7881fa31<?php
class Foo {
/**
* @return void
*/
final private function bar() {}
}
$data = new Foo();
|
25 tasks
8.0 actually: https://3v4l.org/puSnk |
kkmuffme
changed the title
PHP8.1 "final private" functions should give error
PHP 8.0+ "final private" functions should give error
Aug 5, 2022
Constructor should be allowed to be declared |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: