-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from Yoast/JRF/composer-tweaks
Composer: various tweaks
- Loading branch information
Showing
1 changed file
with
67 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} |