diff --git a/composer.json b/composer.json index 929e6ae..724f188 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ }, "require-dev" : { "friendsofphp/php-cs-fixer": "2.18.0", - "phpstan/phpstan": "^0.12" + "phpstan/phpstan": "^1.2" }, "replace" : { "jeromeschneider/baikal" : "self.version" diff --git a/phpstan.neon b/phpstan.neon index 8adde37..3e9c422 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,6 @@ parameters: level: 0 - excludes_analyse: + excludePaths: - Core/Frameworks/BaikalAdmin/Resources/GlyphiconsPro/generate-sprite.php - Core/Resources/Web/BaikalAdmin/GlyphiconsPro/generate-sprite.php - html/res/core/BaikalAdmin/GlyphiconsPro/generate-sprite.php