diff --git a/phpcs-scan.php b/phpcs-scan.php index 2081d2d4e..582ed78fd 100644 --- a/phpcs-scan.php +++ b/phpcs-scan.php @@ -108,7 +108,7 @@ function vipgoci_phpcs_do_scan( * Feed PHPCS the temporary file specified by our caller. */ $cmd = sprintf( - '%s %s --severity=%s --report=%s', + '%s -d memory_limit=500M %s --severity=%s --report=%s', escapeshellcmd( $phpcs_php_path ), escapeshellcmd( $phpcs_path ), escapeshellarg( (string) $phpcs_severity ),