-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
Description
root@31bcaa931dd2:/web/backend# ls -1 | grep vendor
vendor
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend# XDEBUG_MODE=off ./vendor/bin/phpcs --version
PHP_CodeSniffer version 3.11.3 (stable) by Squiz and PHPCSStandards
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend# XDEBUG_MODE=off ./vendor/bin/phpcs -s -p -n --ignore=vendor .
EEEEEEEEEEEEEEEEEEEEEEEEEEE
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /web/backend/vendor/squizlabs/php_codesniffer/src/Tokenizers/PHP.php on line 2389
The PHP_CodeSniffer "phpcs" command ran out of memory.
Either raise the "memory_limit" of PHP in the php.ini file or raise the memory limit at runtime
using `phpcs -d memory_limit=512M` (replace 512M with the desired memory limit).
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend#
root@31bcaa931dd2:/web/backend# XDEBUG_MODE=off ./vendor/bin/phpcs -s -p -n --ignore=*/vendor/* .
EEEEEEEEEEEEEEEEEEEEEEEEEEE
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /web/backend/vendor/squizlabs/php_codesniffer/src/Tokenizers/PHP.php on line 2383
The PHP_CodeSniffer "phpcs" command ran out of memory.
Either raise the "memory_limit" of PHP in the php.ini file or raise the memory limit at runtime
using `phpcs -d memory_limit=512M` (replace 512M with the desired memory limit)
See also https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders