|
66 | 66 | "@ci:static", |
67 | 67 | "@ci:dynamic" |
68 | 68 | ], |
| 69 | + "ci:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", |
69 | 70 | "ci:dynamic": [ |
70 | 71 | "@ci:tests" |
71 | 72 | ], |
|
74 | 75 | "ci:php:rector": "rector --no-progress-bar --dry-run --config=config/rector.php", |
75 | 76 | "ci:php:stan": "phpstan --no-progress --configuration=config/phpstan.neon", |
76 | 77 | "ci:static": [ |
| 78 | + "@ci:composer:normalize", |
77 | 79 | "@ci:php:fixer", |
78 | 80 | "@ci:php:lint", |
79 | 81 | "@ci:php:rector", |
|
88 | 90 | "fix": [ |
89 | 91 | "@fix:php" |
90 | 92 | ], |
| 93 | + "fix:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock", |
91 | 94 | "fix:php": [ |
| 95 | + "@fix:composer:normalize", |
92 | 96 | "@fix:php:rector", |
93 | 97 | "@fix:php:fixer" |
94 | 98 | ], |
|
98 | 102 | }, |
99 | 103 | "scripts-descriptions": { |
100 | 104 | "ci": "Runs all dynamic and static code checks.", |
| 105 | + "ci:composer:normalize": "Checks the formatting and structure of the composer.json.", |
101 | 106 | "ci:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", |
102 | 107 | "ci:php:fixer": "Checks the code style with PHP CS Fixer.", |
103 | 108 | "ci:php:lint": "Checks the syntax of the PHP code.", |
|
109 | 114 | "ci:tests:sof": "Runs the unit tests and stops at the first failure.", |
110 | 115 | "ci:tests:unit": "Runs all unit tests.", |
111 | 116 | "fix": "Runs all fixers", |
| 117 | + "fix:composer:normalize": "Reformats and sorts the composer.json file.", |
112 | 118 | "fix:php": "Autofixes all autofixable issues in the PHP code.", |
113 | 119 | "fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.", |
114 | 120 | "fix:php:rector": "Fixes autofixable issues found by Rector.", |
|
0 commit comments