forked from oidc-wp/openid-connect-generic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
31 lines (25 loc) · 710 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
31 lines (25 loc) · 710 Bytes
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
parameters:
level: 5
inferPrivatePropertyTypeFromConstructor: true
bootstrapFiles:
- tests/phpstan-bootstrap.php
paths:
- openid-connect-generic.php
- includes/
- ./
excludePaths:
analyse:
- node_modules/
- scripts/
- tests/
- vendor/
analyseAndScan:
- tools/
dynamicConstantNames:
- DOING_AJAX
ignoreErrors:
# Uses func_get_args()
#- '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#'
# Ignore cookie_redirect_key deprecation errors.
- '/^Fetching deprecated class constant COOKIE_REDIRECT_KEY of class OpenID_Connect_Generic_Client_Wrapper/'
treatPhpDocTypesAsCertain: false