Skip to content

Commit

Permalink
CS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
exussum12 committed Jun 25, 2024
1 parent 46b4f31 commit f55a07b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions tests/CoverageCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,16 @@ public function testCoverageForContextLines()

$xmlReport->method('getErrorsOnLine')
->willReturnCallback(
function () {
$file = func_get_arg(0);
$line = func_get_arg(1);

if ($file == '/full/path/to/testFile1.php' && $line == 2) {
return null;
}
function () {
$file = func_get_arg(0);
$line = func_get_arg(1);

return [];
if ($file == '/full/path/to/testFile1.php' && $line == 2) {
return null;
}

return [];
}
);

$matcher = new FileMatchers\EndsWith;
Expand Down
1 change: 0 additions & 1 deletion tests/DiffFileLoadOldVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use PHPUnit\Framework\TestCase;
use exussum12\CoverageChecker\DiffFileLoaderOldVersion;


class DiffFileLoadOldVersionTest extends TestCase
{
#[DataProvider('getResults')]
Expand Down

0 comments on commit f55a07b

Please sign in to comment.