diff --git a/composer.json b/composer.json index 81e2540..b6dcc81 100644 --- a/composer.json +++ b/composer.json @@ -1,66 +1,69 @@ { - "name": "yoast/whip", - "description": "A WordPress package to nudge users to upgrade their software versions (starting with PHP)", - "type": "library", - "homepage": "https://github.com/Yoast/whip", - "license": "GPL-3.0-or-later", - "authors": [ - { - "name": "Team Yoast", - "email": "support@yoast.com" - } - ], - "support" : { - "issues": "https://github.com/Yoast/whip/issues", - "source": "https://github.com/Yoast/whip" - }, - "autoload": { - "files": [ - "src/facades/wordpress.php" - ], - "classmap": [ - "src/" - ] - }, - "autoload-dev": { - "classmap": [ - "tests/" - ] - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0", - "roave/security-advisories": "dev-master", - "yoast/yoastcs": "^2.3.0" - }, - "config": { - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "minimum-stability": "dev", - "prefer-stable": true, - "scripts": { - "lint": [ - "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git" - ], - "config-yoastcs" : [ - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run", - "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set default_standard Yoast" - ], - "check-cs": [ - "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.3-" - ], - "fix-cs": [ - "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf" - ], - "test": [ - "@php ./vendor/phpunit/phpunit/phpunit --no-coverage" - ], - "coverage": [ - "@php ./vendor/phpunit/phpunit/phpunit" - ] - } + "name": "yoast/whip", + "description": "A WordPress package to nudge users to upgrade their software versions (starting with PHP)", + "license": "GPL-3.0-or-later", + "type": "library", + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com" + } + ], + "homepage": "https://github.com/Yoast/whip", + "support": { + "issues": "https://github.com/Yoast/whip/issues", + "source": "https://github.com/Yoast/whip" + }, + "require": { + "php": ">=5.3" + }, + "require-dev": { + "phpunit/phpunit": "^4.5 || ^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "roave/security-advisories": "dev-master", + "yoast/yoastcs": "^2.3.0" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "classmap": [ + "src/" + ], + "files": [ + "src/facades/wordpress.php" + ] + }, + "autoload-dev": { + "classmap": [ + "tests/" + ] + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "scripts": { + "lint": [ + "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git" + ], + "check-cs": [ + "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.3-" + ], + "fix-cs": [ + "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf" + ], + "test": [ + "@php ./vendor/phpunit/phpunit/phpunit --no-coverage" + ], + "coverage": [ + "@php ./vendor/phpunit/phpunit/phpunit" + ] + }, + "scripts-descriptions": { + "lint": "Check the PHP files for parse errors.", + "check-cs": "Check the PHP files for code style violations and best practices.", + "fix-cs": "Auto-fix code style violations in the PHP files.", + "test": "Run the unit tests without code coverage.", + "coverage": "Run the unit tests with code coverage." + } }