Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit b5b0e28

Browse files
authored
Merge pull request #191 from symfony-cmf/2.0-last-fixes
Last preparations before 2.0
2 parents 4086e64 + 85e0770 commit b5b0e28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+35
-18
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ cache:
1212
directories:
1313
- $HOME/.composer/cache/files
1414

15-
env: SYMFONY_VERSION=2.8.*
15+
env:
16+
matrix: SYMFONY_VERSION=3.2.*
17+
global: SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
1618

1719
matrix:
1820
include:
19-
- php: 7.0
20-
env: DEPS=dev SYMFONY_VERSION=3.1.*
21+
- php: 7.1
22+
env: DEPS=dev SYMFONY_VERSION=3.3.*
2123
- php: 5.5
22-
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
23-
- php: 7.0
24-
env: DEPS=dev COMPOSER_FLAGS="--prefer-stable" SYMFONY_VERSION=3.0.*
24+
env: SYMFONY_VERSION=2.8.* COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
25+
- php: 7.1
26+
env: SYMFONY_VERSION=3.1.*
2527
fast_finish: true
2628

2729
before_install:
@@ -35,8 +37,7 @@ install: composer update $COMPOSER_FLAGS --prefer-dist
3537

3638
before_script: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
3739

38-
script: phpunit
40+
script: vendor/bin/simple-phpunit
3941

4042
notifications:
4143
irc: "irc.freenode.org#symfony-cmf"
42-

CHANGELOG.md

Lines changed: 3 additions & 1 deletion

README.md

Lines changed: 1 addition & 1 deletion

UPGRADE-2.0.md

Lines changed: 6 additions & 0 deletions

composer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^5.5.9|^7.0",
13+
"php": "^5.5.6|^7.0",
1414
"symfony/framework-bundle": "^2.8|^3.0",
1515
"symfony/config": "^2.8|^3.0",
1616
"symfony-cmf/routing-auto": "^2.0@dev",
@@ -21,19 +21,27 @@
2121
},
2222
"require-dev": {
2323
"symfony-cmf/testing": "^1.3|^2.0",
24+
"symfony/phpunit-bridge": "^3.2",
2425
"symfony/yaml": "^2.8|^3.0",
2526
"matthiasnoback/symfony-dependency-injection-test": "~0.6",
2627
"matthiasnoback/symfony-config-test": "^1.3.1",
2728
"doctrine/phpcr-odm": "^1.3|^2.0"
2829
},
30+
"minimum-stability": "dev",
31+
"prefer-stable": true,
2932
"suggest": {
3033
"doctrine/phpcr-odm": "To enable support for the PHPCR ODM documents",
3134
"doctrine/phpcr-bundle": "To enable support for the PHPCR ODM documents",
3235
"symfony/yaml": "To be able to load Yaml configuration files (^2.1)"
3336
},
3437
"autoload": {
3538
"psr-4": {
36-
"Symfony\\Cmf\\Bundle\\RoutingAutoBundle\\": ""
39+
"Symfony\\Cmf\\Bundle\\RoutingAutoBundle\\": "src/"
40+
}
41+
},
42+
"autoload-dev": {
43+
"psr-4": {
44+
"Symfony\\Cmf\\Bundle\\RoutingAutoBundle\\Tests\\": "tests/"
3745
}
3846
},
3947
"extra": {

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<testsuites>
1010
<testsuite name="CmfRoutingAutoBundle Test Suite">
11-
<directory>./Tests</directory>
11+
<directory>./tests</directory>
1212
</testsuite>
1313
</testsuites>
1414

@@ -26,7 +26,7 @@
2626
</filter>
2727

2828
<php>
29-
<server name="KERNEL_DIR" value="Tests/Resources/app" />
29+
<server name="KERNEL_DIR" value="tests/Resources/app" />
3030
</php>
3131

3232
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)