Skip to content

Commit 74b1508

Browse files
committed
Add support for PHP 8
1 parent 5381afa commit 74b1508

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ indent_size = 4
99
end_of_line = lf
1010
insert_final_newline = true
1111
trim_trailing_whitespace = true
12+
13+
[*.yml]
14+
indent_size = 2

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ language: php
33
php:
44
- 7.2
55
- 7.4
6+
- 'nightly'
67

78
matrix:
89
include:
910
- php: 7.2
1011
env: PHPCS=1
1112

12-
before_script: composer install
13+
install:
14+
- composer install --no-interaction
1315

1416
script:
1517
- if [[ $PHPCS != 1 ]]; then vendor/bin/phpunit; fi

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2",
13+
"php": ">=7.2.0",
1414
"composer-plugin-api": "^1.0 || ^2.0"
1515
},
1616
"require-dev": {
1717
"cakephp/cakephp-codesniffer": "^4.1",
1818
"composer/composer": "^2.0@RC",
19-
"phpunit/phpunit": "~8.5.0"
19+
"phpunit/phpunit": "^8.5 || ^9.3"
2020
},
2121
"autoload": {
2222
"psr-4": {

0 commit comments

Comments
 (0)