forked from lanedirt/OGameX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
30 lines (24 loc) · 875 Bytes
/
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
# Run PHPStan code analysis with `clear && ./vendor/bin/phpstan analyse --memory-limit=384M` command
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- app/
- database/
- tests/
- resources/
# Level 9 is the highest level
level: 7
ignoreErrors:
- identifier: missingType.generics
# Required because of bug where PHPStan triggers regex in app/GameMessages/Abstracts/GameMessage.php
# as error: Negated boolean expression is always false. Check later if this is fixed by removing
# this line and running PHPStan again. If it does not throw any errors anymore, you can safely remove this.
treatPhpDocTypesAsCertain: false
# ignoreErrors:
# - '#PHPDoc tag @var#'
#
# excludePaths:
# - ./*/*/FileToBeExcluded.php
#
# checkMissingIterableValueType: false