-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
39 lines (39 loc) · 4.03 KB
/
Copy pathphpstan.neon
File metadata and controls
39 lines (39 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
parameters:
level: 8
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Parameter \#3 \$eventDispatcher of class .+LogoutListener constructor expects .+EventDispatcherInterface, .+LogoutSuccessHandlerInterface|.+EventDispatcherInterface given.#'
- '#Class .+AuthenticationTrustResolver constructor invoked with 0 parameters, 2 required.#'
- '#Class .+AuthenticationTrustResolver does not have a constructor and must be instantiated without any parameters.#'
- '#Instantiated class .+DefaultLogoutListener not found.#'
- '#Instantiated class .+SessionLogoutListener not found.#'
- '#Instantiated class .+UserChecker not found.#'
- '#Instantiated class .+NativePasswordEncoder not found.#'
- '#Instantiated class .+SessionLogoutHandler not found.#'
- '#Instantiated class .+TokenBasedRememberMeServices not found.#'
- '#Instantiated class .+RememberMeListener not found.#'
- '#Instantiated class .+RememberMeAuthenticationProvider not found.#'
- '#Instantiated class .+RetryAuthenticationEntryPoint not found.#'
- '#Parameter \#1 \$subscriber of method .+EventDispatcherInterface::addSubscriber\(\) expects .+EventSubscriberInterface, .+DefaultLogoutListener given.#'
- '#Parameter \#1 \$subscriber of method .+EventDispatcherInterface::addSubscriber\(\) expects .+EventSubscriberInterface, .+SessionLogoutListener given.#'
- '#Method .+RouteCollection::add\(\) invoked with 3 parameters, 2 required.#'
- '#Method .+SecurityFactory::createPasswordEncoder\(\) should return .+PasswordEncoderInterface but returns .+NativePasswordEncoder.#'
- '#Method .+SecurityCommunicationFactory::createPasswordEncoder\(\) should return .+PasswordEncoderInterface but returns .+NativePasswordEncoder.#'
- '#Method .+SecurityCommunicationFactory::createUserChecker\(\) should return .+UserCheckerInterface but returns .+UserChecker.#'
- '#Method .+SecurityCommunicationFactory::createSessionLogoutHandler\(\) should return .+LogoutHandlerInterface but returns .+SessionLogoutHandler.#'
- '#Method .+SecurityCommunicationFactory::createRetryAuthenticationEntryPoint\(\) should return .+AuthenticationEntryPointInterface but returns .+RetryAuthenticationEntryPoint.#'
- '#Method .+UserPasswordValidatorConstraintPlugin::getEncoderStorage\(\) has invalid return type Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactoryInterface.#'
- '#Method .+SecurityCommunicationFactory::createSessionLogoutHandler\(\) has invalid return type Symfony\\Component\\Security\\Http\\Logout\\LogoutHandlerInterface.#'
- '#Method .+createPasswordEncoder\(\) has invalid return type Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface.#'
- '#Instantiated class Symfony\\Component\\Security\\Http\\EventListener\\RememberMeLogoutListener not found.#'
- '#Parameter \#1 \$subscriber of method Symfony\\Component\\EventDispatcher\\EventDispatcherInterface::addSubscriber\(\) expects Symfony\\Component\\EventDispatcher\\EventSubscriberInterface, Symfony\\Component\\Security\\Http\\EventListener\\RememberMeLogoutListener given.#'
- '#Parameter \#2 \$hasherFactory of class .+UserPasswordValidator constructor expects .+PasswordHasherFactoryInterface, .+EncoderFactoryInterface given#'
- '#Class .+LogoutEvent not found.#'
- '#Call to method .+ on an unknown class .+LogoutEvent.#'
- '#Parameter \$event of method .+onLogout\(\) has invalid type .+LogoutEvent.#'
-
identifier: missingType.iterableValue
excludePaths:
# phpstan throws an internal error because of autoloading `Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface` which does not exist in Symfony 6+
- '%rootDir%/../../../src/Spryker/Security/src/Spryker/Zed/Security/Communication/Plugin/Application/SecurityApplicationPlugin.php'
- '%rootDir%/../../../src/Spryker/Security/src/Spryker/Yves/Security/Plugin/Application/SecurityApplicationPlugin.php'