Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 49e9fa1

Browse filesBrowse files
committed
Merge pull request FriendsOfSymfony#268 from FriendsOfSymfony/symfony-3
Symfony 3
2 parents 3ac674a + 6381252 commit 49e9fa1
Copy full SHA for 49e9fa1

File tree

Expand file treeCollapse file tree

3 files changed

+22
-9
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+22
-9
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+8-2Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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

5963
install:
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

6773
script:

‎Tests/Functional/Fixtures/app/AppKernel.php

Copy file name to clipboardExpand all lines: Tests/Functional/Fixtures/app/AppKernel.php
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Symfony\Component\Config\Loader\LoaderInterface;
4+
use Symfony\Component\DependencyInjection\ContainerBuilder;
45
use Symfony\Component\HttpKernel\Kernel;
56

67
class 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
/**

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
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": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.