Make WordPress Core

Changeset 46291 for trunk/composer.json


Ignore:
Timestamp:
09/25/2019 02:01:51 PM (5 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r46290 r46291  
    2020    "scripts": {
    2121        "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
    22         "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source --cache -d memory_limit=256M",
    23         "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source --cache -d memory_limit=256M",
     22        "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
     23        "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
    2424        "lint:errors": "@lint -n"
    2525    }
Note: See TracChangeset for help on using the changeset viewer.