Skip to content

Commit c9dd632

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Finder] Fix gitignore regex build with "**" Fixed deprecation warnings about passing null as parameter [Security] Keep Bulgarian wording consistent across all texts. Migrate configuration file for PHP CS Fixer 2.19/3.0 [Form] Replace broken ServerParams mock
2 parents e11fc78 + 58d75aa commit c9dd632

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Resources/translations/security.bg.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
</trans-unit>
7373
<trans-unit id="19">
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
75-
<target>Прекалено много неуспешни опити за вход, моля опитайте отново след %minutes% минута.</target>
75+
<target>Твърде много неуспешни опити за вход, моля опитайте отново след %minutes% минута.</target>
7676
</trans-unit>
7777
<trans-unit id="20">
7878
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79-
<target>Прекалено много неуспешни опити за вход, моля опитайте отново след %minutes% минути.</target>
79+
<target>Твърде много неуспешни опити за вход, моля опитайте отново след %minutes% минути.</target>
8080
</trans-unit>
8181
</body>
8282
</file>

Tests/Authentication/Provider/LdapBindAuthenticationProviderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function testBindFailureShouldThrowAnException()
7070
->method('bind')
7171
->willThrowException(new ConnectionException())
7272
;
73+
$ldap->method('escape')->willReturnArgument(0);
7374
$userChecker = $this->createMock(UserCheckerInterface::class);
7475

7576
$provider = new LdapBindAuthenticationProvider($userProvider, $userChecker, 'key', $ldap);
@@ -207,6 +208,7 @@ public function testEmptyQueryResultShouldThrowAnException()
207208
->method('query')
208209
->willReturn($query)
209210
;
211+
$ldap->method('escape')->willReturnArgument(0);
210212
$userChecker = $this->createMock(UserCheckerInterface::class);
211213

212214
$provider = new LdapBindAuthenticationProvider($userProvider, $userChecker, 'key', $ldap, '{username}', true, 'elsa', 'test1234A$');

0 commit comments

Comments
 (0)