diff --git a/composer.json b/composer.json index 1e0a2b383f..3b41e26efc 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,8 @@ }, "scripts": { "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", - "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source --cache -d memory_limit=256M", - "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source --cache -d memory_limit=256M", + "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source", + "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source", "lint:errors": "@lint -n" } } diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 82f21d12c2..4c9720b8ab 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -2,6 +2,29 @@ Apply WordPress Coding Standards to all Core files + + + + + + + + + + + + + + + + + + + . + @@ -76,19 +99,6 @@ - - - - - - - - - - - - . - ^build/*