Skip to content

Commit

Permalink
[BUILD] Add PHP 7.4 to travis build (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Dec 6, 2019
2 parents c07bcb9 + 1daeb45 commit ae10980
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.2
- 7.3
- 7.4

sudo: false

Expand All @@ -29,25 +30,25 @@ matrix:
fast_finish: true
include:
- stage: lint
php: 7.3
php: 7.4
env: TARGET=lint
- stage: lint
php: 7.3
php: 7.4
env: TARGET=phpstan
- stage: lint
php: 7.3
php: 7.4
env: TARGET=checkdeps
- stage: test
php: 7.2
env: COMPOSER_FLAGS="--prefer-lowest"
- stage: test
php: 7.3
php: 7.4
env: SYMFONY_VERSION=3.4.*
- stage: test
php: 7.3
php: 7.4
env: SYMFONY_VERSION=4.2.*
allow_failures:
- php: 7.3
- php: 7.4
env: TARGET=checkdeps

before_install:
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ parameters:
- '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'
- "/Call to function method_exists.. with 'Symfony.+' and 'getRootNode' will always evaluate to false./"

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder::root\\(\\)\\.$#"
count: 1
path: src/DependencyInjection/Configuration.php

0 comments on commit ae10980

Please sign in to comment.