Skip to content

Commit ab78578

Browse files
authored
Merge pull request #126 from symfony-cmf/start-2.0
Start 2.0
2 parents 5e6badb + d022646 commit ab78578

File tree

6 files changed

+18
-149
lines changed

6 files changed

+18
-149
lines changed

.travis.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: php
22

33
php:
4-
- 5.3
5-
- 5.4
64
- 5.5
75
- 5.6
86
- 7.0
@@ -15,20 +13,18 @@ cache:
1513
- $HOME/.composer/cache/files
1614

1715
env:
18-
- SYMFONY_VERSION=2.8.*
16+
- SYMFONY_VERSION=3.0.*
1917

2018
matrix:
2119
include:
22-
- php: 5.6
20+
- php: 7.0
2321
env: DEPS=dev
24-
- php: 5.3
22+
- php: 5.5
2523
env: COMPOSER_FLAGS="--prefer-lowest"
26-
- php: 5.6
27-
env: SYMFONY_VERSION=2.3.*
28-
- php: 5.6
29-
env: SYMFONY_VERSION=2.7.*
30-
- php: 5.6
31-
env: SYMFONY_VERSION=3.0.*
24+
- php: 7.0
25+
env: SYMFONY_VERSION=2.8.*
26+
- php: 7.0
27+
env: SYMFONY_VERSION=3.1.*
3228
fast_finish: true
3329

3430
before_install:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
* **2016-06-21**: [BC BREAK] Deleted the `sonata_admin` bundle set.
5+
* **2016-06-21**: [BC BREAK] Deleted the `LoadBaseData` data fixtures.
6+
* **2016-06-21**: [BC BREAK] Deleted the `Content` document.
7+
* **2016-06-21**: [BC BREAK] Dropped PHP <5.5 support.
8+
* **2016-06-21**: [BC BREAK] Dropped Symfony <2.8 support.
9+
410
1.3.0
511
-----
612

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88
"homepage": "https://github.com/symfony-cmf/Routing/contributors"
99
}
1010
],
11-
"prefer-stable": true,
1211
"require": {
13-
"php": "^5.3.9|^7.0",
14-
"symfony/symfony": "^2.3|3.*",
15-
"symfony/phpunit-bridge": "^2.8.1|3.*",
16-
"symfony/monolog-bundle": "^2.1|3.*",
12+
"php": "^5.5.6|^7.0",
13+
"symfony/symfony": "^2.8|^3.0",
14+
"symfony/phpunit-bridge": "^2.8.1|^3.0",
15+
"symfony/monolog-bundle": "^2.1|^3.0",
1716
"doctrine/common": "^2.4",
1817
"doctrine/doctrine-bundle": "^1.0",
19-
"doctrine/phpcr-odm": "^1.1",
18+
"doctrine/phpcr-odm": "^1.1|^2.0",
2019
"doctrine/phpcr-bundle": "^1.1",
2120
"doctrine/data-fixtures": "^1.0",
2221
"jackalope/jackalope": "^1.1.5",

src/DataFixtures/PHPCR/LoadBaseData.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/Document/Content.php

Lines changed: 0 additions & 89 deletions
This file was deleted.

src/HttpKernel/TestKernel.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ public function __construct($env, $debug)
6161
$baseSonataBundles[] = 'Sonata\jQueryBundle\SonatajQueryBundle';
6262
}
6363

64-
$this->registerBundleSet('sonata_admin', array_merge(array(
65-
'Sonata\DoctrinePHPCRAdminBundle\SonataDoctrinePHPCRAdminBundle',
66-
'Symfony\Cmf\Bundle\TreeBrowserBundle\CmfTreeBrowserBundle',
67-
), $baseSonataBundles));
68-
6964
$this->registerBundleSet('sonata_admin_orm', array_merge(array(
7065
'Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle',
7166
), $baseSonataBundles));
@@ -119,10 +114,6 @@ public function requireBundleSets(array $names)
119114
*/
120115
public function requireBundleSet($name)
121116
{
122-
if ('sonata_admin' === $name) {
123-
@trigger_error('The "sonata_admin" bundleset is deprecated since version 1.1 and will be removed in 2.0. Use the "sonata_admin_phpcr" bundleset instead.', E_USER_DEPRECATED);
124-
}
125-
126117
if (!isset($this->bundleSets[$name])) {
127118
throw new \InvalidArgumentException(sprintf(
128119
'Bundle set %s has not been registered, available bundle sets: %s',

0 commit comments

Comments
 (0)