Skip to content

Commit e42cf6b

Browse files
committed
Merge branch '2.15' into 2.16
2 parents 4aa32c3 + 8527c11 commit e42cf6b

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

.circleci/config.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
jobs:
44
build:
55
macos:
6-
xcode: '10.1.0'
6+
xcode: '11.3.0'
77
steps:
88
- checkout
99

@@ -12,10 +12,9 @@ jobs:
1212
- cache-{{ checksum "composer.json" }}
1313

1414
- run: brew update
15-
- run: brew install [email protected]
16-
- run: brew link --force --overwrite [email protected]
17-
- run: php --version
18-
- run: echo "memory_limit = 512M" > $(brew --prefix)/etc/php/7.2/conf.d/memory.ini
15+
- run: brew remove python@2
16+
- run: brew install [email protected]
17+
- run: echo "memory_limit = 512M" > $(brew --prefix)/etc/php/7.4/conf.d/memory.ini
1918
- run: curl -sS https://getcomposer.org/installer | php
2019
- run: php composer.phar global show hirak/prestissimo -q || php composer.phar global require --no-interaction --no-progress --optimize-autoloader hirak/prestissimo
2120
- run: php composer.phar install --optimize-autoloader --no-interaction --no-progress --no-suggest

.travis.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
include:
2626
-
2727
stage: Static Code Analysis
28-
php: 7.3
28+
php: 7.4
2929
env: COMPOSER_FLAGS="--prefer-stable"
3030
install:
3131
- travis_retry ./dev-tools/install.sh
@@ -81,12 +81,14 @@ jobs:
8181
<<: *STANDARD_TEST_JOB
8282
stage: Test
8383
php: 7.1
84+
name: 7.1 | Symfony 4.1
8485
env: SYMFONY_DEPRECATIONS_HELPER=disabled PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER=1 SYMFONY_VERSION="~4.1.0"
8586

8687
-
8788
<<: *STANDARD_TEST_JOB
8889
stage: Test
8990
php: 7.2
91+
name: 7.2 | Symfony 5.0
9092
env: SYMFONY_DEPRECATIONS_HELPER=disabled PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER=1 SYMFONY_VERSION="^5.0"
9193

9294
-
@@ -95,13 +97,13 @@ jobs:
9597
php: 7.3
9698
name: 7.3 | With migration rules
9799
before_script:
98-
- php php-cs-fixer fix --rules @PHP71Migration,@PHP71Migration:risky,blank_line_after_opening_tag -q || travis_terminate 1
100+
- php php-cs-fixer fix --rules @PHP73Migration,@PHP71Migration:risky,blank_line_after_opening_tag -q || travis_terminate 1
99101

100102
-
101103
<<: *STANDARD_TEST_JOB
102104
stage: Test
103-
php: 7.3
104-
name: 7.3 | Collect coverage
105+
php: 7.4
106+
name: 7.4 | Collect coverage
105107
before_install:
106108
# for building a tag release we don't need to collect code coverage
107109
- if [ $TRAVIS_TAG ]; then travis_terminate 0; fi
@@ -118,7 +120,7 @@ jobs:
118120

119121
# Install PCOV
120122
- |
121-
git clone --single-branch --branch=v1.0.2 --depth=1 https://github.com/krakjoe/pcov
123+
git clone --single-branch --branch=v1.0.6 --depth=1 https://github.com/krakjoe/pcov
122124
cd pcov
123125
phpize
124126
./configure
@@ -135,12 +137,12 @@ jobs:
135137
-
136138
<<: *STANDARD_TEST_JOB
137139
stage: Test
138-
php: 7.4snapshot
140+
php: nightly
139141
env: COMPOSER_FLAGS="--ignore-platform-reqs" PHP_CS_FIXER_IGNORE_ENV=1 SYMFONY_DEPRECATIONS_HELPER=weak
140142

141143
-
142144
stage: Deployment
143-
php: 7.3
145+
php: 7.4
144146
install: ./dev-tools/build.sh
145147
script:
146148
- PHP_CS_FIXER_TEST_ALLOW_SKIPPING_SMOKE_TESTS=0 vendor/bin/phpunit tests/Smoke/
@@ -159,3 +161,6 @@ jobs:
159161
tags: true
160162
after_deploy:
161163
- ./dev-tools/trigger-website.sh ${TRAVIS_TOKEN} ${TRAVIS_TAG}
164+
165+
allow_failures:
166+
- php: nightly

dev-tools/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"php": "^7.1"
44
},
55
"require-dev": {
6-
"humbug/box": "~3.7.0",
6+
"humbug/box": "^3.8",
77
"localheinz/composer-normalize": "^1.1",
88
"mi-schi/phpmd-extension": "^4.3",
99
"phpmd/phpmd": "^2.6",

phpstan.neon

-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ parameters:
1111
ignoreErrors:
1212
- '/^.+::__construct\(\) does not call parent constructor from SplFileInfo\.$/'
1313
- '/^Return typehint of method PhpCsFixer\\Tests\\Test\\.+::createIsIdenticalStringConstraint\(\) has invalid type PHPUnit_Framework_Constraint_IsIdentical\.$/'
14-
## cannot analyse out of PHP 7.4
15-
- '/^Constant T_FN not found\.$/'
1614
- '/^Class (Symfony\\Contracts\\EventDispatcher\\Event|Symfony\\Component\\EventDispatcher\\Event) not found.$/'

0 commit comments

Comments
 (0)