diff options
author | Jonathan Desrosiers <desrosj@git.wordpress.org> | 2019-09-25 14:01:51 +0000 |
---|---|---|
committer | Jonathan Desrosiers <desrosj@git.wordpress.org> | 2019-09-25 14:01:51 +0000 |
commit | 2dbc7e087fe0f876085a7d519d5dc261f1a7e2af (patch) | |
tree | 3cbab09dc3fccd9b7cf0487234ae236b2e932145 /composer.json | |
parent | 336960897d9be2efb22b0b57e9163922dd34deb9 (diff) | |
download | wordpress-2dbc7e087fe0f876085a7d519d5dc261f1a7e2af.tar.gz wordpress-2dbc7e087fe0f876085a7d519d5dc261f1a7e2af.zip |
Build/Test Tools: Move Composer script command line directives to the PHPCS ruleset.
Also, move all arguments up to the top of the custom ruleset to make it easier to understand the conditions the ruleset is run under.
Props desrosj, jrf.
See #46152.
git-svn-id: https://develop.svn.wordpress.org/trunk@46291 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 4 |
1 files changed, 2 insertions, 2 deletions
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" } } |