-
Notifications
You must be signed in to change notification settings - Fork 290
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
59 lines (57 loc) · 3.32 KB
/
phpstan.dist.neon
File metadata and controls
59 lines (57 loc) · 3.32 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
parameters:
level: 6
paths:
- etc
- judge
- judge/judgedaemon
- lib/lib.error.php
- lib/lib.misc.php
- lib/lib.wrappers.php
- webapp/bin/console
- webapp/config
- webapp/migrations
- webapp/public
- webapp/rector.php
- webapp/resources/functions.php
- webapp/src
- webapp/tests
scanFiles:
- webapp/vendor/vrana/adminer/adminer/include/functions.inc.php
scanDirectories:
- webapp/vendor/vrana/adminer/adminer/include
ignoreErrors:
-
message: '#Method .* return type has no value type specified in iterable type array#'
path: webapp/tests
-
message: '#Method .* has parameter .* with no value type specified in iterable type array#'
path: webapp/tests
-
message: '#Property .* type has no value type specified in iterable type array#'
path: webapp/tests
-
message: '#PHPDoc tag @var for variable .* has no value type specified in iterable type array#'
path: webapp/tests
-
message: "#Method .* return type has no value type specified in iterable type array#"
path: webapp/src/DataFixtures/Test
-
message: '#^Offset 9 on array\{''ada''\|''awk''\|''bash''\|''c''\|''cpp''\|''csharp''\|''f95''\|''golang''\|''haskell''\|''java''\|''javascript''\|''kotlin''\|''lua''\|''ocaml''\|''pascal''\|''pl''\|''prolog''\|''python3''\|''r''\|''ruby''\|''rust''\|''scala''\|''sh''\|''swift'', ''Ada''\|''AWK''\|''Bash shell''\|''C''\|''C\#''\|''C\+\+''\|''Fortran''\|''Golang''\|''Haskell''\|''Java''\|''JavaScript''\|''Kotlin''\|''Lua''\|''OCaml''\|''Pascal''\|''Perl''\|''POSIX shell''\|''Prolog''\|''Python 3''\|''R''\|''Ruby''\|''Rust''\|''Scala''\|''Swift'', array\{''adb'', ''ads''\}\|array\{''awk''\}\|array\{''bash''\}\|array\{''c''\}\|array\{''cpp'', ''cc'', ''cxx'', ''c\+\+''\}\|array\{''csharp'', ''cs''\}\|array\{''f95'', ''f90''\}\|array\{''go''\}\|array\{''hs'', ''lhs''\}\|array\{''java''\}\|array\{''js'', ''mjs''\}\|array\{''kt''\}\|array\{''lua''\}\|array\{''ml''\}\|array\{''pas'', ''p''\}\|array\{''pl''\}\|array\{''plg''\}\|array\{''py''\}\|array\{''R''\}\|array\{''rb''\}\|array\{''rs''\}\|array\{''scala''\}\|array\{''sh''\}\|array\{''swift''\}, bool, ''Main class''\|''Main file''\|null, bool, true, 1, \.\.\.\} in empty\(\) always exists and is not falsy\.$#'
identifier: empty.offset
count: 1
path: webapp/src/DataFixtures/DefaultData/LanguageFixture.php
-
message: '#^Offset ''username'' on array\{id\?\: string, username\: string, name\?\: string, password\?\: string, externalid\?\: string, type\: string, team_id\?\: string, ip\?\: string\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: webapp/src/Service/ImportExportService.php
-
message: '#^Strict comparison using \!\=\= between null and null will always evaluate to false\.$#'
identifier: notIdentical.alwaysFalse
count: 1
path: webapp/src/Service/SubmissionService.php
dynamicConstantNames:
SYSLOG: int
includes:
- webapp/vendor/phpstan/phpstan-doctrine/extension.neon
- phpstan-bug.neon