Skip to content

Commit

Permalink
Upgrade phar tools and phive.xml configuration (#1413)
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Apr 24, 2024
1 parent f9bef16 commit d2fcf80
Show file tree
Hide file tree
Showing 12 changed files with 19,883 additions and 14,656 deletions.
27 changes: 15 additions & 12 deletions .gitattributes
@@ -1,17 +1,20 @@
# Auto detect text files and perform LF normalization
* text=auto

.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
*.md text diff=markdown
*.sh text eol=lf
/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.phive export-ignore
/.gitignore export-ignore
/codecov.yml export-ignore
/docker export-ignore
/e2e-test.sh export-ignore
/ecs.php export-ignore
/fixtures export-ignore
/Makefile export-ignore
/phive.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm-baseline.xml export-ignore
/psalm.xml.dist export-ignore
/tests export-ignore
codecov.yml export-ignore
e2e-test.sh export-ignore
ecs.php export-ignore
Makefile export-ignore
phpunit.xml.dist export-ignore
psalm-baseline.xml export-ignore
psalm.xml.dist export-ignore
/tools export-ignore
8 changes: 0 additions & 8 deletions .phive/phars.xml

This file was deleted.

Binary file removed .phive/tools/infection
Binary file not shown.
16 changes: 9 additions & 7 deletions composer.json
Expand Up @@ -97,16 +97,18 @@
"ecs:check": "ecs check --clear-cache || true",
"ecs:fix": "ecs check --clear-cache --fix",
"phive": [
".phive/tools/phive update --force-accept-unsigned",
".phive/tools/phive purge"
"tools/phive update --force-accept-unsigned",
"tools/phive purge"
],
"phpunit": "vendor/bin/phpunit --do-not-cache-result --colors=always",
"phpunit:coverage": "@phpunit --coverage-clover=coverage.xml",
"psalm": ".phive/tools/psalm --no-diff --no-cache",
"psalm:baseline": "@psalm --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "@psalm --alter --issues=all --dry-run",
"psalm:security": "@psalm --taint-analysis",
"psalm:shepherd": "@psalm --stats --shepherd --output-format=github",
"psalm": "tools/psalm --no-cache --show-info=true",
"psalm:alter": "tools/psalm --no-cache --alter --allow-backwards-incompatible-changes=false --safe-types",
"psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "@psalm:alter --issues=all --dry-run",
"psalm:fix": "@psalm:alter --issues=UnnecessaryVarAnnotation,MissingPureAnnotation,MissingImmutableAnnotation",
"psalm:security": "@psalm --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --no-diff --shepherd --stats --output-format=github",
"test": [
"@phpunit --stop-on-defect",
"@psalm",
Expand Down
8 changes: 8 additions & 0 deletions phive.xml
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="infection" version="^0.28.1" installed="0.28.1" location="./tools/infection" copy="true"/>
<phar name="phar-io/phive" version="^0.15.2" installed="0.15.2" location="./tools/phive" copy="true"/>
<phar name="phpdocumentor" version="^3.4.3" installed="3.4.3" location="./tools/phpdocumentor" copy="true"/>
<phar name="phpunit" version="^11.1.2" installed="11.1.2" location="./tools/phpunit" copy="true"/>
<phar name="psalm" version="^5.23.1" installed="5.23.1" location="./tools/psalm" copy="true"/>
</phive>

0 comments on commit d2fcf80

Please sign in to comment.