bug #16902 [2.8][Security] Fix a Polyfill import statement in StringUtils (magnetik)

This PR was merged into the 2.8 branch.

Discussion
----------

[2.8][Security] Fix a Polyfill import statement in StringUtils

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

Commits
-------

2a9fa81 [Security] Fix a Polyfill import statement in StringUtils
This commit is contained in:
Nicolas Grekas 2015-12-08 13:30:53 +01:00
commit afc6ee42ca

View File

@ -13,7 +13,7 @@ namespace Symfony\Component\Security\Core\Util;
@trigger_error('The '.__NAMESPACE__.'\\StringUtils class is deprecated since version 2.8 and will be removed in 3.0. Use hash_equals() instead.', E_USER_DEPRECATED);
use Symfony\Component\Polyfill\Util\Binary;
use Symfony\Polyfill\Util\Binary;
/**
* String utility functions.