Skip to content
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

Fix PHPStan issues #2407

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Fix PHPStan issues #2407

merged 1 commit into from
Feb 15, 2022

Conversation

franmomu
Copy link
Contributor

Q A
Type task
BC Break no
Fixed issues

Summary

It's nice to see some ignored errors go :)

@@ -37,10 +37,10 @@ class GraphLookup extends Stage
/** @var string */
private $as;

/** @var int */
/** @var int|null */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at a glance fields above should get |null as well, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, I have to try to keep increasing static analysis level when I find some time

@malarzm malarzm added the Task label Feb 15, 2022
@malarzm malarzm added this to the 2.3.2 milestone Feb 15, 2022
@malarzm malarzm merged commit 87f0c64 into doctrine:2.3.x Feb 15, 2022
@malarzm
Copy link
Member

malarzm commented Feb 15, 2022

Thanks @franmomu!

@franmomu franmomu deleted the fix_sa_issues branch February 15, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants