diff --git a/composer.json b/composer.json index b8430e9..7531d6d 100644 --- a/composer.json +++ b/composer.json @@ -35,8 +35,8 @@ } }, "scripts": { - "phpstan": "phpstan analyze", - "tests": "tester ./tests/test.php && phpstan analyze" + "phpstan": "phpstan analyze -c phpstan.neon", + "tests": "tester ./tests/test.php && phpstan analyze -c phpstan.neon" }, "config": { "allow-plugins": { diff --git a/tests/config.neon b/tests/config.neon index 2fca653..42a002d 100644 --- a/tests/config.neon +++ b/tests/config.neon @@ -1,6 +1,8 @@ parameters: scanDirectories: - %rootDir%/../../../tests/testbox + paths: + - ../src services: errorFormatter.rawSimple: