WordPress.org

Make WordPress Core

Ticket #46815: 46815.5.diff

File 46815.5.diff, 678 bytes (added by welcher, 2 years ago)
  • composer.json

    diff --git composer.json composer.json
    index ccc0e2a796..8fc78aec0d 100644
     
    1414        },
    1515        "require-dev": {
    1616                "dealerdirect/phpcodesniffer-composer-installer": "~0.5.0",
    17                 "wp-coding-standards/wpcs": "~2.1.0"
     17                "wp-coding-standards/wpcs": "~2.1.0",
     18                "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0"
    1819        },
    1920        "scripts": {
    2021                "format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source --cache -d memory_limit=256M",
    2122                "lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source --cache -d memory_limit=256M",
     23                "unit-tests": "./vendor/bin/phpunit",
    2224                "lint:errors": "@lint -n"
    2325        }
    2426}