Skip to content

Commit

Permalink
Merge pull request #137 from Yoast/JRF/composer-tweaks
Browse files Browse the repository at this point in the history
Composer: various tweaks
  • Loading branch information
jrfnl authored Sep 26, 2023
2 parents af7ce84 + db22daa commit 09d7a2d
Showing 1 changed file with 67 additions and 64 deletions.
131 changes: 67 additions & 64 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
}
],
"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": "[email protected]"
}
],
"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."
}
}

0 comments on commit 09d7a2d

Please sign in to comment.