From 0cae6772da2156819b94256ac896dfe9a2dc70dc Mon Sep 17 00:00:00 2001 From: andytson-inviqa Date: Fri, 13 May 2022 07:48:20 +0100 Subject: [PATCH] Update spryker phpstan for memory overuse fix (#703) --- .../application/skeleton/composer-harness.json.twig | 1 + src/spryker/application/skeleton/phpstan.neon | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/spryker/application/skeleton/composer-harness.json.twig b/src/spryker/application/skeleton/composer-harness.json.twig index d17d9d994..2fde4a7b2 100644 --- a/src/spryker/application/skeleton/composer-harness.json.twig +++ b/src/spryker/application/skeleton/composer-harness.json.twig @@ -20,6 +20,7 @@ "sensiolabs/behat-page-object-extension": "^2.3", "guzzlehttp/guzzle": "^6.3.0", "spryker/code-sniffer": "^0.15.9, !=0.17.7", + "spryker-sdk/phpstan-spryker": "^0.4.0", "symfony/browser-kit": "^5.1.8" }, "autoload-dev": { diff --git a/src/spryker/application/skeleton/phpstan.neon b/src/spryker/application/skeleton/phpstan.neon index 858671b1a..3a7d1502a 100644 --- a/src/spryker/application/skeleton/phpstan.neon +++ b/src/spryker/application/skeleton/phpstan.neon @@ -3,9 +3,10 @@ includes: - vendor/spryker-sdk/phpstan-spryker/extension.neon parameters: - excludes_analyse: - - %rootDir%/../../../src/Generated/* - - %rootDir%/../../../src/Orm/* + excludePaths: + analyse: + - %rootDir%/../../../src/Generated/* + - %rootDir%/../../../src/Orm/* bootstrapFiles: - %rootDir%/../../../phpstan-bootstrap.php