@@ -7,14 +7,12 @@ backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysi
77
88.PHONY : code-coverage
99code-coverage : vendor # # Collects coverage from running unit tests with phpunit/phpunit
10- mkdir -p .build/phpunit/
1110 vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text
1211
1312.PHONY : coding-standards
1413coding-standards : vendor # # Lints YAML files with yamllint, normalizes composer.json with ergebnis/composer-normalize, and fixes code style issues with friendsofphp/php-cs-fixer
1514 yamllint -c .yamllint.yaml --strict .
1615 composer normalize
17- mkdir -p .build/php-cs-fixer/
1816 vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --show-progress=dots --verbose
1917
2018.PHONY : dependency-analysis
@@ -27,17 +25,14 @@ help: ## Displays this list of targets with descriptions
2725
2826.PHONY : mutation-tests
2927mutation-tests : vendor # # Runs mutation tests with infection/infection
30- mkdir -p .build/infection/
3128 vendor/bin/infection --configuration=infection.json
3229
3330.PHONY : phive
3431phive : .phive # # Installs dependencies with phive
35- mkdir -p .build/phive/
3632 PHIVE_HOME=.build/phive phive install --trust-gpg-keys 0x033E5F8D801A2F8D
3733
3834.PHONY : refactoring
3935refactoring : vendor # # Runs automated refactoring with rector/rector
40- mkdir -p .build/rector/
4136 vendor/bin/rector process --config=rector.php
4237
4338.PHONY : security-analysis
@@ -46,19 +41,16 @@ security-analysis: vendor ## Runs a security analysis with composer
4641
4742.PHONY : static-code-analysis
4843static-code-analysis : vendor # # Runs a static code analysis with vimeo/psalm
49- mkdir -p .build/psalm/
5044 vendor/bin/psalm --config=psalm.xml --clear-cache
5145 vendor/bin/psalm --config=psalm.xml --show-info=false --stats --threads=4
5246
5347.PHONY : static-code-analysis-baseline
5448static-code-analysis-baseline : vendor # # Generates a baseline for static code analysis with vimeo/psalm
55- mkdir -p .build/psalm/
5649 vendor/bin/psalm --config=psalm.xml --clear-cache
5750 vendor/bin/psalm --config=psalm.xml --set-baseline=psalm-baseline.xml
5851
5952.PHONY : tests
6053tests : vendor # # Runs unit tests with phpunit/phpunit
61- mkdir -p .build/phpunit/
6254 vendor/bin/phpunit --configuration=test/Unit/phpunit.xml
6355
6456vendor : composer.json composer.lock
0 commit comments