forked from php-db/phpdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
133 lines (112 loc) · 4.78 KB
/
phpstan-baseline.neon
File metadata and controls
133 lines (112 loc) · 4.78 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
parameters:
ignoreErrors:
-
message: '#^Variable \$paramSpecs might not be defined\.$#'
identifier: variable.undefined
count: 1
path: src/Sql/AbstractSql.php
-
message: '#^Cannot call method getAttribute\(\) on resource\.$#'
identifier: method.nonObject
count: 1
path: test/unit/Adapter/Driver/Pdo/TestAsset/TestPdo.php
-
message: '#^Parameter \#1 \$attribute \(string\) of method PhpDbTest\\Adapter\\Driver\\TestAsset\\PdoMock\:\:getAttribute\(\) should be compatible with parameter \$attribute \(int\) of method PDO\:\:getAttribute\(\)$#'
identifier: method.childParameterType
count: 1
path: test/unit/Adapter/Driver/TestAsset/PdoMock.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/unit/ResultSet/HydratingResultSetTest.php
-
message: '#^Access to an undefined property PhpDb\\RowGateway\\RowGateway\:\:\$foo\.$#'
identifier: property.notFound
count: 5
path: test/unit/RowGateway/AbstractRowGatewayTest.php
-
message: '#^Access to an undefined property PhpDb\\RowGateway\\RowGateway\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: test/unit/RowGateway/AbstractRowGatewayTest.php
-
message: '#^Access to an undefined property PhpDb\\RowGateway\\RowGateway\:\:\$testColumn\.$#'
identifier: property.notFound
count: 4
path: test/unit/RowGateway/AbstractRowGatewayTest.php
-
message: '#^Property PhpDbTest\\RowGateway\\AbstractRowGatewayTest\:\:\$rowGateway \(PhpDb\\RowGateway\\RowGateway\) does not accept PhpDb\\RowGateway\\AbstractRowGateway&PHPUnit\\Framework\\MockObject\\MockObject\.$#'
identifier: assign.propertyType
count: 2
path: test/unit/RowGateway/AbstractRowGatewayTest.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:createColumn\(\)\.$#'
identifier: method.staticCall
count: 2
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:createTable\(\)\.$#'
identifier: method.staticCall
count: 2
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:delete\(\)\.$#'
identifier: method.staticCall
count: 1
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:insert\(\)\.$#'
identifier: method.staticCall
count: 1
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:select\(\)\.$#'
identifier: method.staticCall
count: 15
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^Static call to instance method PhpDbTest\\Sql\\AbstractSqlFunctionalTestCase\:\:update\(\)\.$#'
identifier: method.staticCall
count: 3
path: test/unit/Sql/AbstractSqlFunctionalTestCase.php
-
message: '#^PHPDoc tag @var with type PhpDb\\Sql\\Ddl\\Column\\ColumnInterface is not subtype of native type PHPUnit\\Framework\\MockObject\\MockObject\.$#'
identifier: varTag.nativeType
count: 2
path: test/unit/Sql/Ddl/AlterTableTest.php
-
message: '#^PHPDoc tag @var with type PhpDb\\Sql\\Ddl\\Constraint\\ConstraintInterface is not subtype of native type PHPUnit\\Framework\\MockObject\\MockObject\.$#'
identifier: varTag.nativeType
count: 1
path: test/unit/Sql/Ddl/AlterTableTest.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\MockObject\:\:addColumn\(\)\.$#'
identifier: method.notFound
count: 1
path: test/unit/Sql/Ddl/Constraint/AbstractConstraintTest.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\MockObject\:\:getColumns\(\)\.$#'
identifier: method.notFound
count: 3
path: test/unit/Sql/Ddl/Constraint/AbstractConstraintTest.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\MockObject\:\:setColumns\(\)\.$#'
identifier: method.notFound
count: 2
path: test/unit/Sql/Ddl/Constraint/AbstractConstraintTest.php
-
message: '#^Access to an undefined property PhpDb\\Sql\\InsertIgnore\:\:\$foo\.$#'
identifier: property.notFound
count: 6
path: test/unit/Sql/InsertIgnoreTest.php
-
message: '#^Access to an undefined property PhpDb\\Sql\\Insert\:\:\$foo\.$#'
identifier: property.notFound
count: 6
path: test/unit/Sql/InsertTest.php
-
message: '#^Access to an undefined property PhpDb\\Sql\\Insert\:\:\$nonexistent\.$#'
identifier: property.notFound
count: 1
path: test/unit/Sql/InsertTest.php