Skip to content

Commit abb4014

Browse files
committed
PHPStan: limit memory usage when running composer analyse
1 parent ef3349e commit abb4014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lock": false
3434
},
3535
"scripts": {
36-
"analyse": "@php ./vendor/bin/phpstan analyse",
36+
"analyse": "@php ./vendor/bin/phpstan analyse --memory-limit=4G",
3737
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
3838
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
3939
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",

0 commit comments

Comments
 (0)