|
67 | 67 | } |
68 | 68 | }, |
69 | 69 | "scripts": { |
70 | | - "ci": [ |
71 | | - "@ci:static", |
72 | | - "@ci:dynamic" |
| 70 | + "check": [ |
| 71 | + "@check:static", |
| 72 | + "@check:dynamic" |
73 | 73 | ], |
74 | | - "ci:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", |
75 | | - "ci:dynamic": [ |
76 | | - "@ci:tests" |
| 74 | + "check:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", |
| 75 | + "check:dynamic": [ |
| 76 | + "@check:tests" |
77 | 77 | ], |
78 | | - "ci:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots --diff bin src tests config", |
79 | | - "ci:php:lint": "parallel-lint src tests config bin", |
80 | | - "ci:php:rector": "rector --no-progress-bar --dry-run --config=config/rector.php", |
81 | | - "ci:php:stan": "phpstan --no-progress --configuration=config/phpstan.neon", |
82 | | - "ci:static": [ |
83 | | - "@ci:composer:normalize", |
84 | | - "@ci:php:fixer", |
85 | | - "@ci:php:lint", |
86 | | - "@ci:php:rector", |
87 | | - "@ci:php:stan" |
| 78 | + "check:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots --diff bin src tests config", |
| 79 | + "check:php:lint": "parallel-lint src tests config bin", |
| 80 | + "check:php:rector": "rector --no-progress-bar --dry-run --config=config/rector.php", |
| 81 | + "check:php:stan": "phpstan --no-progress --configuration=config/phpstan.neon", |
| 82 | + "check:static": [ |
| 83 | + "@check:composer:normalize", |
| 84 | + "@check:php:fixer", |
| 85 | + "@check:php:lint", |
| 86 | + "@check:php:rector", |
| 87 | + "@check:php:stan" |
88 | 88 | ], |
89 | | - "ci:tests": [ |
90 | | - "@ci:tests:unit" |
| 89 | + "check:tests": [ |
| 90 | + "@check:tests:unit" |
91 | 91 | ], |
92 | | - "ci:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml", |
93 | | - "ci:tests:sof": "phpunit --stop-on-failure --do-not-cache-result", |
94 | | - "ci:tests:unit": "phpunit --do-not-cache-result", |
| 92 | + "check:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml", |
| 93 | + "check:tests:sof": "phpunit --stop-on-failure --do-not-cache-result", |
| 94 | + "check:tests:unit": "phpunit --do-not-cache-result", |
95 | 95 | "fix": [ |
96 | 96 | "@fix:php" |
97 | 97 | ], |
|
106 | 106 | "phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon --allow-empty-baseline" |
107 | 107 | }, |
108 | 108 | "scripts-descriptions": { |
109 | | - "ci": "Runs all dynamic and static code checks.", |
110 | | - "ci:composer:normalize": "Checks the formatting and structure of the composer.json.", |
111 | | - "ci:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", |
112 | | - "ci:php:fixer": "Checks the code style with PHP CS Fixer.", |
113 | | - "ci:php:lint": "Checks the syntax of the PHP code.", |
114 | | - "ci:php:rector": "Checks the code for possible code updates and refactoring.", |
115 | | - "ci:php:stan": "Checks the types with PHPStan.", |
116 | | - "ci:static": "Runs all static code analysis checks for the code.", |
117 | | - "ci:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", |
118 | | - "ci:tests:coverage": "Runs the unit tests with code coverage.", |
119 | | - "ci:tests:sof": "Runs the unit tests and stops at the first failure.", |
120 | | - "ci:tests:unit": "Runs all unit tests.", |
| 109 | + "check": "Runs all dynamic and static code checks.", |
| 110 | + "check:composer:normalize": "Checks the formatting and structure of the composer.json.", |
| 111 | + "check:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", |
| 112 | + "check:php:fixer": "Checks the code style with PHP CS Fixer.", |
| 113 | + "check:php:lint": "Checks the syntax of the PHP code.", |
| 114 | + "check:php:rector": "Checks the code for possible code updates and refactoring.", |
| 115 | + "check:php:stan": "Checks the types with PHPStan.", |
| 116 | + "check:static": "Runs all static code analysis checks for the code.", |
| 117 | + "check:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", |
| 118 | + "check:tests:coverage": "Runs the unit tests with code coverage.", |
| 119 | + "check:tests:sof": "Runs the unit tests and stops at the first failure.", |
| 120 | + "check:tests:unit": "Runs all unit tests.", |
121 | 121 | "fix": "Runs all fixers", |
122 | 122 | "fix:composer:normalize": "Reformats and sorts the composer.json file.", |
123 | 123 | "fix:php": "Autofixes all autofixable issues in the PHP code.", |
|
0 commit comments