|
7 | 7 | |
8 | 8 | }], |
9 | 9 | "require": { |
10 | | - "squizlabs/php_codesniffer": "2.9.*", |
11 | | - "wimg/php-compatibility": "^8", |
12 | | - "simplyadmire/composer-plugins" : "@dev" |
| 10 | + "squizlabs/php_codesniffer": "^2.9.1", |
| 11 | + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", |
| 12 | + "phpcompatibility/phpcompatibility-wp": "^1" |
13 | 13 | }, |
14 | 14 | "require-dev": { |
15 | | - "wp-coding-standards/wpcs": "dev-master", |
16 | | - "neronmoon/scriptsdev": "^0.1.0" |
| 15 | + "wp-coding-standards/wpcs": "dev-master" |
17 | 16 | }, |
18 | 17 | "scripts": { |
19 | 18 | "post-update-cmd": [ |
20 | | - "cd php52; composer update; cd ..", |
21 | | - "vendor/bin/phpcs --config-set installed_paths ../../wimg/php-compatibility" |
| 19 | + "cd php52; composer update; cd .." |
22 | 20 | ], |
23 | 21 | "post-install-cmd": [ |
24 | | - "cd php52; composer install; cd ..", |
25 | | - "vendor/bin/phpcs --config-set installed_paths ../../wimg/php-compatibility" |
26 | | - ] |
27 | | - }, |
28 | | - "scripts-dev": { |
29 | | - "post-update-cmd": [ |
30 | | - "cd php52; composer update; cd ..", |
31 | | - "vendor/bin/phpcs --config-set installed_paths ../../wimg/php-compatibility,../../wp-coding-standards/wpcs" |
32 | | - ], |
33 | | - "post-install-cmd": [ |
34 | | - "cd php52; composer install; cd ..", |
35 | | - "vendor/bin/phpcs --config-set installed_paths ../../wimg/php-compatibility,../../wp-coding-standards/wpcs" |
| 22 | + "cd php52; composer install; cd .." |
36 | 23 | ] |
37 | 24 | } |
38 | 25 | } |
0 commit comments