Compatible with Symfony3
This commit is contained in:
parent
58b80628dd
commit
443fb8291a
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue