Merge pull request #373 from Big-Shark/patch-5
Compatible with Symfony3
This commit is contained in:
commit
bb1c397786
|
@ -24,8 +24,13 @@ matrix:
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
- env: SYMFONY_VERSION="^3.0.0"
|
- env: SYMFONY_VERSION="dev-master"
|
||||||
- env: SYMFONY_VERSION="^3.0.0" COMPOSER_FLAGS="--prefer-lowest"
|
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:
|
before_install:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once __DIR__ . '/../vendor/autoload.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": {
|
"require": {
|
||||||
"propel/propel": "dev-master",
|
"propel/propel": "dev-master",
|
||||||
"symfony/symfony": "^2.8"
|
"symfony/symfony": "~2.5||~3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8.21|^5.0.10",
|
"phpunit/phpunit": "^4.8.21|^5.0.10",
|
||||||
|
|
Loading…
Reference in a new issue