Skip to content

Commit 141162e

Browse files
authored
Allow PHP 8 support in composer (#50)
* Allow PHP 8 support in composer Helps avoid this issue with the composer when running on PHP 8 environments. Pulled the commit off the suggestions from this issue #48 * Run the test suite against PHP 8
1 parent 3c60759 commit 141162e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 7.2
55
- 7.3
66
- 7.4
7+
- 8.0
78

89
env:
910
matrix:

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php" : "^7.2",
20+
"php" : "^7.0|^8.0",
2121
"illuminate/support": "~6.0|~7.0|~8.0",
2222
"illuminate/http": "~6.0|~7.0|~8.0",
2323
"symfony/dom-crawler": "^2.7|^3.0|^4.0|^5.0",

0 commit comments

Comments
 (0)