Skip to content

Commit 5659c73

Browse files
Add PHP 8.0 support
Add PHP 8.0 support
2 parents 60fb60a + 57e6661 commit 5659c73

File tree

6 files changed

+38
-15
lines changed

6 files changed

+38
-15
lines changed

.scrutinizer.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,27 @@ filter:
99

1010
build:
1111
nodes:
12-
php72:
12+
php73:
1313
environment:
1414
php:
1515
version: 7.3
1616
tests:
1717
override:
1818
- php-scrutinizer-run
1919
-
20-
command: vendor/bin/phpunit --coverage-clover=coverage72
20+
command: vendor/bin/phpunit --coverage-clover=coverage73
2121
coverage:
22-
file: coverage72
22+
file: coverage73
23+
format: php-clover
24+
php80:
25+
environment:
26+
php:
27+
version: "8.0.0"
28+
tests:
29+
override:
30+
- php-scrutinizer-run
31+
-
32+
command: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover=coverage80
33+
coverage:
34+
file: coverage80
2335
format: php-clover

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ language: php
66

77
php:
88
- 7.3
9+
- 8.0
910

1011
before_script:
1112
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v12.0.0 (2020-12-02)
2+
### Added
3+
- PHP 8.0 support
4+
5+
### Removed
6+
- Illuminate 5.8 support
7+
18
## v9.0.0 (2019-03-02)
29
### Added
310
- Illuminate 5.8 support

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ The package documentation can be found on the [official website](http://www.lara
2222
## Version Information
2323
Version | Illuminate | Status | PHP Version
2424
:----------|:--------------|:------------------------|:------------
25-
11.x | 5.8.x - 8.x.x | Active support :rocket: | >= 7.3
25+
12.x | 6.x.x - 8.x.x | Active support :rocket: | >= 7.3 \| 8.0
26+
11.x | 5.8.x - 8.x.x | Active support | >= 7.3
2627
10.x | 5.8.x - 7.x.x | Active support | >= 7.2.5
2728
9.x | 5.8.x - 6.x.x | Active support | >= 7.1.3
2829
8.x | 5.2.x - 5.7.x | Active support | >= 7.0.13

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
}
4040
],
4141
"require": {
42-
"php": "^7.3",
43-
"illuminate/console": "^5.8|^6.0|^7.0|^8.0",
44-
"illuminate/database": "^5.8|^6.0|^7.0|^8.0",
45-
"illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0"
42+
"php": "^7.3|^8.0",
43+
"illuminate/console": "^6.0|^7.0|^8.0",
44+
"illuminate/database": "^6.0|^7.0|^8.0",
45+
"illuminate/filesystem": "^6.0|^7.0|^8.0"
4646
},
4747
"require-dev": {
48-
"phpunit/phpunit": "^8.0",
48+
"phpunit/phpunit": "^9.0",
4949
"mockery/mockery": "^1.0",
50-
"orchestra/testbench": "^3.8",
50+
"orchestra/testbench": "^4.0",
5151
"ramsey/uuid": "^3.0"
5252
},
5353
"autoload": {

phpunit.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
backupGlobals="false"
35
backupStaticAttributes="false"
46
bootstrap="vendor/autoload.php"
57
colors="true"
@@ -16,9 +18,9 @@
1618
<directory suffix="Test.php">./tests</directory>
1719
</testsuite>
1820
</testsuites>
19-
<filter>
20-
<whitelist processUncoveredFilesFromWhitelist="true">
21+
<coverage processUncoveredFiles="true">
22+
<include>
2123
<directory suffix=".php">./src</directory>
22-
</whitelist>
23-
</filter>
24+
</include>
25+
</coverage>
2426
</phpunit>

0 commit comments

Comments
 (0)