|
219 | 219 | "@jack:breakpoint", |
220 | 220 | "@jack:open-versions-dry-run", |
221 | 221 | "@jack:raise-to-installed-dry-run", |
222 | | - "@php-cs-fixer:custom-fix-dry-run", |
223 | 222 | "@phpmnd", |
224 | 223 | "@phpstan:analyse", |
225 | 224 | "@rector:process-dry-run", |
|
235 | 234 | "@gitleaks", |
236 | 235 | "@lint-md", |
237 | 236 | "@peck", |
| 237 | + "@php-cs-fixer:custom-fix-dry-run", |
| 238 | + "@php-cs-fixer:custom-ln-config", |
238 | 239 | "@zhlint" |
239 | 240 | ], |
240 | 241 | "checks:required": [ |
|
365 | 366 | "@php-cs-fixer:custom-fix --dry-run" |
366 | 367 | ], |
367 | 368 | "php-cs-fixer:custom-list-files": "@php-cs-fixer:custom list-files", |
368 | | - "php-cs-fixer:custom-ln-config": "ln -f vendor/guanguans/php-cs-fixer-custom-fixers/.php-cs-fixer-custom.php .php-cs-fixer-custom.php", |
| 369 | + "php-cs-fixer:custom-ln-config": [ |
| 370 | + "ln -f vendor/guanguans/php-cs-fixer-custom-fixers/.php-cs-fixer-custom.php .php-cs-fixer-custom.php", |
| 371 | + "YEAR=$(date +%Y); sed -i '' -e 's|guanguans/php-cs-fixer-custom-fixers|guanguans/laravel-soar|g' -e \"s|2025-$YEAR|2020-$YEAR|g\" -e \"s|2025|2020-$YEAR|g\" .php-cs-fixer-custom.php" |
| 372 | + ], |
369 | 373 | "php-cs-fixer:fix": "@php-cs-fixer fix --show-progress=dots --diff", |
370 | 374 | "php-cs-fixer:fix-dry-run": "@php-cs-fixer:fix --dry-run", |
371 | 375 | "php-cs-fixer:list-files": "@php-cs-fixer list-files", |
|
420 | 424 | "@putenv:php", |
421 | 425 | "$PHP82 rule-doc-generator --ansi -vv" |
422 | 426 | ], |
423 | | - "rule-doc-generator:rector-generate": "@rule-doc-generator generate src/Support/Rectors/ --output-file=src/Support/Rectors/rector-rules-overview.md --categorize=rector", |
424 | | - "rule-doc-generator:rector-validate": "@rule-doc-generator validate src/Support/Rectors/", |
| 427 | + "rule-doc-generator:generate": "@rule-doc-generator generate src/Support/Rectors/ --output-file=src/Support/Rectors/rules-overview.md", |
| 428 | + "rule-doc-generator:validate": "@rule-doc-generator validate src/Support/Rectors/", |
425 | 429 | "sk": "@php vendor/bin/swiss-knife --ansi -vv", |
426 | 430 | "sk:alice-yaml-fixtures-to-php": "@sk alice-yaml-fixtures-to-php --help", |
427 | 431 | "sk:check-commented-code": "@sk check-commented-code src/ --line-limit=5 --skip-file=src/Support/Utils.php", |
|
0 commit comments