Skip to content

Commit

Permalink
Upgrade to PEST 3 for newer PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
otsch committed Oct 24, 2024
1 parent eac6e28 commit 8885e45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"phpstan/phpstan": "^1.8",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-parallel": "^1.2"
"pestphp/pest": "^2.0|^3.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ parameters:
paths:
- src
- tests
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- "#^Call to an undefined method Pest\\\\Expectation\\|Pest\\\\Support\\\\Extendable\\:\\:\\S+\\(\\)\\.$#"
- "#^Call to an undefined method Pest\\\\Expectation<Crwlr\\\\Url\\\\Url\\|null>\\:\\:query(String|Array)?\\(\\)\\.$#"
- "#^Call to protected method [a-zA-Z]{5,30}\\(\\) of class PHPUnit\\\\Framework\\\\TestCase.#"

0 comments on commit 8885e45

Please sign in to comment.