-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added micro/dev-tools library; - Refactored composer commands; - Run php-cs-fixer; - CI/CD improvements; Signed-off-by: Oleksii Bulba <[email protected]>
- Loading branch information
Oleksii Bulba
committed
Jun 20, 2023
1 parent
56938c9
commit 3372e2b
Showing
4 changed files
with
30 additions
and
33 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 |
---|---|---|
|
@@ -14,13 +14,15 @@ | |
"micro/dependency-injection": "^1.6" | ||
}, | ||
"require-dev": { | ||
"ergebnis/composer-normalize": "^2.29", | ||
"friendsofphp/php-cs-fixer": "^3.13", | ||
"phpstan/phpstan": "^1.9", | ||
"phpunit/php-code-coverage": "^9.2", | ||
"phpunit/phpunit": "^9.5", | ||
"vimeo/psalm": "^5.2" | ||
"micro/dev-tools": "dev-feature/library-created" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:Micro-PHP/dev-tools.git" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"psr-4": { | ||
"Micro\\Framework\\Kernel\\": "src/" | ||
|
@@ -40,11 +42,11 @@ | |
"scripts": { | ||
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text", | ||
"coverage-html": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html ./test-coverage-report", | ||
"php-cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --using-cache=no", | ||
"php-cs-try": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no", | ||
"phpstan": "./vendor/bin/phpstan analyze --no-progress", | ||
"phpunit": "./vendor/bin/phpunit", | ||
"psalm": "./vendor/bin/psalm --no-progress --show-info=true --no-cache", | ||
"php-cs-fix": "./vendor/micro/micro-devtools/tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose --using-cache=no", | ||
"php-cs-try": "./vendor/micro/micro-devtools/tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no", | ||
"phpstan": "./vendor/micro/micro-devtools/tools/phpstan/vendor/bin/phpstan analyze --no-progress", | ||
"psalm": "./vendor/micro/micro-devtools/tools/psalm/vendor/bin/psalm --no-progress --show-info=true --no-cache", | ||
"statics": [ | ||
"@phpstan", | ||
"@psalm", | ||
|
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