Skip to content

Commit

Permalink
Support PHP 8.1 and Laravel 9
Browse files Browse the repository at this point in the history
  - Add support for PHP 8.1
  - Drop support for PHP 7.x
  - Add support for Laravel 9.x
  - Drop support for Laravel 7.x
  • Loading branch information
iraklisg committed Sep 19, 2022
1 parent 4043944 commit 66859b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [7.4, 8.0]
php: [8.0, 8.1]
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
/.idea
.phpunit.result.cache
composer.lock
docker-compose.override.yml
docker-compose.yml
12 changes: 4 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "culturegr/custom-relation",
"version": "1.0.6",
"description": "Easy implementation of custom Eloquent relations",
"license": "MIT",
"authors": [
Expand All @@ -17,13 +16,13 @@
"CustomRelation"
],
"require": {
"php": "^7.4|^8.0",
"illuminate/support": "^7.0|^8.0"
"php": "^8.0|^8.1",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.13",
"orchestra/testbench": "^v7.5",
"sempro/phpunit-pretty-print": "^1.4",
"laravel/legacy-factories": "^1.0"
},
Expand All @@ -44,10 +43,7 @@
"laravel": {
"providers": [
"CultureGr\\CustomRelation\\CustomRelationServiceProvider"
],
"aliases": {
"CustomRelation": "CultureGr\\CustomRelation\\Facades\\CustomRelation"
}
]
}
}
}

0 comments on commit 66859b2

Please sign in to comment.