Skip to content

Commit

Permalink
Merge pull request #602 from stof/improve_phpstan
Browse files Browse the repository at this point in the history
Use PHP 8.2 to run phpstan
  • Loading branch information
stof committed Jun 20, 2023
2 parents 510207e + a326f33 commit b8c65e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
coverage: none
- name: Install dependencies
run: COMPOSER_ROOT_VERSION=dev-master composer update
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ parameters:
count: 1
path: src/Prophecy/Doubler/Doubler.php

-
message: "#^Call to an undefined method ReflectionClass\\<object\\>\\:\\:isReadOnly\\(\\)\\.$#"
count: 1
path: src/Prophecy/Doubler/Generator/ClassMirror.php

-
message: "#^Parameter \\#1 \\$classOrInterface of method Prophecy\\\\Prophet\\:\\:prophesize\\(\\) expects class\\-string\\<object\\>\\|null, string given\\.$#"
count: 1
Expand Down

0 comments on commit b8c65e1

Please sign in to comment.