|
1 | 1 | { |
2 | 2 | "name": "sabberworm/php-css-parser", |
3 | | - "type": "library", |
4 | 3 | "description": "Parser for CSS Files written in PHP", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
5 | 6 | "keywords": [ |
6 | 7 | "parser", |
7 | 8 | "css", |
8 | 9 | "stylesheet" |
9 | 10 | ], |
10 | | - "homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", |
11 | | - "license": "MIT", |
12 | 11 | "authors": [ |
13 | 12 | { |
14 | 13 | "name": "Raphael Schweikert" |
|
22 | 21 | |
23 | 22 | } |
24 | 23 | ], |
| 24 | + "homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", |
25 | 25 | "require": { |
26 | 26 | "php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", |
27 | 27 | "ext-iconv": "*" |
|
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.", |
104 | | - "ci:php:stan": "Checks the types with PHPStan.", |
105 | 109 | "ci:php:rector": "Checks the code for possible code updates and refactoring.", |
| 110 | + "ci:php:stan": "Checks the types with PHPStan.", |
106 | 111 | "ci:static": "Runs all static code analysis checks for the code.", |
107 | 112 | "ci:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", |
108 | 113 | "ci:tests:coverage": "Runs the unit tests with code coverage.", |
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