Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR aim to accomplish?:
We've been using
phpstan
natively in our github workflows. In order to make it work, we needed to set a fixedphp
version (introduced by #2007). This broke recently, asubuntu-latest
as GH runner updated to22.04
which ships withphp 8.1
instead of8.0
.To avoid using updating the action with every new
ubuntu
release, I switched the workflow to use thisphpstan
action:https://github.com/php-actions/phpstan
It will continue to use our configuration at
phpstan.neon.dist
. The optionexcludes_analyse
is deprecated and replaced withexcludePaths
.Side note: I updated the
phpstan
version incomposer.json
from^0.12.42
to^1*
. Thecomposer.lock
is not updated yet, but I'll addcomposer
as environment todependabot
so it should update this as well in the next run.By submitting this pull request, I confirm the following:
git rebase
)