forked from web-auth/webauthn-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
54 lines (54 loc) · 3.68 KB
/
phpstan.neon
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
parameters:
level: 7
paths:
- src
ignoreErrors:
- '#Method .* should return Webauthn\\PublicKeyCredential(Creation|Request)Options but returns Webauthn\\PublicKeyCredentialOptions\.#'
- '#Parameter .* of class .* expects Webauthn\\PublicKeyCredential(Creation|Request)Options\, Webauthn\\PublicKeyCredentialOptions given\.#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::arrayNode\(\)\.#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::(.*)\(\)#'
- '#Call to deprecated function Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ref\(\)(.*)#'
- '#Parameter (.*) of class FG\\ASN1\\Universal\\Integer constructor expects int, string given\.#'
- '#Instanceof between Symfony\\Component\\HttpFoundation\\Response and Symfony\\Component\\HttpFoundation\\Response will always evaluate to true\.#'
- message: '#Call to deprecated method loadUserByUsername\(\) of class .*#'
count: 1
path: src/symfony/src/Security/Authentication/Provider/WebauthnProvider.php
- message: '#Class Webauthn\\Bundle\\Security\\Authentication\\Provider\\WebauthnProvider implements deprecated interface .*#'
count: 1
path: src/symfony/src/Security/Authentication/Provider/WebauthnProvider.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 1
path: src/cose/src/Algorithm/ManagerFactory.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 1
path: src/cose/src/Algorithm/Signature/ECDSA/ECDSA.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 2
path: src/cose/src/Algorithm/Signature/ECDSA/ECSignature.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 1
path: src/cose/src/Algorithm/Signature/RSA/PSSRSA.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 1
path: src/cose/src/Algorithm/Signature/RSA/RSA.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 2
path: src/cose/src/Key/Ec2Key.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 1
path: src/cose/src/Key/Key.php
- message: '#Function .* is unsafe to use\. .* Please add .* at the beginning of the file to use the variant provided by the .* library\.#'
count: 3
path: src/cose/src/Key/RsaKey.php
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
checkUninitializedProperties: true
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon