Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
corpsee committed Oct 7, 2023
1 parent bbee967 commit b6fb7bd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/src/CheckerFileProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test124',
'line' => 85,
'line' => 112,
], [
'type' => 'param-mismatch',
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test132',
'line' => 114,
'line' => 141,
'param' => '$param1',
'param-type' => 'int|null',
'doc-type' => 'int',
Expand All @@ -134,15 +134,15 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test132',
'line' => 114,
'line' => 141,
'return-type' => 'bool|null',
'doc-type' => 'bool',
], [
'type' => 'param-mismatch',
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test141',
'line' => 144,
'line' => 171,
'param' => '$param1',
'param-type' => 'int|float',
'doc-type' => 'int',
Expand All @@ -151,7 +151,7 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test141',
'line' => 144,
'line' => 171,
'return-type' => 'bool|int',
'doc-type' => 'bool',
]
Expand Down Expand Up @@ -267,13 +267,13 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test124',
'line' => 85,
'line' => 112,
], [
'type' => 'param-mismatch',
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test132',
'line' => 114,
'line' => 141,
'param' => '$param1',
'param-type' => 'int|null',
'doc-type' => 'int',
Expand All @@ -282,15 +282,15 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test132',
'line' => 114,
'line' => 141,
'return-type' => 'bool|null',
'doc-type' => 'bool',
], [
'type' => 'param-mismatch',
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test141',
'line' => 144,
'line' => 171,
'param' => '$param1',
'param-type' => 'int|float',
'doc-type' => 'int',
Expand All @@ -299,7 +299,7 @@ public function testProcessFile()
'file' => 'TestClass.php',
'class' => 'Test\Example\TestClass',
'method' => 'test141',
'line' => 144,
'line' => 171,
'return-type' => 'bool|int',
'doc-type' => 'bool',
]
Expand Down

0 comments on commit b6fb7bd

Please sign in to comment.