Skip to content

Commit b6fb7bd

Browse files
committed
Fixed tests.
1 parent bbee967 commit b6fb7bd

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/src/CheckerFileProcessorTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ public function testProcessFile()
119119
'file' => 'TestClass.php',
120120
'class' => 'Test\Example\TestClass',
121121
'method' => 'test124',
122-
'line' => 85,
122+
'line' => 112,
123123
], [
124124
'type' => 'param-mismatch',
125125
'file' => 'TestClass.php',
126126
'class' => 'Test\Example\TestClass',
127127
'method' => 'test132',
128-
'line' => 114,
128+
'line' => 141,
129129
'param' => '$param1',
130130
'param-type' => 'int|null',
131131
'doc-type' => 'int',
@@ -134,15 +134,15 @@ public function testProcessFile()
134134
'file' => 'TestClass.php',
135135
'class' => 'Test\Example\TestClass',
136136
'method' => 'test132',
137-
'line' => 114,
137+
'line' => 141,
138138
'return-type' => 'bool|null',
139139
'doc-type' => 'bool',
140140
], [
141141
'type' => 'param-mismatch',
142142
'file' => 'TestClass.php',
143143
'class' => 'Test\Example\TestClass',
144144
'method' => 'test141',
145-
'line' => 144,
145+
'line' => 171,
146146
'param' => '$param1',
147147
'param-type' => 'int|float',
148148
'doc-type' => 'int',
@@ -151,7 +151,7 @@ public function testProcessFile()
151151
'file' => 'TestClass.php',
152152
'class' => 'Test\Example\TestClass',
153153
'method' => 'test141',
154-
'line' => 144,
154+
'line' => 171,
155155
'return-type' => 'bool|int',
156156
'doc-type' => 'bool',
157157
]
@@ -267,13 +267,13 @@ public function testProcessFile()
267267
'file' => 'TestClass.php',
268268
'class' => 'Test\Example\TestClass',
269269
'method' => 'test124',
270-
'line' => 85,
270+
'line' => 112,
271271
], [
272272
'type' => 'param-mismatch',
273273
'file' => 'TestClass.php',
274274
'class' => 'Test\Example\TestClass',
275275
'method' => 'test132',
276-
'line' => 114,
276+
'line' => 141,
277277
'param' => '$param1',
278278
'param-type' => 'int|null',
279279
'doc-type' => 'int',
@@ -282,15 +282,15 @@ public function testProcessFile()
282282
'file' => 'TestClass.php',
283283
'class' => 'Test\Example\TestClass',
284284
'method' => 'test132',
285-
'line' => 114,
285+
'line' => 141,
286286
'return-type' => 'bool|null',
287287
'doc-type' => 'bool',
288288
], [
289289
'type' => 'param-mismatch',
290290
'file' => 'TestClass.php',
291291
'class' => 'Test\Example\TestClass',
292292
'method' => 'test141',
293-
'line' => 144,
293+
'line' => 171,
294294
'param' => '$param1',
295295
'param-type' => 'int|float',
296296
'doc-type' => 'int',
@@ -299,7 +299,7 @@ public function testProcessFile()
299299
'file' => 'TestClass.php',
300300
'class' => 'Test\Example\TestClass',
301301
'method' => 'test141',
302-
'line' => 144,
302+
'line' => 171,
303303
'return-type' => 'bool|int',
304304
'doc-type' => 'bool',
305305
]

0 commit comments

Comments
 (0)