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
On PHP 8.2, when a dynamic property is documented in an interface @property annotation, an Internal Error is thrown. This is not an issue on PHP 8.0 and 8.1.
@property
Internal Error
Could be related to #8496
https://phpstan.org/r/df80074b-b8c9-41be-a40d-cc160cb1cbbb
Result in :
Internal error: Property $x was not found in reflection of class SampleInterface.
No errors!
Or same output as when @proprety is added to the class directly : https://phpstan.org/r/c3ae63ea-3ea4-4760-a367-98e03caf4ddd
@proprety
The text was updated successfully, but these errors were encountered:
Fixed: phpstan/phpstan-src@4025209
Thank you!
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Bug report
On PHP 8.2, when a dynamic property is documented in an interface
@property
annotation, anInternal Error
is thrown. This is not an issue on PHP 8.0 and 8.1.Could be related to #8496
Code snippet that reproduces the problem
https://phpstan.org/r/df80074b-b8c9-41be-a40d-cc160cb1cbbb
Result in :
Expected output
No errors!
Or same output as when
@proprety
is added to the class directly : https://phpstan.org/r/c3ae63ea-3ea4-4760-a367-98e03caf4dddDid PHPStan help you today? Did it make you happy in any way?
The text was updated successfully, but these errors were encountered: