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
When declaring a declare() block, phpstan loses references to class property instances. (See added snippet)
declare()
https://phpstan.org/r/0f14ff7b-ee3a-4273-a475-d7653f44517d
Expected error is " No Errors" see snippet
https://phpstan.org/r/4b53a9d4-def4-403b-b942-6c06b3285eac
Love your work Ondrej
The text was updated successfully, but these errors were encountered:
Hello, what is your reason to use declare(ticks=5) in your code?
declare(ticks=5)
Sorry, something went wrong.
It's for a long running process to send keep-alive so the connection doesn't time out
Fixed, thank you! phpstan/phpstan-src@eb39381
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
When declaring a
declare()
block, phpstan loses references to class property instances. (See added snippet)Code snippet that reproduces the problem
https://phpstan.org/r/0f14ff7b-ee3a-4273-a475-d7653f44517d
Expected output
Expected error is " No Errors" see snippet
https://phpstan.org/r/4b53a9d4-def4-403b-b942-6c06b3285eac
Did PHPStan help you today? Did it make you happy in any way?
Love your work Ondrej
The text was updated successfully, but these errors were encountered: