forked from web-token/jwt-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
27 lines (27 loc) · 1.73 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
parameters:
level: 7
paths:
- src
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\)#'
- '#Parameter \#1 \$value of class FG\\ASN1\\Universal\\Integer constructor expects int\, string given\.#'
- '#Variable static method call on Jose\\Component\\Core\\Util\\Hash\.#'
- '#Return type \(void\) of method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader::getResolver\(\) should be compatible with return type \(Symfony\\Component\\Config\\Loader\\LoaderResolverInterface\) of method Symfony\\Component\\Config\\Loader\\LoaderInterface::getResolver\(\)#'
- '#Method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader::(supports|load)\(\) has parameter \$type with no typehint specified\.#'
- '#.* should be contravariant with .*#'
- '#Call to deprecated function .*#'
- '#Parameter .* of function openssl_pkey_derive expects resource, string given\.#'
- '#Parameter .* of function call_user_func_array expects callable\(\)\: .* given\.#'
- '#Array .* does not accept object\.#'
- '#Invalid type object to throw\.#'
- '#Strict comparison using === between .* and .* will always evaluate to false\.#'
- '#Binary operation "\^" between string and 1 results in an error\.#'
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/conf/bleedingEdge.neon