Drop PHP 5 support

This commit is contained in:
Fabien Potencier
2020-05-19 06:58:36 +02:00
parent d69dc2b207
commit 52028f91eb
4 changed files with 8 additions and 18 deletions
-11
View File
@@ -11,7 +11,6 @@ cache:
env: env:
global: global:
- TWIG_EXT=no
- SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 - SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1 - SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
@@ -21,21 +20,11 @@ before_install:
install: install:
- travis_retry composer install - travis_retry composer install
before_script:
- if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
- if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
script: ./vendor/bin/simple-phpunit script: ./vendor/bin/simple-phpunit
jobs: jobs:
fast_finish: true fast_finish: true
include: include:
- php: 5.5
- php: 5.5
env: TWIG_EXT=yes
- php: 5.6
- php: 5.6
env: TWIG_EXT=yes
- php: 7.0 - php: 7.0
- php: 7.1 - php: 7.1
- php: 7.2 - php: 7.2
+2 -1
View File
@@ -1,5 +1,6 @@
# 1.42.6 (2020-XX-XX) # 1.43.0 (2020-XX-XX)
* Drop PHP 5.5 and 5.6 support
* Fix ambiguous syntax parsing * Fix ambiguous syntax parsing
# 1.42.5 (2020-02-11) # 1.42.5 (2020-02-11)
+2 -2
View File
@@ -23,7 +23,7 @@
} }
], ],
"require": { "require": {
"php": ">=5.5.0", "php": ">=7.0",
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8"
}, },
"require-dev": { "require-dev": {
@@ -45,7 +45,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.42-dev" "dev-master": "1.43-dev"
} }
} }
} }
+4 -4
View File
@@ -41,11 +41,11 @@ use Twig\TokenParser\TokenParserInterface;
*/ */
class Environment class Environment
{ {
const VERSION = '1.42.6-DEV'; const VERSION = '1.43.0-DEV';
const VERSION_ID = 14206; const VERSION_ID = 14300;
const MAJOR_VERSION = 1; const MAJOR_VERSION = 1;
const MINOR_VERSION = 42; const MINOR_VERSION = 43;
const RELEASE_VERSION = 6; const RELEASE_VERSION = 0;
const EXTRA_VERSION = 'DEV'; const EXTRA_VERSION = 'DEV';
protected $charset; protected $charset;