テストでメモリが足りなくなる場合にテストの際のみメモリ制限を増やす。

PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted

-d key[=value] Sets a php.ini value.

vendor/bin/phpunit -d memory_limit=512M
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.