File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed
Filter options
src/Symfony/Component/Ldap/Tests/Security Expand file tree Collapse file tree 2 files changed +17
-17
lines changed
Original file line number Diff line number Diff line change @@ -48,12 +48,10 @@ install:
48
48
- IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/download/2.0.0/composer.phar)
49
49
- php composer.phar self-update --2
50
50
- copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
51
- - php composer.phar global require --no-progress --no-scripts --no-plugins symfony/flex
52
51
- git config --global user.email ""
53
52
- git config --global user.name "Symfony"
54
53
- 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)
55
54
- php .github/build-packages.php HEAD^ %SYMFONY_VERSION% src\Symfony\Bridge\PhpUnit
56
- - SET "SYMFONY_REQUIRE=>=%SYMFONY_VERSION%"
57
55
- SET COMPOSER_ROOT_VERSION=%SYMFONY_VERSION%.x-dev
58
56
- php composer.phar update --no-progress --ansi
59
57
- php phpunit install
Original file line number Diff line number Diff line change @@ -222,26 +222,28 @@ private function createListener()
222
222
}
223
223
}
224
224
225
- class TestAuthenticator implements AuthenticatorInterface
226
- {
227
- public function supports (Request $ request ): ?bool
225
+ if (interface_exists (AuthenticatorInterface::class)) {
226
+ class TestAuthenticator implements AuthenticatorInterface
228
227
{
229
- }
228
+ public function supports (Request $ request ): ?bool
229
+ {
230
+ }
230
231
231
- public function authenticate (Request $ request ): Passport
232
- {
233
- }
232
+ public function authenticate (Request $ request ): Passport
233
+ {
234
+ }
234
235
235
- public function createAuthenticatedToken (PassportInterface $ passport , string $ firewallName ): TokenInterface
236
- {
237
- }
236
+ public function createAuthenticatedToken (PassportInterface $ passport , string $ firewallName ): TokenInterface
237
+ {
238
+ }
238
239
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
+ }
242
243
243
- public function onAuthenticationFailure (Request $ request , AuthenticationException $ exception ): ?Response
244
- {
244
+ public function onAuthenticationFailure (Request $ request , AuthenticationException $ exception ): ?Response
245
+ {
246
+ }
245
247
}
246
248
247
249
public function createToken (Passport $ passport , string $ firewallName ): TokenInterface
You can’t perform that action at this time.
0 commit comments