-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from xsolve-pl/symfony-4
Getting ready for Symfony 4.
- Loading branch information
Showing
40 changed files
with
77 additions
and
1,932 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,88 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
- vendor/ | ||
|
||
branches: | ||
only: | ||
- master | ||
- develop | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 5.6 | ||
env: SYMFONY=2.3.* | ||
env: | ||
- SYMFONY=2.3.* | ||
- PHPSTAN=false | ||
- php: 5.6 | ||
env: SYMFONY=2.7.* | ||
env: | ||
- SYMFONY=2.7.* | ||
- PHPSTAN=false | ||
- php: 5.6 | ||
env: SYMFONY=2.8.* | ||
env: | ||
- SYMFONY=2.8.* | ||
- PHPSTAN=false | ||
- php: 5.6 | ||
env: SYMFONY=3.0.* | ||
- php: 7.0 | ||
env: SYMFONY=3.0.* | ||
env: | ||
- SYMFONY=3.0.* | ||
- PHPSTAN=false | ||
- php: 7.0 | ||
env: SYMFONY=3.2.* | ||
env: | ||
- SYMFONY=3.0.* | ||
- PHPSTAN=true | ||
- php: 7.1 | ||
env: SYMFONY=3.2.* | ||
allow_failures: | ||
- php: hhvm | ||
|
||
cache: | ||
directories: | ||
- vendor/ | ||
- $HOME/.composer/cache | ||
env: | ||
- SYMFONY=3.0.* | ||
- PHPSTAN=true | ||
- php: 5.6 | ||
env: | ||
- SYMFONY=3.2.* | ||
- PHPSTAN=false | ||
- php: 7.1 | ||
env: | ||
- SYMFONY=3.2.* | ||
- PHPSTAN=true | ||
- php: 7.2 | ||
env: | ||
- SYMFONY=3.2.* | ||
- PHPSTAN=true | ||
- php: 5.6 | ||
env: | ||
- SYMFONY=3.4.* | ||
- PHPSTAN=false | ||
- php: 7.1 | ||
env: | ||
- SYMFONY=3.4.* | ||
- PHPSTAN=true | ||
- php: 7.2 | ||
env: | ||
- SYMFONY=3.4.* | ||
- PHPSTAN=true | ||
- php: 7.1 | ||
env: | ||
- SYMFONY=^4 | ||
- PHPSTAN=true | ||
- php: 7.2 | ||
env: | ||
- SYMFONY=^4 | ||
- PHPSTAN=true | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini || echo "xdebug not available" | ||
- phpenv config-rm xdebug.ini || echo "XDebug disabled." | ||
- composer self-update | ||
- if [ "$SYMFONY" != "" ]; then composer require "symfony/framework-bundle:$SYMFONY" --no-update; fi; | ||
|
||
install: | ||
- cp phpunit.xml.dist phpunit.xml | ||
- composer install | ||
- if [[ ${PHPSTAN} == "true" ]]; then composer require --dev phpstan/phpstan; fi | ||
|
||
script: | ||
- vendor/phpunit/phpunit/phpunit -c phpunit.xml Tests/ | ||
- if [[ ${PHPSTAN} == "true" ]]; then vendor/bin/phpstan analyse -l 7 -c phpstan.neon DependencyInjection/ XsolveModelFactoryBundle.php ; fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
ModelFactoryCollection/Exception/ModelFactoryCollectionException.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.