Skip to content

Commit

Permalink
minor #27111 Use symfony/polyfill-ctype (BackEndTea)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Use symfony/polyfill-ctype

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Related to: #24168
Although it does not fix this issue, it does remove the dependency on the `ctype` extension.

Commits
-------

afc09cc Use symfony/polyfill-ctype
  • Loading branch information
nicolas-grekas committed May 1, 2018
2 parents 222fef4 + afc09cc commit 6ca520f
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 12 deletions.
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -21,6 +21,7 @@
"doctrine/common": "~2.4",
"paragonie/random_compat": "~1.0",
"symfony/polyfill-apcu": "~1.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.1",
"twig/twig": "~1.34|~2.4",
"psr/log": "~1.0"
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Bridge/Doctrine/composer.json
Expand Up @@ -17,7 +17,8 @@
],
"require": {
"php": ">=5.3.9",
"doctrine/common": "~2.4"
"doctrine/common": "~2.4",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/stopwatch": "~2.2",
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Bundle/TwigBundle/composer.json
Expand Up @@ -21,7 +21,8 @@
"symfony/twig-bridge": "~2.7",
"twig/twig": "~1.34|~2.4",
"symfony/http-foundation": "~2.5",
"symfony/http-kernel": "~2.7.23|^2.8.16"
"symfony/http-kernel": "~2.7.23|^2.8.16",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/stopwatch": "~2.2",
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Config/composer.json
Expand Up @@ -17,7 +17,8 @@
],
"require": {
"php": ">=5.3.9",
"symfony/filesystem": "~2.3"
"symfony/filesystem": "~2.3",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/yaml": "~2.7"
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/DomCrawler/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/css-selector": "~2.3"
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/ExpressionLanguage/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
"psr-4": { "Symfony\\Component\\ExpressionLanguage\\": "" },
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Filesystem/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Filesystem\\": "" },
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Form/composer.json
Expand Up @@ -20,6 +20,7 @@
"symfony/event-dispatcher": "~2.1",
"symfony/intl": "~2.7.25|^2.8.18",
"symfony/options-resolver": "~2.6",
"symfony/polyfill-ctype": "~1.8",
"symfony/property-access": "~2.3"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/HttpKernel/composer.json
Expand Up @@ -20,6 +20,7 @@
"symfony/event-dispatcher": "^2.6.7",
"symfony/http-foundation": "~2.7.36|^2.8.29",
"symfony/debug": "^2.6.2",
"symfony/polyfill-ctype": "~1.8",
"psr/log": "~1.0"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Intl/composer.json
Expand Up @@ -24,7 +24,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/filesystem": "~2.1"
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/PropertyAccess/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
"psr-4": { "Symfony\\Component\\PropertyAccess\\": "" },
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Security/Csrf/composer.json
Expand Up @@ -20,7 +20,8 @@
"symfony/security-core": "~2.4"
},
"require-dev": {
"symfony/http-foundation": "~2.7"
"symfony/http-foundation": "~2.7",
"symfony/polyfill-ctype": "~1.8"
},
"conflict": {
"symfony/http-foundation": "<2.7.38|~2.8,<2.8.31"
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Serializer/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"symfony/yaml": "^2.0.5",
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Templating/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"require-dev": {
"psr/log": "~1.0"
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/Validator/composer.json
Expand Up @@ -17,6 +17,7 @@
],
"require": {
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8",
"symfony/translation": "~2.4"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Component/Yaml/composer.json
Expand Up @@ -16,7 +16,8 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=5.3.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Yaml\\": "" },
Expand Down

0 comments on commit 6ca520f

Please sign in to comment.