-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.php
More file actions
28 lines (24 loc) · 742 Bytes
/
phpstan.php
File metadata and controls
28 lines (24 loc) · 742 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
<?php
declare(strict_types=1);
return [
'parameters' => [
'level' => '9',
'checkMissingCallableSignature' => true,
'checkBenevolentUnionTypes' => true,
'checkMissingOverrideMethodAttribute' => true,
'reportUnmatchedIgnoredErrors' => false,
'reportPossiblyNonexistentConstantArrayOffset' => true,
// Analysis settings
'paths' => [
__DIR__ . '/examples',
__DIR__ . '/src',
__DIR__ . '/tests',
],
'tips' => [
'treatPhpDocTypesAsCertain' => false,
],
// Developer experience
'errorFormat' => 'ticketswap',
'editorUrl' => 'phpstorm://open?file=%%file%%&line=%%line%%',
],
];