Skip to content

Commit 174afe0

Browse files
committed
PHPStan: limit memory usage when running composer analyse
1 parent fb61258 commit 174afe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)