|
9 | 9 | "php": ">=5.3"
|
10 | 10 | },
|
11 | 11 | "require-dev": {
|
12 |
| - "brainmaestro/composer-git-hooks": "^2.6.0", |
| 12 | + "brainmaestro/composer-git-hooks": "^2.6.0", |
13 | 13 | "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
|
14 | 14 | "firebase/php-jwt": "^5.0",
|
15 | 15 | "phpcompatibility/phpcompatibility-wp": "*",
|
16 |
| - "php-coveralls/php-coveralls": "^2.1", |
| 16 | + "php-coveralls/php-coveralls": "^2.1", |
17 | 17 | "slowprog/composer-copy-file": "0.2.1",
|
18 | 18 | "wp-coding-standards/wpcs": "*",
|
19 | 19 | "xwp/wp-dev-lib": "^1.0.0"
|
|
22 | 22 | "phpcs": [
|
23 | 23 | "./vendor/bin/phpcs ${1:.} --standard=.phpcs.ruleset.xml"
|
24 | 24 | ],
|
25 |
| - "phpcbf": [ |
26 |
| - "./vendor/bin/phpcbf ${1:.} --standard=.phpcs.ruleset.xml" |
27 |
| - ], |
| 25 | + "phpcbf": [ |
| 26 | + "./vendor/bin/phpcbf ${1:.} --standard=.phpcs.ruleset.xml" |
| 27 | + ], |
28 | 28 | "phpunit": [
|
29 | 29 | "./bin/phpunit.sh xdebug_off"
|
30 | 30 | ],
|
31 | 31 | "phpunit-coverage": [
|
32 | 32 | "./bin/phpunit.sh xdebug_on"
|
33 | 33 | ],
|
34 |
| - "post-install-cmd": [ |
35 |
| - "./bin/install-tests.sh", |
36 |
| - "./vendor/bin/cghooks add --no-lock", |
37 |
| - "SlowProg\\CopyFile\\ScriptHandler::copy" |
38 |
| - ], |
39 |
| - "post-update-cmd": [ |
40 |
| - "./bin/install-tests.sh", |
41 |
| - "./vendor/bin/cghooks update", |
42 |
| - "SlowProg\\CopyFile\\ScriptHandler::copy" |
43 |
| - ], |
44 |
| - "readme": [ |
45 |
| - "./vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme" |
46 |
| - ] |
| 34 | + "post-install-cmd": [ |
| 35 | + "./bin/install-tests.sh", |
| 36 | + "./vendor/bin/cghooks add --no-lock", |
| 37 | + "SlowProg\\CopyFile\\ScriptHandler::copy" |
| 38 | + ], |
| 39 | + "post-update-cmd": [ |
| 40 | + "./bin/install-tests.sh", |
| 41 | + "./vendor/bin/cghooks update", |
| 42 | + "SlowProg\\CopyFile\\ScriptHandler::copy" |
| 43 | + ], |
| 44 | + "readme": [ |
| 45 | + "./vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme" |
| 46 | + ] |
47 | 47 | },
|
48 | 48 | "extra": {
|
49 | 49 | "copy-file": {
|
50 | 50 | "tests/autoload.php": "tests/wp-tests/phpunit/wp-tests-config.php",
|
51 | 51 | "vendor/firebase/php-jwt/src/": "wp-includes/rest-api/auth/jwt/"
|
52 | 52 | },
|
53 |
| - "hooks": { |
54 |
| - "pre-commit": "./vendor/xwp/wp-dev-lib/scripts/pre-commit" |
55 |
| - } |
| 53 | + "hooks": { |
| 54 | + "pre-commit": "./vendor/xwp/wp-dev-lib/scripts/pre-commit" |
| 55 | + } |
56 | 56 | }
|
57 | 57 | }
|
0 commit comments