-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
Hi!
In CircleCI I've got this:
./vendor/bin/phpstan analyse src
298/335 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░] 88%
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /home/ubuntu/shippeo.sf/vendor/phpstan/phpstan/src/Reflection/Php/PhpMethodReflection.php on line 158
./vendor/bin/phpstan analyse src returned exit code 255
So I must launch differently with:
php -d memory_limit=-1 ./vendor/bin/phpstan analyse src
335/335 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
! [NOTE] PHPStan is performing only the most basic checks. You can pass a
! higher rule level through the --level option (the default and current
! level is 0) to analyse code more thoroughly.
What do you think to increase/bypass memory limit?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels