Skip to content

Commit f13422a

Browse files
authored
Allow PHP 8 (#16)
* Allow PHP 8
1 parent 880a8fe commit f13422a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.styleci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ finder:
66
path:
77
- "src"
88
- "tests"
9-
10-
enabled:
11-
- short_array_syntax

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@ matrix:
1717
fast_finish: true
1818
include:
1919
# Test with lowest dependencies
20-
- php: 7.1
20+
- php: 7.3
2121
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak"
2222

2323
# Test the latest stable release
24-
- php: 7.1
25-
- php: 7.2
2624
- php: 7.3
27-
env: COVERAGE=true TEST_COMMAND="composer test-ci" DEPENDENCIES="henrikbjorn/phpspec-code-coverage:^1.0"
25+
- php: 7.4
26+
- php: 8.0snapshot
2827

2928
# Force some major versions of Symfony
3029
- php: 7.3
@@ -35,7 +34,7 @@ matrix:
3534
env: SYMFONY_REQUIRE="5"
3635

3736
# Latest commit to master
38-
- php: 7.3
37+
- php: 8.0snapshot
3938
env: STABILITY="dev"
4039

4140
allow_failures:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.1",
14+
"php": "^7.3 || ^8.0",
1515
"symfony/stopwatch": "^3.4 || ^4.0 || ^5.0",
1616
"php-http/client-common": "^1.9 || ^2.0"
1717
},
1818
"require-dev": {
19-
"phpspec/phpspec": "^2.5 || ^3.0 || ^4.0"
19+
"phpspec/phpspec": "^7.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

0 commit comments

Comments
 (0)