Merge pull request #373 from Big-Shark/patch-5

Compatible with Symfony3
This commit is contained in:
Toni Uebernickel 2016-02-14 17:59:37 +01:00
commit bb1c397786
3 changed files with 12 additions and 3 deletions

View file

@ -24,8 +24,13 @@ matrix:
allow_failures:
- php: hhvm
- env: SYMFONY_VERSION="^3.0.0"
- env: SYMFONY_VERSION="^3.0.0" COMPOSER_FLAGS="--prefer-lowest"
- env: SYMFONY_VERSION="dev-master"
exclude:
# Symfony 3.x requires PHP 5.5
- php: 5.4
env: SYMFONY_VERSION="~3.0.0"
- php: 5.4
env: SYMFONY_VERSION="dev-master"
before_install:
- phpenv config-rm xdebug.ini

View file

@ -1,3 +1,7 @@
<?php
require_once __DIR__ . '/../vendor/autoload.php';
if(!class_exists('Symfony\\Component\\Form\\Test\\TypeTestCase')) {
class_alias('Symfony\\Component\\Form\\Tests\\Extension\\Core\\Type\\TypeTestCase', 'Symfony\\Component\\Form\\Test\\TypeTestCase');
}

View file

@ -16,7 +16,7 @@
"require": {
"propel/propel": "dev-master",
"symfony/symfony": "^2.8"
"symfony/symfony": "~2.5||~3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.21|^5.0.10",