|
76 | 76 | "@check:static", |
77 | 77 | "@check:dynamic" |
78 | 78 | ], |
79 | | - "check:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", |
| 79 | + "check:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock --dry-run", |
80 | 80 | "check:dynamic": [ |
81 | 81 | "@check:tests" |
82 | 82 | ], |
83 | | - "check:php:codesniffer": "phpcs --standard=./Build/phpcs/config.xml Build bin src tests", |
84 | | - "check:php:fixer": "\"./.phive/php-cs-fixer\" --config=./Build/php-cs-fixer/config.php fix --dry-run -v --show-progress=dots --diff Build bin src tests", |
| 83 | + "check:php:cs-fixer": "\"./.phive/php-cs-fixer\" fix --config=./Build/php-cs-fixer/config.php -v --dry-run --diff --show-progress=dots Build bin src tests", |
85 | 84 | "check:php:lint": "parallel-lint Build bin src tests", |
86 | 85 | "check:php:rector": "rector process --no-progress-bar --dry-run --config=./Build/rector/config.php", |
87 | | - "check:php:stan": "phpstan --no-progress --configuration=./Build/phpstan/phpstan.neon", |
| 86 | + "check:php:sniff": "phpcs --standard=./Build/phpcs/config.xml Build bin src tests", |
| 87 | + "check:php:stan": "phpstan --no-progress -v --configuration=./Build/phpstan/phpstan.neon", |
88 | 88 | "check:static": [ |
89 | 89 | "@check:composer:normalize", |
90 | | - "@check:php:fixer", |
91 | | - "@check:php:codesniffer", |
92 | 90 | "@check:php:lint", |
93 | 91 | "@check:php:rector", |
94 | | - "@check:php:stan" |
| 92 | + "@check:php:sniff", |
| 93 | + "@check:php:stan", |
| 94 | + "@check:php:cs-fixer" |
95 | 95 | ], |
96 | 96 | "check:tests": [ |
97 | 97 | "@check:tests:unit" |
|
106 | 106 | "fix:php": [ |
107 | 107 | "@fix:composer:normalize", |
108 | 108 | "@fix:php:rector", |
109 | | - "@fix:php:codesniffer", |
110 | | - "@fix:php:fixer" |
| 109 | + "@fix:php:sniff", |
| 110 | + "@fix:php:cs-fixer" |
111 | 111 | ], |
112 | | - "fix:php:codesniffer": "phpcbf --standard=./Build/phpcs/config.xml Build bin src tests", |
113 | | - "fix:php:fixer": "\"./.phive/php-cs-fixer\" --config=./Build/php-cs-fixer/config.php fix Build bin src tests", |
| 112 | + "fix:php:cs-fixer": "\"./.phive/php-cs-fixer\" fix --config=./Build/php-cs-fixer/config.php Build bin src tests", |
114 | 113 | "fix:php:rector": "rector process --config=./Build/rector/config.php", |
115 | | - "phpstan:baseline": "phpstan --configuration=./Build/phpstan/phpstan.neon --generate-baseline=./Build/phpstan/phpstan-baseline.neon --allow-empty-baseline", |
| 114 | + "fix:php:sniff": "phpcbf --standard=./Build/phpcs/config.xml Build bin src tests", |
| 115 | + "phpstan:baseline": "phpstan --configuration=./Build/phpstan/phpstan.neon --allow-empty-baseline --generate-baseline=./Build/phpstan/phpstan-baseline.neon", |
116 | 116 | "phpstan:clearcache": "phpstan clear-result-cache --configuration=./Build/phpstan/phpstan.neon" |
117 | 117 | }, |
118 | 118 | "scripts-descriptions": { |
119 | 119 | "check": "Runs all dynamic and static code checks.", |
120 | | - "check:composer:normalize": "Checks the formatting and structure of the composer.json.", |
| 120 | + "check:composer:normalize": "Checks the composer.json.", |
121 | 121 | "check:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", |
122 | | - "check:php:codesniffer": "Checks the code style with PHP_CodeSniffer.", |
123 | | - "check:php:fixer": "Checks the code style with PHP CS Fixer.", |
124 | | - "check:php:lint": "Checks the syntax of the PHP code.", |
125 | | - "check:php:rector": "Checks the code for possible code updates and refactoring.", |
126 | | - "check:php:stan": "Checks the types with PHPStan.", |
127 | | - "check:static": "Runs all static code analysis checks for the code.", |
| 122 | + "check:php:cs-fixer": "Checks the code style with the PHP Coding Standards Fixer (PHP-CS-Fixer).", |
| 123 | + "check:php:lint": "Lints the PHP files for syntax errors.", |
| 124 | + "check:php:rector": "Checks for code for changes by Rector.", |
| 125 | + "check:php:sniff": "Checks the code style with PHP_CodeSniffer (PHPCS).", |
| 126 | + "check:php:stan": "Checks the PHP types using PHPStan.", |
| 127 | + "check:static": "Runs all static code checks (syntax, style, types).", |
128 | 128 | "check:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", |
129 | 129 | "check:tests:coverage": "Runs the unit tests with code coverage.", |
130 | 130 | "check:tests:sof": "Runs the unit tests and stops at the first failure.", |
131 | | - "check:tests:unit": "Runs all unit tests.", |
132 | | - "fix": "Runs all fixers", |
133 | | - "fix:composer:normalize": "Reformats and sorts the composer.json file.", |
134 | | - "fix:php": "Autofixes all autofixable issues in the PHP code.", |
135 | | - "fix:php:codesniffer": "Reformats the code with PHP_CodeSniffer.", |
136 | | - "fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.", |
137 | | - "fix:php:rector": "Fixes autofixable issues found by Rector.", |
| 131 | + "check:tests:unit": "Runs the unit tests.", |
| 132 | + "fix": "Runs all automatic code style fixes.", |
| 133 | + "fix:composer:normalize": "Normalizes composer.json file content.", |
| 134 | + "fix:php": "Runs all fixers for the PHP code.", |
| 135 | + "fix:php:cs-fixer": "Fixes the code style with PHP-CS-Fixer.", |
| 136 | + "fix:php:rector": "Updates the code with Rector.", |
| 137 | + "fix:php:sniff": "Fixes the code style with PHP_CodeSniffer.", |
138 | 138 | "phpstan:baseline": "Updates the PHPStan baseline file to match the code.", |
139 | 139 | "phpstan:clearcache": "Clears the PHPStan cache." |
140 | 140 | } |
|
0 commit comments