Skip to content

Commit ecb333e

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Serializer] Improve exception message in UnwrappingDenormalizer [PropertyInfo] Update DoctrineExtractor for new DBAL 4 BIGINT type Update security.nl.xlf [Validator] IBAN Check digits should always between 2 and 98 [Security] Populate translations for trans-unit 20 add missing plural translation messages filter out empty HTTP header parts [String] Fix folded in compat mode Remove calls to `getMockForAbstractClass()` [ErrorHandler] Do not call xdebug_get_function_stack() with xdebug >= 3.0 when not in develop mode [Serializer] Fix type for missing property add test for JSON response with null as content [Filesystem] Fix dumpFile `stat failed` error hitting custom handler Return false in isTtySupported() when open_basedir restrictions prevent access to /dev/tty. Remove calls to `TestCase::iniSet()` and calls to deprecated methods of `MockBuilder` [PhpUnitBridge] Fix `DeprecationErrorHandler` with PhpUnit 10
2 parents 671d673 + eb0b0e8 commit ecb333e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/TokenGenerator/UriSafeTokenGeneratorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public function testGenerateToken()
4343
$token = $this->generator->generateToken();
4444

4545
$this->assertTrue(ctype_print($token), 'is printable');
46-
$this->assertStringNotMatchesFormat('%S+%S', $token, 'is URI safe');
47-
$this->assertStringNotMatchesFormat('%S/%S', $token, 'is URI safe');
48-
$this->assertStringNotMatchesFormat('%S=%S', $token, 'is URI safe');
46+
$this->assertDoesNotMatchRegularExpression('#.+([+/=]).+#', $token, 'is URI safe');
4947
}
5048

5149
/**

0 commit comments

Comments
 (0)