|
16 | 16 | } |
17 | 17 | ], |
18 | 18 | "require": { |
19 | | - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", |
| 19 | + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", |
20 | 20 | "ext-intl": "*", |
21 | | - "remorhaz/php-json-data": "^0.6", |
22 | | - "remorhaz/php-json-pointer": "^0.7" |
| 21 | + "remorhaz/php-json-data": "^0.7", |
| 22 | + "remorhaz/php-json-pointer": "^0.7.1" |
23 | 23 | }, |
24 | 24 | "require-dev": { |
25 | | - "phpunit/phpunit": "^9.6.13 || ^10", |
26 | | - "infection/infection": "^0.26.19 || ^0.27.2", |
27 | | - "squizlabs/php_codesniffer": "^3.7.2" |
| 25 | + "bamarni/composer-bin-plugin": "^1.8.2", |
| 26 | + "phpunit/phpunit": "^10.1 || ^11" |
28 | 27 | }, |
29 | 28 | "autoload": { |
30 | 29 | "psr-4": { |
|
37 | 36 | } |
38 | 37 | }, |
39 | 38 | "scripts": { |
| 39 | + "post-update-cmd": ["@phive-install"], |
| 40 | + "post-install-cmd": ["@phive-install"], |
| 41 | + "phive-install": [ |
| 42 | + "`if [ -f tools/phive ]; then echo 'tools/'; fi`phive install --trust-gpg-keys C5095986493B4AA0" |
| 43 | + ], |
40 | 44 | "test-cs": [ |
41 | | - "vendor/bin/phpcs" |
| 45 | + "vendor-bin/cs/vendor/bin/phpcs -sp" |
42 | 46 | ], |
43 | 47 | "test-unit": [ |
44 | 48 | "vendor/bin/phpunit --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml" |
|
50 | 54 | "infection": [ |
51 | 55 | "@test-unit", |
52 | 56 | "mkdir -p build/logs/infection", |
53 | | - "vendor/bin/infection --threads=4 --coverage=build/logs --no-progress --skip-initial-tests" |
| 57 | + "tools/infection --threads=4 --coverage=build/logs --no-progress --skip-initial-tests" |
54 | 58 | ] |
55 | 59 | }, |
56 | 60 | "config": { |
57 | 61 | "allow-plugins": { |
58 | | - "infection/extension-installer": true |
| 62 | + "bamarni/composer-bin-plugin": true |
| 63 | + } |
| 64 | + }, |
| 65 | + "extra": { |
| 66 | + "bamarni-bin": { |
| 67 | + "bin-links": false, |
| 68 | + "forward-command": true |
59 | 69 | } |
60 | 70 | } |
61 | 71 | } |
0 commit comments