diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 53d4a161e5baa..cbe0f4b273219 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -57,8 +57,7 @@ jobs: - name: Run PHPStan id: phpstan run: | - php -i | grep max_execution_time - phpstan --debug -vvv analyse --error-format=checkstyle --memory-limit 7G -a build/phpstan/bootstrap_action.php -c phpstan.neon.dist | tee _stan.xml | cs2pr --graceful-warnings + phpstan -vvv analyse --error-format=checkstyle --memory-limit 7G -a build/phpstan/bootstrap_action.php | tee _stan.xml | cs2pr --graceful-warnings # continue-on-error: true # Save cache diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 7f82dc3c9c23f..4ee34775aa308 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,11 +1,12 @@ parameters: tmpDir: ./.github/tmp parallel: - jobSize: 8 + # Commented some of the settings: ci failed, disabling helped + # jobSize: 8 # default is 20 processTimeout: 600.0 - maximumNumberOfProcesses: 20 + # maximumNumberOfProcesses: 20 # default is 32 minimumNumberOfJobsPerProcess: 2 - buffer: 134217728 # 128 MB + # buffer: 134217728 # 128 MB # Not documented customRulesetUsed: true level: 2 fileExtensions: @@ -13,12 +14,12 @@ parameters: paths: - htdocs - scripts - # stubFiles: + stubFiles: # - dev/tools/phan/stubs/GeoIP2.php # - dev/tools/phan/stubs/geoip_inc.php - - dev/tools/phan/stubs/module_numberwords.php - - dev/tools/phan/stubs/restler.php - - dev/tools/phan/stubs/stripe.php + # - dev/tools/phan/stubs/module_numberwords.php + # - dev/tools/phan/stubs/restler.php + # - dev/tools/phan/stubs/stripe.php - dev/tools/phan/stubs/swiss-qr-bill.php excludePaths: analyseAndScan: