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?
to your account
No error should be reported.
The text was updated successfully, but these errors were encountered:
@dktapps After the latest commit in dev-master, PHPStan now reports different result with your code snippet:
+10: Property HelloWorld::$map is never read, only written.
13: Property HelloWorld::$map (SplObjectStorage<DateTime, DateTimeImmutable>|null) does not accept SplObjectStorage<object, mixed>.
Property HelloWorld::$map is never read, only written.
Sorry, something went wrong.
Use PhpStan level 6
New baseline errors are array types that I prefer to leave alone,
as well as one PhpStan bug:
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.
Successfully merging a pull request may close this issue.