Skip to content

Commit

Permalink
Fix compatibility with Symfony 2.8 and update Travis CI for supported…
Browse files Browse the repository at this point in the history
… PHP versions (#5)
  • Loading branch information
guilliamxavier authored Jul 7, 2020
1 parent b629037 commit 47ebbd4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 15 deletions.
34 changes: 21 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
language: php

sudo: false
dist: bionic

cache:
directories:
- $HOME/.composer/cache
directories:
- $HOME/.composer/cache

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly

matrix:
jobs:
include:
- php: 5.3
dist: precise
env: COMPOSER_MEMORY_LIMIT=4G
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: nightly
allow_failures:
- php: nightly

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"behat/behat": "~3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36|^6.3"
"phpunit/phpunit": "^4.8.36|^6.3|^7.5.15"
},
"autoload": {
"psr-4": { "Caciobanu\\Behat\\DeprecationExtension\\": "src/" }
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceContainer/DeprecationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function configure(ArrayNodeDefinition $builder)
$builder
->children()
->arrayNode('ignore')
->arrayPrototype()
->prototype('array')
->children()
->scalarNode('file')->end()
->scalarNode('message')->end()
Expand Down

0 comments on commit 47ebbd4

Please sign in to comment.