Skip to content

Commit

Permalink
fix requirements, delete unused phpunit file, make sure phpunit can b…
Browse files Browse the repository at this point in the history
…e launched
  • Loading branch information
clemzarch committed Apr 3, 2023
1 parent 79dbd29 commit fde2a58
Show file tree
Hide file tree
Showing 27 changed files with 555 additions and 893 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
php_version: '8.2'

- name: Run tests & generate Coverage
run: bin/phpunit functional --coverage-html var/coverage
run: bin/phpunit --coverage-html var/coverage

- name: Store coverage files
uses: actions/upload-artifact@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/rector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
-
if: github.event.pull_request.head.repo.full_name == github.repository
uses: actions/checkout@v3
with:
# Must be used to trigger workflow after push
token: ${{ secrets.ACCESS_TOKEN }}

-
uses: shivammathur/setup-php@v2
Expand Down
52 changes: 0 additions & 52 deletions .phpunit.xml

This file was deleted.

12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.2",
"nikic/php-parser": "^4.10",
"symfony/expression-language": "^5.2 || ^6.0"
"symfony/expression-language": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5 || ^10.0",
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.0",
"infection/infection": "^0.26.18",
"rector/rector": "^0.15",
"johnkary/phpunit-speedtrap": "5.0.x-dev",
"mybuilder/phpunit-accelerator": "*"
"rector/rector": "^0.15"
},
"autoload": {
"psr-4": {
Expand All @@ -48,8 +47,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "0.3.x-dev",
"dev-feature/qualityflow-improvments": "0.3.x-dev"
"dev-main": "0.3.x-dev"
}
}
}
Loading

0 comments on commit fde2a58

Please sign in to comment.