Skip to content

Commit

Permalink
Fix for better 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
benpoulson committed Jan 10, 2024
1 parent 44abfb5 commit 06a5628
Show file tree
Hide file tree
Showing 6 changed files with 2,101 additions and 2,464 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1' # Set the PHP version
php-version: '8.0' # Set the PHP version
coverage: xdebug

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress

- name: Run PHPUnit tests
run: vendor/bin/phpunit --coverage-clover=coverage.xml
Expand Down
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@
}
}
},
"config": {
"platform": {
"php": "8.0"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"phpmd/phpmd": "^2.15",
"larastan/larastan": "^2.8",
"orchestra/testbench": "^8.20",
"phpunit/phpunit": "^10.5"
"orchestra/testbench": "*",
"larastan/larastan": "*",
"phpunit/phpunit": "*"
},
"autoload-dev": {
"psr-4": {
Expand All @@ -50,10 +54,8 @@
},
"scripts": {
"post-autoload-dump": [
"@clear",
"@prepare"
],
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build --ansi",
"serve": [
Expand Down
Loading

0 comments on commit 06a5628

Please sign in to comment.