File tree Expand file tree Collapse file tree 7 files changed +8
-17
lines changed Expand file tree Collapse file tree 7 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ environment:
7
7
matrix :
8
8
- php_ver : 7.3.1
9
9
FAST_LINT_TEST_CASES : 1
10
- - php_ver : 5.6.40
11
- SKIP_LINT_TEST_CASES : 1
12
10
13
11
cache :
14
12
- ' %APPDATA%\Composer'
Original file line number Diff line number Diff line change 62
62
63
63
- &STANDARD_TEST_JOB
64
64
stage : Fast Test
65
- php : 7.0
65
+ php : 7.1
66
66
install :
67
67
# Composer: enforce given Symfony components version
68
68
- if [ "$SYMFONY_VERSION" != "" ]; then composer global show symfony/flex -q || travis_retry composer global require $DEFAULT_COMPOSER_FLAGS symfony/flex; fi
77
77
-
78
78
<< : *STANDARD_TEST_JOB
79
79
stage : Test
80
- php : 5.6
80
+ php : 7.0
81
81
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
82
82
83
- -
84
- << : *STANDARD_TEST_JOB
85
- stage : Test
86
- php : 7.1
87
- name : 7.1 | Symfony ~4.1.0
88
- env : SYMFONY_DEPRECATIONS_HELPER=disabled PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER=1 SYMFONY_VERSION="~4.1.0"
89
-
90
83
-
91
84
<< : *STANDARD_TEST_JOB
92
85
stage : Test
Original file line number Diff line number Diff line change 14
14
}
15
15
],
16
16
"require" : {
17
- "php" : " ^5.6 || ^ 7.0" ,
17
+ "php" : " ^7.0" ,
18
18
"ext-json" : " *" ,
19
19
"ext-tokenizer" : " *" ,
20
20
"composer/semver" : " ^1.4 || ^2.0 || ^3.0" ,
Original file line number Diff line number Diff line change 2
2
set -eu
3
3
4
4
# ensure that deps will work on lowest supported PHP version
5
- composer config platform.php 2> /dev/null || composer config platform.php 5.6 .0
5
+ composer config platform.php 2> /dev/null || composer config platform.php 7.0 .0
6
6
7
7
# require suggested packages
8
8
composer require --no-update symfony/polyfill-mbstring
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Installation
5
5
Requirements
6
6
------------
7
7
8
- PHP needs to be a minimum version of PHP 5.6 .0.
8
+ PHP needs to be a minimum version of PHP 7.0 .0.
9
9
10
10
Installation
11
11
------------
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ if (defined('HHVM_VERSION_ID')) {
23
23
} else {
24
24
exit (1 );
25
25
}
26
- } elseif (!defined ('PHP_VERSION_ID ' ) || \PHP_VERSION_ID < 50600 || \PHP_VERSION_ID >= 70500 ) {
27
- fwrite (STDERR , "PHP needs to be a minimum version of PHP 5.6 .0 and maximum version of PHP 7.4.*. \n" );
26
+ } elseif (!defined ('PHP_VERSION_ID ' ) || \PHP_VERSION_ID < 70000 || \PHP_VERSION_ID >= 70500 ) {
27
+ fwrite (STDERR , "PHP needs to be a minimum version of PHP 7.0 .0 and maximum version of PHP 7.4.*. \n" );
28
28
29
29
if (getenv ('PHP_CS_FIXER_IGNORE_ENV ' )) {
30
30
fwrite (STDERR , "Ignoring environment requirements because `PHP_CS_FIXER_IGNORE_ENV` is set. Execution may be unstable. \n" );
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public function testIntegration(
139
139
$ steps [4 ],
140
140
]);
141
141
142
- $ optionalIncompatibilityWarning = 'PHP needs to be a minimum version of PHP 5.6 .0 and maximum version of PHP 7.4.*.
142
+ $ optionalIncompatibilityWarning = 'PHP needs to be a minimum version of PHP 7.0 .0 and maximum version of PHP 7.4.*.
143
143
Ignoring environment requirements because `PHP_CS_FIXER_IGNORE_ENV` is set. Execution may be unstable.
144
144
' ;
145
145
You can’t perform that action at this time.
0 commit comments