|
78 | 78 | "spatie/pest-plugin-snapshots": "^2.2", |
79 | 79 | "spaze/phpstan-disallowed-calls": "^4.7", |
80 | 80 | "staabm/phpstan-todo-by": "^0.3", |
81 | | - "symfony/polyfill-php82": "^1.33", |
82 | 81 | "symfony/thanks": "^1.4", |
83 | 82 | "symfony/var-dumper": "^6.4 || ^7.0 || ^8.0", |
84 | 83 | "symplify/phpstan-rules": "^14.9", |
|
87 | 86 | "tomasvotruba/type-coverage": "^2.0", |
88 | 87 | "yamadashy/phpstan-friendly-formatter": "^1.2" |
89 | 88 | }, |
| 89 | + "conflict": { |
| 90 | + "pestphp/pest": "^4.0", |
| 91 | + "symplify/monorepo-builder": "^12.0" |
| 92 | + }, |
90 | 93 | "suggest": { |
91 | 94 | "symfony/var-dumper": "Required to use the the trait [WithDumpable]." |
92 | 95 | }, |
|
140 | 143 | }, |
141 | 144 | "hooks": { |
142 | 145 | "post-merge": [ |
143 | | - "composer install --ansi -v", |
| 146 | + "composer install --ansi -vv", |
144 | 147 | "composer checks:required" |
145 | 148 | ], |
146 | 149 | "pre-commit": [ |
|
150 | 153 | }, |
151 | 154 | "scripts": { |
152 | 155 | "post-install-cmd": [ |
153 | | - "@cghooks:upsert" |
| 156 | + "@cghooks:upsert", |
| 157 | + "@composer:normalize" |
154 | 158 | ], |
155 | 159 | "post-update-cmd": [ |
156 | | - "@cghooks:upsert" |
| 160 | + "@cghooks:upsert", |
| 161 | + "@composer:normalize" |
157 | 162 | ], |
158 | 163 | "actionlint": [ |
159 | 164 | "if ! command -v actionlint >/dev/null 2>&1; then echo 'actionlint not found, installing...'; brew install actionlint; fi", |
|
162 | 167 | "blade-formatter": "blade-formatter resources/views/*.blade.php resources/views/**/*.blade.php --ignore-path= --php-version=8.1 --progress", |
163 | 168 | "blade-formatter:check-formatted": "@blade-formatter --check-formatted", |
164 | 169 | "blade-formatter:write": "@blade-formatter --write", |
165 | | - "cghooks": "@php vendor/bin/cghooks --ansi -v", |
| 170 | + "cghooks": "@php vendor/bin/cghooks --ansi -vv", |
166 | 171 | "cghooks:remove": [ |
167 | 172 | "@php -r \"file_exists('.git/hooks/post-merge') and rename('.git/hooks/post-merge', '.git/hooks/post-merge.sample');\"", |
168 | 173 | "@php -r \"file_exists('.git/hooks/pre-commit') and rename('.git/hooks/pre-commit', '.git/hooks/pre-commit.sample');\"" |
169 | 174 | ], |
170 | 175 | "cghooks:try": [ |
171 | 176 | "@putenv:php", |
172 | | - "[ ! -f \"vendor/bin/cghooks\" ] && exit 0 || $PHP81 vendor/bin/cghooks --ansi -v" |
| 177 | + "[ ! -f \"vendor/bin/cghooks\" ] && exit 0 || $PHP81 vendor/bin/cghooks --ansi -vv" |
173 | 178 | ], |
174 | 179 | "cghooks:upsert": [ |
175 | 180 | "@cghooks add --ignore-lock", |
|
206 | 211 | "@putenv:xdebug-off", |
207 | 212 | "@composer:normalize-dry-run", |
208 | 213 | "@composer-dependency-analyser", |
209 | | - "@php-cs-fixer:fix-dry-run", |
| 214 | + "@php-cs-fixer:fix-dry-run-stop-on-violation", |
210 | 215 | "@soar:check-binary", |
211 | 216 | "@soar:dump-config", |
212 | 217 | "@pest:bail", |
213 | 218 | "@rector:process-dry-run", |
214 | 219 | "@phpstan:analyse" |
215 | 220 | ], |
216 | | - "class-leak": "@php vendor/bin/class-leak --ansi -v", |
| 221 | + "class-leak": "@php vendor/bin/class-leak --ansi -vv", |
217 | 222 | "class-leak:check": "@class-leak check examples/ src/ --skip-type=\\Contracts\\Channel --skip-suffix=Channel --skip-path=Support/Rectors/", |
218 | 223 | "composer-bump": [ |
219 | 224 | "@putenv:php", |
|
227 | 232 | "@composer-bump:vendor-bin-php82" |
228 | 233 | ], |
229 | 234 | "composer-bump:vendor-bin-common": [ |
| 235 | + "@putenv:php", |
230 | 236 | "ln -f composer-bump vendor-bin/common/composer-bump", |
231 | | - "cd vendor-bin/common/", |
232 | | - "@composer-bump" |
| 237 | + "@php vendor-bin/common/composer-bump --highest-php-binary=$PHP85 --ansi" |
233 | 238 | ], |
234 | 239 | "composer-bump:vendor-bin-php82": [ |
235 | 240 | "@putenv:php", |
236 | 241 | "ln -f composer-bump vendor-bin/php82/composer-bump", |
237 | | - "cd vendor-bin/php82/", |
238 | | - "$PHP82 composer-bump --highest-php-binary=$PHP85 --ansi -v" |
| 242 | + "$PHP82 vendor-bin/php82/composer-bump --php-binary=$PHP82 --highest-php-binary=$PHP85 --ansi" |
239 | 243 | ], |
240 | 244 | "composer-config:disable-process-timeout": "Composer\\Config::disableProcessTimeout", |
241 | 245 | "composer-dependency-analyser": "@php vendor/bin/composer-dependency-analyser --verbose", |
242 | | - "composer:audit": "@composer audit --ansi -v", |
243 | | - "composer:bin-all-update": "@composer bin all update --ansi -v", |
244 | | - "composer:check-platform-reqs": "@composer check-platform-reqs --lock --ansi -v", |
245 | | - "composer:diff": "@composer diff --with-platform --ansi -v", |
246 | | - "composer:normalize": "@composer normalize --diff --ansi -v", |
| 246 | + "composer:audit": "@composer audit --ansi -vv", |
| 247 | + "composer:bin-all-update": "@composer bin all update --ansi -vv", |
| 248 | + "composer:check-platform-reqs": "@composer check-platform-reqs --lock --ansi -vv", |
| 249 | + "composer:diff": "@composer diff --with-platform --ansi -vv", |
| 250 | + "composer:normalize": "@composer normalize --diff --ansi -vv", |
247 | 251 | "composer:normalize-dry-run": "@composer:normalize --dry-run", |
248 | | - "composer:validate": "@composer validate --check-lock --strict --ansi -v", |
| 252 | + "composer:validate": "@composer validate --check-lock --strict --ansi -vv", |
249 | 253 | "detect-collisions": "@php vendor/bin/detect-collisions examples/ src/", |
250 | 254 | "facade:lint": "@facade:update --lint", |
251 | 255 | "facade:update": "@php -f vendor/bin/facade.php -- Guanguans\\\\SoarPHP\\\\Facades\\\\SoarPHP", |
252 | 256 | "git-chglog": "git-chglog $(git describe --tags $(git rev-list --tags --max-count=1))", |
253 | 257 | "gitleaks": "gitleaks git --baseline-path=gitleaks-baseline.json --report-path=.build/gitleaks-report.json -v", |
254 | 258 | "gitleaks:generate-baseline": "gitleaks git --report-path=gitleaks-baseline.json -v", |
255 | | - "grumphp": "@php vendor/bin/grumphp run --ansi -v", |
256 | | - "jack": "@php vendor/bin/jack --ansi -v", |
| 259 | + "grumphp": "@php vendor/bin/grumphp run --ansi -vv", |
| 260 | + "jack": "@php vendor/bin/jack --ansi -vv", |
257 | 261 | "jack:breakpoint": "@jack breakpoint --limit=5", |
258 | 262 | "jack:breakpoint-dev": "@jack:breakpoint --dev", |
259 | 263 | "jack:open-versions": "@jack open-versions --limit=99", |
|
278 | 282 | "mago:lint-dry-run": "@mago:lint --dry-run", |
279 | 283 | "mago:lint-list-rules": "@mago lint --list-rules", |
280 | 284 | "mago:lint-semantics-only": "@mago lint --semantics-only", |
281 | | - "monorepo-builder": [ |
282 | | - "@putenv:php", |
283 | | - "$PHP82 vendor/bin/monorepo-builder --ansi -v" |
284 | | - ], |
| 285 | + "monorepo-builder": "@php vendor/bin/monorepo-builder --ansi -vv", |
285 | 286 | "monorepo-builder:release": "@monorepo-builder release", |
286 | 287 | "monorepo-builder:release-1.0.0-BETA1": "@monorepo-builder:release 1.0.0-BETA1", |
287 | 288 | "monorepo-builder:release-1.0.0-BETA1-dry-run": "@monorepo-builder:release-1.0.0-BETA1 --dry-run", |
|
294 | 295 | "neon-lint": "@php vendor/bin/neon-lint *.neon", |
295 | 296 | "peck": [ |
296 | 297 | "@putenv:php", |
297 | | - "$PHP82 vendor/bin/peck check --path=src/ --config=../../peck.json --ansi -v" |
| 298 | + "$PHP82 vendor/bin/peck check --path=src/ --config=../../peck.json --ansi -vv" |
298 | 299 | ], |
299 | 300 | "peck:ignore-all": "@peck --ignore-all", |
300 | 301 | "peck:init": "@peck --init", |
|
319 | 320 | "pest:profile": "@pest --profile", |
320 | 321 | "pest:type-coverage": "@pest --type-coverage", |
321 | 322 | "pest:update-snapshots": "@pest --update-snapshots", |
322 | | - "php-cs-fixer": "@php vendor/bin/php-cs-fixer --ansi -v", |
| 323 | + "php-cs-fixer": "@php vendor/bin/php-cs-fixer --ansi -vv", |
323 | 324 | "php-cs-fixer:check": "@php-cs-fixer check --show-progress=dots --diff", |
324 | 325 | "php-cs-fixer:describe": "@php-cs-fixer describe", |
325 | 326 | "php-cs-fixer:fix": "@php-cs-fixer fix --show-progress=dots --diff", |
326 | 327 | "php-cs-fixer:fix-dry-run": "@php-cs-fixer:fix --dry-run", |
| 328 | + "php-cs-fixer:fix-dry-run-stop-on-violation": "@php-cs-fixer:fix-dry-run --stop-on-violation", |
327 | 329 | "php-cs-fixer:list-files": "@php-cs-fixer list-files", |
328 | | - "php-cs-fixer:list-sets": "@php-cs-fixer list-sets --ansi -v", |
| 330 | + "php-cs-fixer:list-sets": "@php-cs-fixer list-sets --ansi -vv", |
329 | 331 | "php-lint": [ |
330 | 332 | "@putenv:php", |
331 | 333 | "for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP81 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done", |
332 | 334 | "for DIR in src/ tests/; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP81 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done" |
333 | 335 | ], |
334 | | - "phpbench": "@php vendor/bin/phpbench run --report=aggregate --ansi -v", |
| 336 | + "phpbench": "@php vendor/bin/phpbench run --report=aggregate --ansi -vv", |
335 | 337 | "phpcs": "@php vendor/bin/phpcs examples/ src/ --extensions=php --ignore=*/vendor/* --parallel=8 --cache --colors -n -p -s -v", |
336 | 338 | "phpcs:compatibility": "@phpcs --standard=PHPCompatibility --exclude=PHPCompatibility.FunctionDeclarations.NewClosure --runtime-set testVersion 8.5-", |
337 | 339 | "phpcs:help": "@phpcs --help", |
338 | 340 | "phpcs:i": "@phpcs -i", |
339 | | - "phpmnd": "@php vendor/bin/phpmnd src/ --exclude-path=Support/helpers.phpp --ignore-numbers=2,-1 --hint --progress --ansi -v", |
340 | | - "phpstan": "@php vendor/bin/phpstan --ansi -v", |
| 341 | + "phpmnd": "@php vendor/bin/phpmnd src/ --exclude-path=Support/helpers.phpp --ignore-numbers=2,-1 --hint --progress --ansi -vv", |
| 342 | + "phpstan": "@php vendor/bin/phpstan --ansi -vv", |
341 | 343 | "phpstan:analyse": "@phpstan analyse", |
342 | 344 | "phpstan:analyse-fix": "@phpstan:analyse --fix", |
343 | 345 | "phpstan:analyse-generate-baseline": "@phpstan:analyse --generate-baseline --allow-empty-baseline", |
|
350 | 352 | "phpstan:dump-parameters": "@phpstan dump-parameters", |
351 | 353 | "pint": [ |
352 | 354 | "@putenv:xdebug-off", |
353 | | - "@php vendor/bin/pint --ansi -v" |
| 355 | + "@php vendor/bin/pint --ansi -vv" |
354 | 356 | ], |
355 | 357 | "pint:bail": "@pint --bail", |
356 | 358 | "pint:dirty": "@pint --dirty", |
|
372 | 374 | "@putenv XDEBUG_MODE=coverage,debug", |
373 | 375 | "@putenv XDEBUG_SESSION=1" |
374 | 376 | ], |
375 | | - "readme-lint": "@php readme-lint --ansi -v", |
| 377 | + "readme-lint": "@php readme-lint --ansi -vv", |
376 | 378 | "rector": "@php vendor/bin/rector", |
377 | 379 | "rector:custom-rule": "@rector custom-rule", |
378 | 380 | "rector:list-rules": "@rector list-rules", |
|
387 | 389 | "rector:setup-ci": "@rector setup-ci", |
388 | 390 | "rule-doc-generator": [ |
389 | 391 | "@putenv:php", |
390 | | - "$PHP82 rule-doc-generator --ansi -v" |
| 392 | + "$PHP82 rule-doc-generator --ansi -vv" |
391 | 393 | ], |
392 | 394 | "rule-doc-generator:rector-generate": "@rule-doc-generator generate src/Support/Rectors/ --output-file=src/Support/Rectors/rector-rules-overview.md --categorize=rector", |
393 | 395 | "rule-doc-generator:rector-validate": "@rule-doc-generator validate src/Support/Rectors/", |
394 | | - "sk": "@php vendor/bin/swiss-knife --ansi -v", |
| 396 | + "sk": "@php vendor/bin/swiss-knife --ansi -vv", |
395 | 397 | "sk:alice-yaml-fixtures-to-php": "@sk alice-yaml-fixtures-to-php --help", |
396 | 398 | "sk:check-commented-code": "@sk check-commented-code examples/ src/ --line-limit=5 --skip-file=src/Soar.php", |
397 | 399 | "sk:check-conflicts": "@sk check-conflicts examples/ src/", |
|
407 | 409 | "sk:search-regex": "@sk search-regex 'Guanguans.*ValetDrivers'", |
408 | 410 | "sk:split-config-per-package": "@sk split-config-per-package monorepo-builder.php", |
409 | 411 | "sk:spot-lazy-traits": "@sk spot-lazy-traits src/ --max-used=2", |
410 | | - "soar-php": "@php soar-php --ansi -v", |
| 412 | + "soar-php": "@php soar-php --ansi -vv", |
411 | 413 | "soar-php:app-build": [ |
412 | | - "@composer install --no-dev --no-scripts --ansi -v", |
| 414 | + "@composer install --no-dev --no-scripts --ansi -vv", |
413 | 415 | "@php soar-php app:build soar-php.phar --build-version=master --ansi", |
414 | | - "@php builds/soar-php.phar list --ansi -v", |
| 416 | + "@php builds/soar-php.phar list --ansi -vv", |
415 | 417 | "ls -lh builds/soar-php.phar", |
416 | 418 | "ls -lr builds/soar-php.phar" |
417 | 419 | ], |
|
445 | 447 | "user:composer": [ |
446 | 448 | "@putenv:composer-memory-unlimited", |
447 | 449 | "@putenv:xdebug-off", |
448 | | - "@composer --ansi -v" |
| 450 | + "@composer --ansi -vv" |
449 | 451 | ], |
450 | 452 | "user:php": [ |
451 | 453 | "@putenv:xdebug-off", |
452 | 454 | "@php -d xdebug.mode=off" |
453 | 455 | ], |
454 | | - "var-dump-server:cli": "@php vendor/bin/var-dump-server --ansi -v", |
| 456 | + "var-dump-server:cli": "@php vendor/bin/var-dump-server --ansi -vv", |
455 | 457 | "var-dump-server:html": [ |
456 | 458 | "@composer-config:disable-process-timeout", |
457 | 459 | "[ -d .build ] || mkdir -p .build/", |
458 | 460 | "[ -f .build/dump.html ] || touch .build/dump.html", |
459 | 461 | "open .build/dump.html", |
460 | 462 | "@php vendor/bin/var-dump-server --ansi -v --format=html > .build/dump.html" |
461 | 463 | ], |
462 | | - "vendor-patches": "@php vendor/bin/vendor-patches generate --ansi -v", |
| 464 | + "vendor-patches": "@php vendor/bin/vendor-patches generate --ansi -vv", |
463 | 465 | "vhs": [ |
464 | 466 | "@cghooks:remove", |
465 | 467 | "vhs < soar-php.tape", |
466 | 468 | "@cghooks:upsert" |
467 | 469 | ], |
468 | | - "yaml-lint": "@php vendor/bin/yaml-lint .github/ examples/ --ansi -v", |
| 470 | + "yaml-lint": "@php vendor/bin/yaml-lint .github/ examples/ --ansi -vv", |
469 | 471 | "zhlint": [ |
470 | 472 | "if ! command -v zhlint >/dev/null 2>&1; then echo 'zhlint not found, installing...'; npm install -g zhlint; fi", |
471 | 473 | "@zhlint:prototype" |
|
0 commit comments