Make WordPress Core

Ticket #47853: 47853.2.diff

File 47853.2.diff, 806 bytes (added by dingo_d, 5 years ago)

Fix the review comments

  • composer.json

    diff --git a/composer.json b/composer.json
    index c795607093..2020779623 100644
    a b  
    1414                "wp-coding-standards/wpcs": "~2.1.0"
    1515        },
    1616        "scripts": {
    17                 "format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M",
    18                 "lint": "phpcs --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M",
    19                 "lint:errors": "phpcs --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M -n"
     17                "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source --cache -d memory_limit=256M",
     18                "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source --cache -d memory_limit=256M",
     19                "lint:errors": "@lint -n"
    2020        }
    2121}