diff --git a/.travis.yml b/.travis.yml index 71f8b45..d7db3a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/composer.json b/composer.json index f6ee954..65d8395 100644 --- a/composer.json +++ b/composer.json @@ -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/" } diff --git a/src/ServiceContainer/DeprecationExtension.php b/src/ServiceContainer/DeprecationExtension.php index bd6aa85..3f1a013 100644 --- a/src/ServiceContainer/DeprecationExtension.php +++ b/src/ServiceContainer/DeprecationExtension.php @@ -60,7 +60,7 @@ public function configure(ArrayNodeDefinition $builder) $builder ->children() ->arrayNode('ignore') - ->arrayPrototype() + ->prototype('array') ->children() ->scalarNode('file')->end() ->scalarNode('message')->end()