From 5d1e462518e4322bfd54e0815fd91a46aec01fa0 Mon Sep 17 00:00:00 2001 From: Dimitrios Pantazis Date: Thu, 23 Jan 2025 22:40:31 +0200 Subject: [PATCH] github servers are weak :P --- .github/workflows/phpstan.yml | 2 +- composer.json | 2 +- phpstan.neon.dist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 403f4c008..220d39388 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -44,4 +44,4 @@ jobs: # Run phpstan # ------------------------------------------------------------------------------ - name: Run phpstan - run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist --memory-limit=1024M --error-format=table + run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist --memory-limit=512M --error-format=table diff --git a/composer.json b/composer.json index 9e474c1ee..ce456f98e 100644 --- a/composer.json +++ b/composer.json @@ -95,7 +95,7 @@ "@php bin/pup.phar" ], "analyze": [ - "phpstan analyse -c phpstan.neon.dist --memory-limit=1024M" + "phpstan analyse -c phpstan.neon.dist --memory-limit=512M" ] }, "extra": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 5fb5614fd..a634444b7 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,7 +10,7 @@ includes: parameters: parallel: jobSize: 10 - maximumNumberOfProcesses: 32 + maximumNumberOfProcesses: 8 minimumNumberOfJobsPerProcess: 2 level: 5 inferPrivatePropertyTypeFromConstructor: true