Commit f1f9ce42 authored by Fabien Potencier's avatar Fabien Potencier

dropped support for older versions of PHP and Symfony

parent a50ba322
...@@ -14,31 +14,6 @@ cache: ...@@ -14,31 +14,6 @@ cache:
before_install: before_install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
# Twig 1.x
- if [[ $TWIG_VERSION != 2.0 ]]; then sed -i 's/~1.8|~2.0/~1.8/g' composer.json; fi
# Symfony 2.8
- if [[ $SYMFONY_DEPS_VERSION = 2.8 ]]; then sed -i 's/~2\.8|^3\.0/2.8.*/g' composer.json; fi
# Symfony 3.3
- |
if [[ $SYMFONY_DEPS_VERSION = 3.3 ]]; then
sed -i 's/~2\.8|^3\.0/3.3.*/g' composer.json;
composer require --no-update symfony/web-link:3.3.*
fi
# Symfony 3.4
- |
if [[ $SYMFONY_DEPS_VERSION = 3.4 ]]; then
sed -i 's/~2\.8|^3\.0/3.4.*/g' composer.json;
composer require --no-update symfony/web-link:3.4.*
fi
# Symfony 4.0
- |
if [[ $SYMFONY_DEPS_VERSION = 4.0 ]]; then
sed -i 's/~2\.8|^3\.0/4.0.*/g' composer.json;
composer require --no-update symfony/web-link:4.0.*
fi
- composer update --no-suggest - composer update --no-suggest
install: install:
...@@ -48,18 +23,5 @@ script: ./vendor/bin/simple-phpunit ...@@ -48,18 +23,5 @@ script: ./vendor/bin/simple-phpunit
matrix: matrix:
include: include:
- php: 5.5
- php: 5.6
env: TWIG_VERSION=2.0
- php: 5.6
env: SYMFONY_DEPS_VERSION=2.8
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.3
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.4
- php: 7.2
env: SYMFONY_DEPS_VERSION=4.0
- php: 5.6
- php: 7.0
- php: 7.1 - php: 7.1
- php: 7.2 - php: 7.2
...@@ -15,43 +15,40 @@ ...@@ -15,43 +15,40 @@
} }
], ],
"require": { "require": {
"php": ">=5.5.9", "php": ">=7.1.3",
"pimple/pimple": "~3.0", "pimple/pimple": "^3.0",
"symfony/event-dispatcher": "~2.8|^3.4|^4.0", "symfony/event-dispatcher": "^4.0",
"symfony/http-foundation": "~2.8|^3.4|^4.0", "symfony/http-foundation": "^4.0",
"symfony/http-kernel": "~2.8|^3.4|^4.0", "symfony/http-kernel": "^4.0",
"symfony/routing": "~2.8|^3.4|^4.0" "symfony/routing": "^4.0"
}, },
"require-dev": { "require-dev": {
"symfony/asset": "~2.8|^3.4|^4.0", "symfony/asset": "^4.0",
"symfony/expression-language": "~2.8|^3.4|^4.0", "symfony/expression-language": "^4.0",
"symfony/security": "~2.8|^3.4|^4.0", "symfony/security": "^4.0",
"symfony/config": "~2.8|^3.4|^4.0", "symfony/config": "^4.0",
"symfony/form": "~2.8|^3.4|^4.0", "symfony/form": "^4.0",
"symfony/browser-kit": "~2.8|^3.4|^4.0", "symfony/browser-kit": "^4.0",
"symfony/css-selector": "~2.8|^3.4|^4.0", "symfony/css-selector": "^4.0",
"symfony/debug": "~2.8|^3.4|^4.0", "symfony/debug": "^4.0",
"symfony/dom-crawler": "~2.8|^3.4|^4.0", "symfony/dom-crawler": "^4.0",
"symfony/finder": "~2.8|^3.4|^4.0", "symfony/finder": "^4.0",
"symfony/intl": "~2.8|^3.4|^4.0", "symfony/intl": "^4.0",
"symfony/monolog-bridge": "~2.8|^3.4|^4.0", "symfony/monolog-bridge": "^4.0",
"symfony/doctrine-bridge": "~2.8|^3.4|^4.0", "symfony/doctrine-bridge": "^4.0",
"symfony/options-resolver": "~2.8|^3.4|^4.0", "symfony/options-resolver": "^4.0",
"symfony/phpunit-bridge": "^3.2", "symfony/phpunit-bridge": "^3.2",
"symfony/process": "~2.8|^3.4|^4.0", "symfony/process": "^4.0",
"symfony/serializer": "~2.8|^3.4|^4.0", "symfony/serializer": "^4.0",
"symfony/translation": "~2.8|^3.4|^4.0", "symfony/translation": "^4.0",
"symfony/twig-bridge": "~2.8|^3.4|^4.0", "symfony/twig-bridge": "^4.0",
"symfony/validator": "~2.8|^3.4|^4.0", "symfony/validator": "^4.0",
"symfony/var-dumper": "~2.8|^3.4|^4.0", "symfony/var-dumper": "^4.0",
"twig/twig": "~1.30|~2.0", "twig/twig": "^2.0",
"doctrine/dbal": "~2.2", "doctrine/dbal": "^2.2",
"swiftmailer/swiftmailer": "~5", "swiftmailer/swiftmailer": "^5",
"monolog/monolog": "^1.4.1", "monolog/monolog": "^1.4.1",
"symfony/web-link": "^3.4|^4.0" "symfony/web-link": "^4.0"
},
"conflict": {
"phpunit/phpunit": "<4.8.35 || >= 5.0, <5.4.3"
}, },
"replace": { "replace": {
"silex/api": "self.version", "silex/api": "self.version",
......
...@@ -9,6 +9,9 @@ Changelog ...@@ -9,6 +9,9 @@ Changelog
* allow setting custom status code on exception response with Symfony 3.3+ * allow setting custom status code on exception response with Symfony 3.3+
* made CSRF extension work with Validator translations domain * made CSRF extension work with Validator translations domain
* fixed Security provider context usage * fixed Security provider context usage
* dropped support for Twig < 2.0
* dropped support for PHP < 7.1
* dropped support for Symfony 2.x and 3.x
* added support for Symfony 4 * added support for Symfony 4
2.2.3 (2018-02-25) 2.2.3 (2018-02-25)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment