|
28 | 28 | }, |
29 | 29 | "require-dev": { |
30 | 30 | "ext-bcmath": "*", |
31 | | - "ext-pcov": "*", |
32 | 31 | "flow-php/etl": "^0.1", |
33 | 32 | "flow-php/etl-adapter-http": "^0.1 || ^0.2", |
34 | 33 | "google/apiclient": "^2.0", |
|
96 | 95 | "scripts": { |
97 | 96 | "benchmark": [ |
98 | 97 | "Composer\\Config::disableProcessTimeout", |
99 | | - "tools/vendor/bin/phpbench run --report=aeon" |
| 98 | + "tools/phpbench/vendor/bin/phpbench run --report=aeon" |
100 | 99 | ], |
101 | 100 | "build": [ |
102 | 101 | "@static:analyze", |
103 | 102 | "@test", |
104 | 103 | "@test:mutation" |
105 | 104 | ], |
106 | 105 | "test": [ |
107 | | - "tools/vendor/bin/phpunit" |
| 106 | + "tools/phpunit/vendor/bin/phpunit --coverage-html=./var/phpunit/coverage/html" |
108 | 107 | ], |
109 | 108 | "test:mutation": [ |
110 | 109 | "Composer\\Config::disableProcessTimeout", |
111 | | - "tools/vendor/bin/infection --threads=max" |
| 110 | + "tools/infection/vendor/bin/infection --threads=max" |
112 | 111 | ], |
113 | 112 | "static:analyze": [ |
114 | | - "tools/vendor/bin/phpstan analyze -c phpstan.neon --memory-limit=-1", |
115 | | - "tools/vendor/bin/php-cs-fixer fix --dry-run" |
| 113 | + "tools/phpstan/vendor/bin/phpstan analyze -c phpstan.neon --memory-limit=-1", |
| 114 | + "tools/cs-fixer/vendor/bin/php-cs-fixer fix --dry-run" |
116 | 115 | ], |
117 | | - "monorepo:validate": "tools/vendor/bin/monorepo-builder validate", |
118 | | - "cs:php:fix": "tools/vendor/bin/php-cs-fixer fix", |
119 | | - "tools:install": "composer install --working-dir=./tools", |
| 116 | + "monorepo:validate": "tools/monorepo/vendor/bin/monorepo-builder validate", |
| 117 | + "cs:php:fix": "tools/cs-fixer/vendor/bin/php-cs-fixer fix", |
120 | 118 | "post-install-cmd": [ |
121 | 119 | "@tools:install" |
122 | 120 | ], |
123 | 121 | "post-update-cmd": [ |
124 | 122 | "@tools:install" |
| 123 | + ], |
| 124 | + "tools:install": [ |
| 125 | + "composer install --working-dir=./tools/cs-fixer", |
| 126 | + "composer install --working-dir=./tools/infection", |
| 127 | + "composer install --working-dir=./tools/monorepo", |
| 128 | + "composer install --working-dir=./tools/phpbench", |
| 129 | + "composer install --working-dir=./tools/phpstan", |
| 130 | + "composer install --working-dir=./tools/phpunit" |
| 131 | + ], |
| 132 | + "tools:update": [ |
| 133 | + "composer update --working-dir=./tools/cs-fixer", |
| 134 | + "composer update --working-dir=./tools/infection", |
| 135 | + "composer update --working-dir=./tools/monorepo", |
| 136 | + "composer update --working-dir=./tools/phpbench", |
| 137 | + "composer update --working-dir=./tools/phpstan", |
| 138 | + "composer update --working-dir=./tools/phpunit" |
125 | 139 | ] |
126 | 140 | }, |
127 | 141 | "replace": { |
|
0 commit comments