Skip to content

Commit

Permalink
Drop support for PHP 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
svenluijten committed Aug 11, 2023
1 parent 1c03c74 commit d12ea0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [7.3, 7.4]
php: [8.0, 8.1, 8.2]
dependency-version: [highest, lowest]

steps:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"laravel/framework": "^8.22 || ^9.0",
"php": "^8.0",
"illuminate/console": "^8.22 || ^9.0 || ^10.0",
"sven/file-config": "^3.1.0"
},
"require-dev": {
"graham-campbell/testbench": "^5.4",
"phpunit/phpunit": "^8.3 || ^9.0",
"graham-campbell/testbench": "^6.0",
"phpunit/phpunit": "^9.0 || ^10.0",
"mockery/mockery": "^1.4"
},
"autoload": {
Expand Down
6 changes: 1 addition & 5 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@

abstract class TestCase extends AbstractPackageTestCase
{
/**
* @param \Illuminate\Foundation\Application $app
* @return string
*/
public function getServiceProviderClass($app)
public static function getServiceProviderClass(): string
{
return ServiceProvider::class;
}
Expand Down

0 comments on commit d12ea0f

Please sign in to comment.