forked from klapaudius/FOSOAuthServerBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
17 lines (16 loc) · 1.26 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
excludePaths:
- vendor/
ignoreErrors:
# temporary
- '#Parameter \#1 \$httpStatusCode of class OAuth2\\OAuth2ServerException constructor expects string, int given#'
- '#Parameter \#1 \$httpCode of class OAuth2\\OAuth2AuthenticateException constructor expects string, int given#'
# how to avoid excluding these?
#- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::scalarNod\(\)#'
#- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::end\(\)#'
#- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\).#'
# expected
- '#Parameter \#1 \$className of method PHPUnit\\Framework\\TestCase::getMockBuilder\(\) expects class-string<Symfony\\Component\\Security\\Core\\SecurityContextInterface>, string given.#'
- '#Parameter \#1 \$tokenStorage of class FOS\\OAuthServerBundle\\Security\\Firewall\\OAuthListener constructor expects Symfony\\Component\\Security\\Core\\Authentication\\Token\\Storage\\TokenStorageInterface, PHPUnit\\Framework\\MockObject\\MockObject given.#'