You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running composer static-analysis with default config throws an error:
> phpstan analyse
Note: Using configuration file /var/www/admin.dotkernel.localhost/html/phpstan.neon.
170/170 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
-- ---------------------------------------------------------------------------------------------------
Error
-- ---------------------------------------------------------------------------------------------------
Child process error: PHPStan process crashed because it reached configured PHP memory limit: 128M
Increase your memory limit in php.ini or run PHPStan with --memory-limit CLI option.
while running parallel worker
-- ---------------------------------------------------------------------------------------------------
[ERROR] Found 1 error
⚠️ Result is incomplete because of severe errors. ⚠️
Fix these errors first and then re-run PHPStan
to get all reported errors.
Script phpstan analyse handling the static-analysis event returned with error code 1
Q
A
Version(s)
x.y.z
Summary
Running PHPStan check with 128M of memory will run out of memory.
We should increase memory_limit to 256M - best place for this is probably in the composer command.
Current behavior
With the default memory_limit=128M on our WSL containers, PHPStan runs out of memory.
How to reproduce
Run the command composer static-analysis
Expected behavior
PHPStan needs to finish the analysis without running out of memory.
The text was updated successfully, but these errors were encountered:
Bug Report
Running
composer static-analysis
with default config throws an error:Summary
Running PHPStan check with 128M of memory will run out of memory.
We should increase memory_limit to 256M - best place for this is probably in the composer command.
Current behavior
With the default
memory_limit=128M
on our WSL containers, PHPStan runs out of memory.How to reproduce
Run the command
composer static-analysis
Expected behavior
PHPStan needs to finish the analysis without running out of memory.
The text was updated successfully, but these errors were encountered: