diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-05 19:25:47 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-05 19:25:47 +0100 |
commit | c9694fcc536c8d809729262f62b90d77ef112d9e (patch) | |
tree | c5de443a73eac42b1555464acc80c4244009a766 | |
parent | 4c366b503b2ddfa05b41ba4d5ce187e5caf136e3 (diff) | |
parent | d965ec7a3c921382741120027a4a0f7b5b05c09a (diff) | |
download | symfony-security-c9694fcc536c8d809729262f62b90d77ef112d9e.zip symfony-security-c9694fcc536c8d809729262f62b90d77ef112d9e.tar.gz symfony-security-c9694fcc536c8d809729262f62b90d77ef112d9e.tar.bz2 |
Merge branch '2.7'
* 2.7:
[2.6] fix deprecation silencing...
[Form] fix Context\ExecutionContextInterface mock
add german translation for checkDNS option
[Validator] marks TraversalStrategy::STOP_RECURSION constant internal as it has been introduced for the BC layer and will be removed in 3.0.
-rw-r--r-- | Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php (renamed from Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorLegacyApiTest.php) | 2 | ||||
-rw-r--r-- | Tests/Core/LegacySecurityContextInterfaceTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorLegacyApiTest.php b/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php index 5092a79..5cfe444 100644 --- a/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorLegacyApiTest.php +++ b/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php @@ -17,7 +17,7 @@ use Symfony\Component\Validator\Validation; * @since 2.5.4 * @author Bernhard Schussek <bschussek@gmail.com> */ -class LegacyUserPasswordValidatorLegacyApiTest extends UserPasswordValidatorTest +class LegacyUserPasswordValidatorApiTest extends UserPasswordValidatorTest { protected function getApiVersion() { diff --git a/Tests/Core/LegacySecurityContextInterfaceTest.php b/Tests/Core/LegacySecurityContextInterfaceTest.php index 764a43d..8f68475 100644 --- a/Tests/Core/LegacySecurityContextInterfaceTest.php +++ b/Tests/Core/LegacySecurityContextInterfaceTest.php @@ -21,7 +21,7 @@ class LegacySecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase */ public function testConstantSync() { - $this->iniSet('error_reporting', -1 & E_USER_DEPRECATED); + $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); $this->assertSame(Security::ACCESS_DENIED_ERROR, SecurityContextInterface::ACCESS_DENIED_ERROR); $this->assertSame(Security::AUTHENTICATION_ERROR, SecurityContextInterface::AUTHENTICATION_ERROR); |