Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3899ba8

Browse filesBrowse files
Merge branch '5.3' into 5.4
* 5.3: [Ldap] Fix test Remove flex from appveyor
2 parents ca77139 + 11f922f commit 3899ba8
Copy full SHA for 3899ba8

File tree

Expand file treeCollapse file tree

2 files changed

+17
-17
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+17
-17
lines changed

‎.appveyor.yml

Copy file name to clipboardExpand all lines: .appveyor.yml
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ install:
4848
- IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/download/2.0.0/composer.phar)
4949
- php composer.phar self-update --2
5050
- copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
51-
- php composer.phar global require --no-progress --no-scripts --no-plugins symfony/flex
5251
- git config --global user.email ""
5352
- git config --global user.name "Symfony"
5453
- FOR /F "tokens=* USEBACKQ" %%F IN (`bash -c "grep ' VERSION = ' src/Symfony/Component/HttpKernel/Kernel.php | grep -o '[0-9][0-9]*\.[0-9]'"`) DO (SET SYMFONY_VERSION=%%F)
5554
- php .github/build-packages.php HEAD^ %SYMFONY_VERSION% src\Symfony\Bridge\PhpUnit
56-
- SET "SYMFONY_REQUIRE=>=%SYMFONY_VERSION%"
5755
- SET COMPOSER_ROOT_VERSION=%SYMFONY_VERSION%.x-dev
5856
- php composer.phar update --no-progress --ansi
5957
- php phpunit install

‎src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Ldap/Tests/Security/CheckLdapCredentialsListenerTest.php
+17-15Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,28 @@ private function createListener()
222222
}
223223
}
224224

225-
class TestAuthenticator implements AuthenticatorInterface
226-
{
227-
public function supports(Request $request): ?bool
225+
if (interface_exists(AuthenticatorInterface::class)) {
226+
class TestAuthenticator implements AuthenticatorInterface
228227
{
229-
}
228+
public function supports(Request $request): ?bool
229+
{
230+
}
230231

231-
public function authenticate(Request $request): Passport
232-
{
233-
}
232+
public function authenticate(Request $request): Passport
233+
{
234+
}
234235

235-
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
236-
{
237-
}
236+
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
237+
{
238+
}
238239

239-
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
240-
{
241-
}
240+
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
241+
{
242+
}
242243

243-
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response
244-
{
244+
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response
245+
{
246+
}
245247
}
246248

247249
public function createToken(Passport $passport, string $firewallName): TokenInterface

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.