Skip to content

Commit ad7818a

Browse files
committed
bug #43 "replace" 7.0 & 5.6 polyfills (nicolas-grekas)
This PR was merged into the 3.3 branch. Discussion ---------- "replace" 7.0 & 5.6 polyfills This removes `paragonie/random_compat`, `symfony/polyfill-php70` and `symfony/polyfill-apcu` from minimal install - they are not needed since PHP 7.0. And removes `symfony/polyfill-php56` for deps that would need it (eg symfony/security). ext-iconv is already an implicit requirement for Symfony. Commits ------- bbee2c3 "replace" 7.0 & 5.6 polyfills
2 parents 5470b17 + bbee2c3 commit ad7818a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "Project description",
66
"require": {
77
"php": "^7.0.8",
8+
"ext-iconv": "*",
89
"symfony/console": "^3.3",
910
"symfony/flex": "^1.0",
1011
"symfony/framework-bundle": "^3.3",
@@ -29,6 +30,11 @@
2930
"App\\Tests\\": "tests/"
3031
}
3132
},
33+
"replace": {
34+
"symfony/polyfill-apcu": "*",
35+
"symfony/polyfill-php70": "*",
36+
"symfony/polyfill-php56": "*"
37+
},
3238
"scripts": {
3339
"auto-scripts": [
3440
],

0 commit comments

Comments
 (0)