Skip to content

Commit

Permalink
Separate tests and fixtures by PHP versions (#1422)
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 May 18, 2024
1 parent 1f4efdd commit 16dd350
Show file tree
Hide file tree
Showing 361 changed files with 14,899 additions and 9,924 deletions.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
/.gitattributes export-ignore
/.github 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
Expand Down
6 changes: 0 additions & 6 deletions codecov.yml

This file was deleted.

14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"hamcrest/hamcrest-php": "^2.0.1"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.6.17",
"phpunit/phpunit": "^8.5.38 || ^9.6.19",
"symplify/easy-coding-standard": "^12.1.14"
},
"conflict": {
Expand All @@ -66,12 +66,10 @@
},
"autoload-dev": {
"psr-4": {
"Fixture\\": "tests/Fixture/",
"Mockery\\Tests\\Unit\\": "tests/Unit",
"test\\": "tests/"
"Tests\\": "tests"
},
"files": [
"fixtures/autoload.php",
"tests/Fixture/autoload.php",
"vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php"
]
},
Expand All @@ -86,7 +84,7 @@
"scripts": {
"check": [
"@composer validate",
"@ecs",
"@psalm:update",
"@test"
],
"docs": "vendor/bin/phpdoc -d library -t docs/api",
Expand All @@ -102,13 +100,15 @@
],
"phpunit": "vendor/bin/phpunit --do-not-cache-result --colors=always",
"phpunit:coverage": "@phpunit --coverage-clover=coverage.xml",
"psalm": "tools/psalm --no-cache --show-info=true",
"phpunit:migrate": "@phpunit --migrate",
"psalm": "tools/psalm --no-cache",
"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",
"psalm:update": "@psalm --no-diff --update-baseline=psalm-baseline.xml",
"test": [
"@phpunit --stop-on-defect",
"@psalm",
Expand Down

0 comments on commit 16dd350

Please sign in to comment.