-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Some fixes from PHPStan l2 #7136
Conversation
Yeah, phpstan set the standard for inline IDE hints there (before, |
Hmm, there's already |
I don't really think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we enable L2 on Travis too now?
composer.lock
Outdated
@@ -294,12 +294,12 @@ | |||
"source": { | |||
"type": "git", | |||
"url": "https://github.com/doctrine/dbal.git", | |||
"reference": "3c0bad37f41182de2b49ce5c4f8935ae7d808c81" | |||
"reference": "e6e2eeab79a91c15be6431dcf334ea082b0f657b" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bump looks unrelated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I revert it?
Hate have .lock
versioned, always do that 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please: .lock
should not be randomly changed, or else we don't know why build-related deps crash our builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, yes.
You can use the following to ignore any changes to composer.lock
:
$ git update-index --assume-unchanged composer.lock
Then even if you run composer update
and update dependencies, git will ignore that. ;)
To revert & track changes:
$ git update-index --no-assume-unchanged composer.lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Majkl578 No, there're many errors to be fixed for l2 😢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I found an interesting one for our CS with this PR:
/cc @Majkl578 @kukulich