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/e70fe01aff
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php class a { private function __clone() {} } class b extends a {} clone new a; clone new b;
Psalm output (using commit 028ac7f): ERROR: InvalidClone - 5:1 - Cannot clone a
Sorry, something went wrong.
Interestingly, it works fine with __construct: https://psalm.dev/r/705945b4f6
I guess it's just missing a few checks somewhere
<?php class a { private function __construct() {} } class b extends a {} new a; new b;
Psalm output (using commit eb6a347): ERROR: InaccessibleMethod - 5:1 - Cannot access private method a::__construct from context ERROR: InaccessibleMethod - 6:1 - Cannot access private method a::__construct from context
Fix vimeo#8569
3ac0bce
Merge pull request #8570 from Nicelocal/fix_8569
bb9aabe
Fix #8569
113b78d
No branches or pull requests
https://psalm.dev/r/e70fe01aff
The text was updated successfully, but these errors were encountered: