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

Improve static analysis #49

Merged
merged 5 commits into from
Jun 2, 2023
Merged

Improve static analysis #49

merged 5 commits into from
Jun 2, 2023

Conversation

stof
Copy link
Member

@stof stof commented Jun 2, 2023

This bumps phpstan to level 6 (from level 3) and psalm to level 4 (from level 7) by fixing the few issues (I actually worked on improving the phpstan level and then looked for the new psalm level that reports no errors for this PR).

Relates to #46

@stof stof added the CI Changes that affect the CI environment only label Jun 2, 2023
stof added 4 commits June 2, 2023 19:53
The returned mock is both a MockObject and a LoggerInterface. Due to the
min PHP version, we cannot use an intersection type. However, the caller
only cares about the LoggerInterface currently as the mock is entirely
configured in this method.
This field does not contain one of the type constants. It is actually an
int-mask of them.
@greg0ire greg0ire force-pushed the better_sa_config branch from bb52505 to f23167a Compare June 2, 2023 17:53
@greg0ire
Copy link
Member

greg0ire commented Jun 2, 2023

@stof I fixed the cs job

@greg0ire greg0ire added Static Analysis and removed CI Changes that affect the CI environment only labels Jun 2, 2023
@greg0ire
Copy link
Member

greg0ire commented Jun 2, 2023

Created a new "Static Analysis" label as well.

@greg0ire greg0ire added this to the v1.1.1 milestone Jun 2, 2023
@stof stof merged commit 5693c93 into doctrine:master Jun 2, 2023
@stof stof deleted the better_sa_config branch June 2, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants