diff --git a/composer.json b/composer.json index d857acd..2de60c9 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpstan.neon b/phpstan.neon index a5349ed..a6cefe9 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -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\\:\\:query(String|Array)?\\(\\)\\.$#" + - "#^Call to protected method [a-zA-Z]{5,30}\\(\\) of class PHPUnit\\\\Framework\\\\TestCase.#"