-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpstan-baseline.neon
58 lines (50 loc) · 2.12 KB
/
phpstan-baseline.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
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
parameters:
ignoreErrors:
-
message: '#^Variable property access on object\.$#'
identifier: property.dynamicName
count: 1
path: src/Arrays.php
-
message: '#^Variable property access on DateInterval\.$#'
identifier: property.dynamicName
count: 1
path: src/Dates.php
-
message: '#^Parameter \#2 \$language of static method voku\\helper\\ASCII\:\:to_ascii\(\) expects '' ''\|''am''\|''ar''\|''az''\|''be''\|''bg''\|''bn''\|''cs''\|''da''\|''de''\|''de_at''\|''de_ch''\|''el''\|''el__greeklish''\|''en''\|''eo''\|''et''\|''fa''\|''fi''\|''fr''\|''fr_at''\|''fr_ch''\|''hi''\|''hr''\|''hu''\|''hy''\|''it''\|''ja''\|''ka''\|''kk''\|''ko''\|''ky''\|''latin''\|''lt''\|''lv''\|''mk''\|''mn''\|''msword''\|''my''\|''nl''\|''no''\|''or''\|''pl''\|''ps''\|''pt''\|''ro''\|''ru''\|''ru__gost_2000_b''\|''ru__passport_2013''\|''sk''\|''sr''\|''sr__cyr''\|''sr__lat''\|''sv''\|''th''\|''tk''\|''tr''\|''uk''\|''uz''\|''vi''\|''zh'', string given\.$#'
identifier: argument.type
count: 1
path: src/Strings.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 6
path: tests/src/ArraysTest.php
-
message: '#^Static method Esi\\Utility\\Environment\:\:iniSet\(\) invoked with 1 parameter, 2 required\.$#'
identifier: arguments.count
count: 1
path: tests/src/EnvironmentTest.php
-
message: '#^Call to function array_sum\(\) on a separate line has no effect\.$#'
identifier: function.resultUnused
count: 2
path: tests/src/FilesystemTest.php
-
message: '#^Call to function count\(\) on a separate line has no effect\.$#'
identifier: function.resultUnused
count: 2
path: tests/src/FilesystemTest.php
-
message: '''
#^Call to deprecated method validJson\(\) of class Esi\\Utility\\Strings\:
as of 2\.0\.0 and will be removed in v3\.0$#
'''
identifier: staticMethod.deprecated
count: 2
path: tests/src/StringsTest.php
-
message: '#^Parameter \#1 \$length of static method Esi\\Utility\\Strings\:\:randomBytes\(\) expects int\<0, max\>, \-10 given\.$#'
identifier: argument.type
count: 1
path: tests/src/StringsTest.php