|
24 | 24 | "doctrine/lexer": "^3.0" |
25 | 25 | }, |
26 | 26 | "require-dev": { |
27 | | - "ext-pcov": "*", |
28 | 27 | "phpunit/phpunit": "^10.4", |
29 | 28 | "openlss/lib-array2xml": "^1.0", |
30 | | - "symfony/expression-language": "^2.3|^3.0|^4.0|^5.0|^6.0", |
31 | | - "symfony/cache": "^2.3|^3.0|^4.0|^5.0|^6.0", |
32 | | - "nikic/php-parser": "^4.18", |
33 | | - "symfony/var-exporter": "^2.3|^3.0|^4.0|^5.0|^6.0" |
| 29 | + "symfony/expression-language": "^5.4|^6.4|^7.0", |
| 30 | + "symfony/cache": "^5.4|^6.4", |
| 31 | + "nikic/php-parser": "^4.0", |
| 32 | + "symfony/var-exporter": "^5.4|^6.4|^7.0" |
34 | 33 | }, |
35 | 34 | "suggest": { |
36 | 35 | "openlss/lib-array2xml": "In order ot use Coduo\\PHPMatcher\\Matcher\\XmlMatcher", |
|
53 | 52 | "scripts": { |
54 | 53 | "benchmark": [ |
55 | 54 | "Composer\\Config::disableProcessTimeout", |
56 | | - "tools\/phpbench run --report=matcher" |
| 55 | + "tools\/phpbench\/vendor\/bin\/phpbench run --report=matcher" |
57 | 56 | ], |
58 | 57 | "build": [ |
59 | 58 | "@static:analyze", |
60 | 59 | "@test", |
61 | 60 | "@test:mutation" |
62 | 61 | ], |
63 | 62 | "cs:php:fix": [ |
64 | | - "tools\/vendor\/bin\/php-cs-fixer fix --using-cache=no" |
| 63 | + "tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --using-cache=no" |
65 | 64 | ], |
66 | 65 | "test" : [ |
67 | 66 | "vendor\/bin\/phpunit --coverage-html var/phpunit/coverage/html --coverage-filter src" |
68 | 67 | ], |
69 | 68 | "test:mutation": [ |
70 | 69 | "Composer\\Config::disableProcessTimeout", |
71 | | - "tools\/vendor\/bin\/infection" |
| 70 | + "tools\/infection\/vendor\/bin\/infection -j2" |
72 | 71 | ], |
73 | 72 | "static:analyze": [ |
74 | | - "tools\/vendor\/bin\/psalm --shepherd --stats", |
75 | | - "tools\/vendor\/bin\/phpstan analyze -c phpstan.neon", |
76 | | - "tools\/vendor\/bin\/php-cs-fixer fix --dry-run" |
| 73 | + "tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --dry-run", |
| 74 | + "tools\/psalm\/vendor\/bin\/psalm --shepherd --stats", |
| 75 | + "tools\/phpstan\/vendor\/bin\/phpstan analyze -c phpstan.neon" |
| 76 | + ], |
| 77 | + "tools:install": [ |
| 78 | + "composer install --working-dir=./tools/cs-fixer", |
| 79 | + "composer install --working-dir=./tools/infection", |
| 80 | + "composer install --working-dir=./tools/phpbench", |
| 81 | + "composer install --working-dir=./tools/phpstan", |
| 82 | + "composer install --working-dir=./tools/psalm" |
| 83 | + ], |
| 84 | + "tools:update": [ |
| 85 | + "composer update --working-dir=./tools/cs-fixer", |
| 86 | + "composer update --working-dir=./tools/infection", |
| 87 | + "composer update --working-dir=./tools/phpbench", |
| 88 | + "composer update --working-dir=./tools/phpstan", |
| 89 | + "composer update --working-dir=./tools/psalm" |
77 | 90 | ], |
78 | | - "tools:install": "composer install --working-dir=./tools", |
79 | 91 | "post-install-cmd": [ |
80 | 92 | "@tools:install" |
81 | 93 | ], |
82 | 94 | "post-update-cmd": [ |
83 | | - "@tools:install" |
| 95 | + "@tools:update" |
84 | 96 | ] |
85 | 97 | } |
86 | 98 | } |
0 commit comments