Skip to content

Commit

Permalink
Add proper provides rules for mbstring and iconv polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed May 10, 2016
1 parent bb94e8b commit 0fcfaa7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions composer.json
Expand Up @@ -21,6 +21,10 @@
"paragonie/random_compat": "~1.0|~2.0",
"symfony/intl": "~2.3|~3.0"
},
"provide": {
"ext-iconv": "7",
"ext-mbstring": "7"
},
"replace": {
"symfony/polyfill-apcu": "self.version",
"symfony/polyfill-php54": "self.version",
Expand Down
3 changes: 3 additions & 0 deletions src/Iconv/composer.json
Expand Up @@ -18,6 +18,9 @@
"require": {
"php": ">=5.3.3"
},
"provide": {
"ext-iconv": "7"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Iconv\\": "" },
"files": [ "bootstrap.php" ]
Expand Down
6 changes: 5 additions & 1 deletion src/Mbstring/composer.json
Expand Up @@ -16,7 +16,11 @@
}
],
"require": {
"php": ">=5.3.3"
"php": ">=5.3.3",
"ext-iconv": "*"
},
"provide": {
"ext-mbstring": "7"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" },
Expand Down

0 comments on commit 0fcfaa7

Please sign in to comment.