Skip to content

Commit

Permalink
Composer: normalize the file
Browse files Browse the repository at this point in the history
Well, mostly (scripts are not alphabetized, but still grouped by task).

Note: this is done as a one-time only action. The normalize script will **_not_** be run in CI to enforce normalization.

Style has been standardized to `--indent-style=tab --indent-size=1`.

Ref: https://github.com/ergebnis/composer-normalize
  • Loading branch information
jrfnl committed Oct 6, 2023
1 parent 455a3dc commit 5ea2ecc
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
{
"name": "yoast/duplicate-post",
"description": "The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.",
"keywords": [
"wordpress",
"post",
"copy",
"clone"
],
"homepage": "https://wordpress.org/plugins/duplicate-post/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Enrico Battocchi & Team Yoast",
"email": "[email protected]",
"homepage": "https://yoast.com"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/Yoast/duplicate-post/issues",
"forum": "https://wordpress.org/support/plugin/duplicate-post",
"source": "https://github.com/Yoast/duplicate-post"
},
"require": {
"php": "^7.2.5 || ^8.0",
"composer/installers": "^1.12.0 || ^2.0"
},
"require-dev": {
"yoast/yoastcs": "^2.3.1",
"yoast/wp-test-utils": "^1.2.0",
"roave/security-advisories": "dev-master"
},
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"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"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"test-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist --no-coverage"
],
"coverage-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist"
],
"integration-test": [
"@test-wp"
],
"integration-coverage": [
"@coverage-wp"
]
},
"config": {
"classmap-authoritative": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
}
"name": "yoast/duplicate-post",
"description": "The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"post",
"copy",
"clone"
],
"authors": [
{
"name": "Enrico Battocchi & Team Yoast",
"email": "[email protected]",
"homepage": "https://yoast.com"
}
],
"homepage": "https://wordpress.org/plugins/duplicate-post/",
"support": {
"issues": "https://github.com/Yoast/duplicate-post/issues",
"forum": "https://wordpress.org/support/plugin/duplicate-post",
"source": "https://github.com/Yoast/duplicate-post"
},
"require": {
"php": "^7.2.5 || ^8.0",
"composer/installers": "^1.12.0 || ^2.0"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"yoast/wp-test-utils": "^1.2.0",
"yoast/yoastcs": "^2.3.1"
},
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
},
"classmap-authoritative": 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"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"test-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist --no-coverage"
],
"coverage-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist"
],
"integration-test": [
"@test-wp"
],
"integration-coverage": [
"@coverage-wp"
]
}
}

0 comments on commit 5ea2ecc

Please sign in to comment.