-
Notifications
You must be signed in to change notification settings - Fork 44
/
phpstan.neon.dist
36 lines (27 loc) · 1.02 KB
/
phpstan.neon.dist
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
includes:
- vendor/larastan/larastan/extension.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
reportUnmatchedIgnoredErrors: false
level: 6
paths:
- config
- src
- tests
excludePaths:
- vendor/*
ignoreErrors:
# Optional dependencies
- message: '#(?:C|c)lass Enlightn\\SecurityChecker\\SecurityChecker not found#'
paths:
- src/Checks/PackageSecurityHealthCheck.php
- tests/Checks/PackageSecurityHealthCheckTest.php
- tests/Stubs/Checks/PackageSecurityHealthCheck.php
- message: '#(?:C|c)lass SensioLabs\\Security\\SecurityChecker not found#'
paths:
- src/Checks/PackageSecurityHealthCheck.php
- message: '#Call to method .+ on an unknown class Enlightn\\SecurityChecker\\SecurityChecker#'
paths:
- src/Checks/PackageSecurityHealthCheck.php