|
101 | 101 | "ibexa/fastly": "~5.0.x-dev" |
102 | 102 | }, |
103 | 103 | "scripts": { |
104 | | - "fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots", |
105 | | - "check-cs": "@fix-cs --dry-run", |
106 | | - "phpstan": "phpstan analyse", |
107 | | - "deptrac": "deptrac analyse", |
108 | | - "check-rector": "rector process --dry-run --ansi", |
| 104 | + "fix-cs": [ |
| 105 | + "php tools/extract-inline-php.php", |
| 106 | + "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots", |
| 107 | + "php-cs-fixer fix --config=.php-cs-fixer-inline.php -v --show-progress=dots", |
| 108 | + "php tools/sync-inline-php-to-markdown.php" |
| 109 | + ], |
| 110 | + "check-cs": [ |
| 111 | + "php tools/extract-inline-php.php", |
| 112 | + "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots --dry-run", |
| 113 | + "php-cs-fixer fix --config=.php-cs-fixer-inline.php -v --show-progress=dots --dry-run" |
| 114 | + ], |
| 115 | + "phpstan": "php tools/extract-inline-php.php && phpstan analyse", |
| 116 | + "deptrac": "php tools/extract-inline-php.php && deptrac analyse", |
| 117 | + "fix-rector": [ |
| 118 | + "php tools/extract-inline-php.php", |
| 119 | + "rector process --ansi", |
| 120 | + "php tools/sync-inline-php-to-markdown.php" |
| 121 | + ], |
| 122 | + "check-rector": "php tools/extract-inline-php.php && rector process --dry-run --ansi", |
109 | 123 | "check-yaml": "phpunit --group yaml", |
110 | 124 | "phpunit": "phpunit --exclude-group=yaml", |
111 | 125 | "yaml-update-baseline": "php tests/generate-yaml-baseline.php" |
|
115 | 129 | "check-cs": "Run code style checker for all files", |
116 | 130 | "phpstan": "Run static code analysis", |
117 | 131 | "deptrac": "Run Deptrac architecture testing", |
| 132 | + "fix-rector": "Automatically applies Rector refactoring to code samples and syncs back to Markdown", |
118 | 133 | "check-rector": "Check for code refactoring opportunities", |
119 | 134 | "check-yaml": "Run PHPUnit tests (YAML validation)", |
120 | 135 | "yaml-update-baseline": "Regenerate tests/yaml-validation-baseline.yaml from current failures" |
|
0 commit comments