Skip to content

Commit

Permalink
Move PHPUnit back to standard composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Mar 11, 2024
1 parent cc2eefd commit 8f6a954
Show file tree
Hide file tree
Showing 8 changed files with 1,950 additions and 1,884 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
custom-cache-suffix: "ci"

- name: "Tests"
run: "tools/vendor/bin/phpunit"
run: "vendor/bin/phpunit"

static-analysis-phpstan:
name: "Static Analysis by PHPStan"
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
custom-cache-suffix: "ci"

- name: "Test Compatibility"
run: "tools/vendor/bin/phpunit test/compat"
run: "vendor/bin/phpunit test/compat"

demo-scripts:
name: "Check Demo Scripts"
Expand Down
13 changes: 13 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,30 @@
}

],
"require-dev": {
"phpunit/phpunit": "^10.5.12"
},
"autoload": {
"psr-4": {
"Roave\\BetterReflection\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Roave\\BetterReflectionTest\\": "test/unit"
}
},
"conflict": {
"thecodingmachine/safe": "<1.1.3"
},
"suggest": {
"composer/composer": "Required to use the ComposerSourceLocator"
},
"minimum-stability": "dev",
"config": {
"platform": {
"php": "8.2.99"
}
},
"prefer-stable": true
}
Loading

0 comments on commit 8f6a954

Please sign in to comment.