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

Upgrade phpstan and psalm #4419

Closed
wants to merge 1 commit into from
Closed

Upgrade phpstan and psalm #4419

wants to merge 1 commit into from

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Nov 11, 2020

#4403 for master

@@ -84,6 +84,10 @@ parameters:
message: '~^Parameter #1 \$expected of static method PHPUnit\\Framework\\Assert::assertInstanceOf\(\) expects class-string<Doctrine\\DBAL\\Connection&PHPUnit\\Framework\\MockObject\\MockObject>, class-string<Doctrine\\DBAL\\Connection>&class-string<PHPUnit\\Framework\\MockObject\\MockObject> given\.$~'
path: %currentWorkingDirectory%/tests/DriverManagerTest.php

-
Copy link
Member

@morozov morozov Nov 12, 2020

Choose a reason for hiding this comment

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

I'd file this an issue with PHPStan (see phpstan/phpstan-mockery#14 for the reference). iterator_to_array() obviously may produce side effects.

@morozov morozov closed this Nov 26, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants