-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add composer-normalize to our development toolchain
- Loading branch information
1 parent
23f4061
commit 5eba37e
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="composer-normalize" version="^2.44.0" installed="2.44.0" location="./.phive/composer-normalize" copy="false"/> | ||
<phar name="php-cs-fixer" version="^3.59.3" installed="3.64.0" location="./.phive/php-cs-fixer" copy="false"/> | ||
</phive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
{ | ||
"name": "sabberworm/php-css-parser", | ||
"type": "library", | ||
"description": "Parser for CSS Files written in PHP", | ||
"license": "MIT", | ||
"type": "library", | ||
"keywords": [ | ||
"parser", | ||
"css", | ||
"stylesheet" | ||
], | ||
"homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Raphael Schweikert" | ||
|
@@ -22,6 +21,7 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", | ||
"require": { | ||
"php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", | ||
"ext-iconv": "*" | ||
|
@@ -66,6 +66,7 @@ | |
"@ci:static", | ||
"@ci:dynamic" | ||
], | ||
"ci:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", | ||
"ci:dynamic": [ | ||
"@ci:tests" | ||
], | ||
|
@@ -74,6 +75,7 @@ | |
"ci:php:rector": "rector --no-progress-bar --dry-run --config=config/rector.php", | ||
"ci:php:stan": "phpstan --no-progress --configuration=config/phpstan.neon", | ||
"ci:static": [ | ||
"@ci:composer:normalize", | ||
"@ci:php:fixer", | ||
"@ci:php:lint", | ||
"@ci:php:rector", | ||
|
@@ -88,7 +90,9 @@ | |
"fix": [ | ||
"@fix:php" | ||
], | ||
"fix:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock", | ||
"fix:php": [ | ||
"@fix:composer:normalize", | ||
"@fix:php:rector", | ||
"@fix:php:fixer" | ||
], | ||
|
@@ -98,17 +102,19 @@ | |
}, | ||
"scripts-descriptions": { | ||
"ci": "Runs all dynamic and static code checks.", | ||
"ci:composer:normalize": "Checks the formatting and structure of the composer.json.", | ||
"ci:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", | ||
"ci:php:fixer": "Checks the code style with PHP CS Fixer.", | ||
"ci:php:lint": "Checks the syntax of the PHP code.", | ||
"ci:php:stan": "Checks the types with PHPStan.", | ||
"ci:php:rector": "Checks the code for possible code updates and refactoring.", | ||
"ci:php:stan": "Checks the types with PHPStan.", | ||
"ci:static": "Runs all static code analysis checks for the code.", | ||
"ci:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", | ||
"ci:tests:coverage": "Runs the unit tests with code coverage.", | ||
"ci:tests:sof": "Runs the unit tests and stops at the first failure.", | ||
"ci:tests:unit": "Runs all unit tests.", | ||
"fix": "Runs all fixers", | ||
"fix:composer:normalize": "Reformats and sorts the composer.json file.", | ||
"fix:php": "Autofixes all autofixable issues in the PHP code.", | ||
"fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.", | ||
"fix:php:rector": "Fixes autofixable issues found by Rector.", | ||
|