Skip to content

Commit a26017d

Browse files
authored
Add PHP 8 support (#17)
1 parent 77ec45e commit a26017d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/run-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ ubuntu-latest ]
12-
php: [ 7.2, 7.3, 7.4 ]
12+
php: [ 7.2, 7.3, 7.4, 8.0 ]
1313
laravel: [ 6.*, 7.*, 8.* ]
1414
dependency-version: [ prefer-stable ]
1515
include:
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install dependencies
5656
run: |
5757
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
58-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
58+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5959
6060
- name: Execute tests
6161
run: vendor/bin/phpunit --coverage-clover=coverage.xml

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All Notable changes to `UniqueTranslation` will be documented in this file.
44

5+
## 3.5.0 (2020-11-27)
6+
7+
- Add support for PHP 8
8+
59
## 3.4.0 (2020-09-07)
610

711
- Add support for Laravel 8

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This package also supports [`spatie/nova-translatable`](https://github.com/spati
2424

2525
## ✅ Requirements
2626

27-
- PHP ^7.2
27+
- PHP ^7.2 or PHP ^8.0
2828
- MySQL >= 5.6
2929
- [Laravel](https://laravel.com/) >= 6 (use v1.* for Laravel 5.*)
3030
- [spatie/laravel-translatable](https://github.com/spatie/laravel-translatable) ^4.4

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.2"
25+
"php": "^7.2||^8.0"
2626
},
2727
"require-dev": {
2828
"orchestra/testbench": "^4.0|^5.0|^6.0",

0 commit comments

Comments
 (0)