Skip to content

Commit c2f58a6

Browse files
authored
Bump to Symfony 3.4 and PHP 7.1 (#277)
* Use phpunit 6.5 * Bump to sf 3.4 and php 7.1 * Added changelog * PHPUnit fixes
1 parent 3e439cb commit c2f58a6

File tree

4 files changed

+28
-35
lines changed

4 files changed

+28
-35
lines changed

.travis.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ branches:
1212
env:
1313
global:
1414
- TEST_COMMAND="composer test"
15-
- SYMFONY_PHPUNIT_VERSION="6.3"
15+
- SYMFONY_PHPUNIT_VERSION="6.5"
1616
- COMPOSER_MEMORY_LIMIT=-1
1717

1818
matrix:
@@ -24,29 +24,19 @@ matrix:
2424

2525
# Test with lowest dependencies
2626
- php: 7.1
27-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak" SYMFONY_PHPUNIT_VERSION="5.7"
28-
- php: 5.6
29-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak" SYMFONY_PHPUNIT_VERSION="5.7"
27+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak"
3028

3129
# Test the latest stable release
32-
- php: 5.6
33-
env: SYMFONY_PHPUNIT_VERSION="5.7"
34-
- php: 5.6
35-
env: SYMFONY_PHPUNIT_VERSION="5.7"
36-
- php: 7.0
3730
- php: 7.1
3831
- php: 7.3
3932
- php: 7.4snapshot
4033

4134
# Force some major versions of Symfony
42-
- php: 7.2
43-
env: DEPENDENCIES="dunglas/symfony-lock:^2 symfony/property-access:^2.8"
4435
- php: 7.2
4536
env: DEPENDENCIES="dunglas/symfony-lock:^3"
4637
- php: 7.2
4738
env: DEPENDENCIES="dunglas/symfony-lock:^4"
48-
- php: 7.0
49-
env: DEPENDENCIES="dunglas/symfony-lock:^2 twig/twig:^1.34,<1.39 symfony/property-access:^2.8"
39+
5040

5141
# Latest commit to master
5242
- php: 7.2

Changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
44

5+
## 0.9.0
6+
7+
### Removed
8+
9+
- Support for PHP < 7.1
10+
- Support for Symfony < 3.4
11+
512
## 0.8.2
613

714
### Added

composer.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^5.5 || ^7.0",
14-
"symfony/framework-bundle": "^2.7 || ^3.0 || ^4.0",
15-
"symfony/validator": "^2.7 || ^3.0 || ^4.0",
16-
"symfony/translation": "^2.7 || ^3.0 || ^4.0,<4.2",
17-
"symfony/twig-bundle": "^2.7 || ^3.0 || ^4.0",
18-
"symfony/finder": "^2.7 || ^3.0 || ^4.0",
19-
"symfony/intl": "^2.7 || ^3.0 || ^4.0",
13+
"php": "^7.1",
14+
"symfony/framework-bundle": "^3.4 || ^4.0",
15+
"symfony/validator": "^3.4 || ^4.0",
16+
"symfony/translation": "^3.4 || ^4.0,<4.2",
17+
"symfony/twig-bundle": "^3.4 || ^4.0",
18+
"symfony/finder": "^3.4 || ^4.0",
19+
"symfony/intl": "^3.4 || ^4.0",
2020

2121
"php-translation/common": "^1.0",
2222
"php-translation/symfony-storage": "^1.0",
@@ -25,21 +25,21 @@
2525
"twig/twig": "<1.39 || ^2.0,<2.8"
2626
},
2727
"require-dev": {
28-
"symfony/phpunit-bridge": "^3.4.19 || ^4.0",
28+
"symfony/phpunit-bridge": "^4.2",
2929
"php-translation/translator": "^1.0",
3030
"php-http/curl-client": "^1.7",
3131
"php-http/message": "^1.6",
3232
"php-http/message-factory": "^1.0.2",
33-
"symfony/console": "^2.7 || ^3.0 || ^4.0",
34-
"symfony/twig-bridge": "^2.7 || ^3.0 || ^4.0",
35-
"symfony/asset": "^2.7 || ^3.0 || ^4.0",
36-
"symfony/templating": "^2.7 || ^3.0 || ^4.0",
37-
"symfony/dependency-injection": "^2.7 || ^3.0 || ^4.0",
38-
"symfony/web-profiler-bundle": "^2.7 || ^3.0 || ^4.0",
39-
"matthiasnoback/symfony-dependency-injection-test": "^1.2 || ^2.3 || ^3.0",
40-
"matthiasnoback/symfony-config-test": "^2.2 || ^3.1 || ^4.0",
41-
"guzzlehttp/psr7": "^1.4",
42-
"nyholm/symfony-bundle-test": "^1.2.3"
33+
"symfony/console": "^3.4 || ^4.0",
34+
"symfony/twig-bridge": "^3.4 || ^4.0",
35+
"symfony/asset": "^3.4 || ^4.0",
36+
"symfony/templating": "^3.4 || ^4.0",
37+
"symfony/dependency-injection": "^3.4 || ^4.0",
38+
"symfony/web-profiler-bundle": "^3.4 || ^4.0",
39+
"matthiasnoback/symfony-dependency-injection-test": "^3.1",
40+
"matthiasnoback/symfony-config-test": "^4.0",
41+
"nyholm/psr7": "^1.1",
42+
"nyholm/symfony-bundle-test": "^1.4"
4343
},
4444
"suggest": {
4545
"php-http/httplug-bundle": "To easier configure your httplug clients."

phpunit.xml.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="false"
11-
syntaxCheck="false"
12-
codecoverage="true"
1311
bootstrap="./vendor/autoload.php"
1412
>
15-
1613
<php>
1714
<env name="ENV" value="test" />
1815
<env name="SYMFONY_DEPRECATIONS_HELPER" value="verbose=1" />
1916
</php>
2017

21-
<formatter type="clover" usefile="false"/>
2218
<testsuites>
2319
<testsuite name="Test Suite">
2420
<directory>./Tests</directory>

0 commit comments

Comments
 (0)