File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
Tests/Functional/Fixtures/app Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,21 @@ matrix:
5353 - FRAMEWORK_EXTRA_VERSION='~3.0'
5454 - php : 5.6
5555 env :
56- - SYMFONY_VERSION='2.8.*@dev'
56+ - SYMFONY_VERSION='2.8.*'
57+ - FRAMEWORK_EXTRA_VERSION='~3.0'
58+ - php : 5.6
59+ env :
60+ - SYMFONY_VERSION='3.0.*'
5761 - FRAMEWORK_EXTRA_VERSION='~3.0'
5862
5963install :
6064 - pip install -qr Resources/doc/requirements.txt --user
6165
62- before_script :
66+ before_install :
6367 - sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
6468 - sh -c 'if [ "$FRAMEWORK_EXTRA_VERSION" != "" ]; then composer require --dev --no-update sensio/framework-extra-bundle=$FRAMEWORK_EXTRA_VERSION; fi;'
69+
70+ before_script :
6571 - composer update $COMPOSER_FLAGS
6672
6773script :
Original file line number Diff line number Diff line change 11<?php
22
33use Symfony \Component \Config \Loader \LoaderInterface ;
4+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
45use Symfony \Component \HttpKernel \Kernel ;
56
67class AppKernel extends Kernel
@@ -26,6 +27,12 @@ public function registerBundles()
2627 public function registerContainerConfiguration (LoaderInterface $ loader )
2728 {
2829 $ loader ->load (__DIR__ .'/config/config.yml ' );
30+
31+ if (class_exists ('Symfony\Component\Asset\Package ' )) {
32+ $ loader ->load (function (ContainerBuilder $ container ) {
33+ $ container ->loadFromExtension ('framework ' , array ('assets ' => array ()));
34+ });
35+ }
2936 }
3037
3138 /**
Original file line number Diff line number Diff line change 2323 "require" : {
2424 "php" : " >=5.3.3" ,
2525 "friendsofsymfony/http-cache" : " ~1.4" ,
26- "symfony/framework-bundle" : " ~ 2.3"
26+ "symfony/framework-bundle" : " ^ 2.3||^3.0 "
2727 },
2828 "require-dev" : {
2929 "mockery/mockery" : " 0.9.*" ,
3030 "monolog/monolog" : " *" ,
31- "sensio/framework-extra-bundle" : " ~ 2.3" ,
32- "symfony/symfony" : " ~ 2.3" ,
33- "symfony/phpunit-bridge" : " ~ 2.7" ,
34- "symfony/expression-language" : " ~ 2.4" ,
35- "symfony/monolog-bundle" : " ~ 2.3" ,
36- "polishsymfonycommunity/symfony-mocker-container" : " ~ 1.0" ,
31+ "sensio/framework-extra-bundle" : " ^ 2.3||^3.0 " ,
32+ "symfony/symfony" : " ^ 2.3||^3.0 " ,
33+ "symfony/phpunit-bridge" : " ^ 2.7||^3.0 " ,
34+ "symfony/expression-language" : " ^ 2.4||^3.0 " ,
35+ "symfony/monolog-bundle" : " ^ 2.3||^3.0 " ,
36+ "polishsymfonycommunity/symfony-mocker-container" : " ^ 1.0" ,
3737 "matthiasnoback/symfony-dependency-injection-test" : " ^0.7.4"
3838 },
3939 "suggest" : {
You can’t perform that action at this time.
0 commit comments