Skip to content

Commit 47ebbd4

Browse files
Fix compatibility with Symfony 2.8 and update Travis CI for supported PHP versions (#5)
1 parent b629037 commit 47ebbd4

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

.travis.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
language: php
22

3-
sudo: false
3+
dist: bionic
44

55
cache:
6-
directories:
7-
- $HOME/.composer/cache
6+
directories:
7+
- $HOME/.composer/cache
88

9-
php:
10-
- 5.4
11-
- 5.5
12-
- 5.6
13-
- 7.0
14-
- 7.1
15-
- 7.2
16-
- nightly
17-
18-
matrix:
9+
jobs:
10+
include:
11+
- php: 5.3
12+
dist: precise
13+
env: COMPOSER_MEMORY_LIMIT=4G
14+
- php: 5.4
15+
dist: trusty
16+
- php: 5.5
17+
dist: trusty
18+
- php: 5.6
19+
dist: xenial
20+
- php: 7.0
21+
dist: xenial
22+
- php: 7.1
23+
- php: 7.2
24+
- php: 7.3
25+
- php: 7.4
26+
- php: nightly
1927
allow_failures:
2028
- php: nightly
2129

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"behat/behat": "~3.0"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^4.8.36|^6.3"
19+
"phpunit/phpunit": "^4.8.36|^6.3|^7.5.15"
2020
},
2121
"autoload": {
2222
"psr-4": { "Caciobanu\\Behat\\DeprecationExtension\\": "src/" }

src/ServiceContainer/DeprecationExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function configure(ArrayNodeDefinition $builder)
6060
$builder
6161
->children()
6262
->arrayNode('ignore')
63-
->arrayPrototype()
63+
->prototype('array')
6464
->children()
6565
->scalarNode('file')->end()
6666
->scalarNode('message')->end()

0 commit comments

Comments
 (0)