Skip to content

Commit 9cea42f

Browse files
committed
FixFileReturnValueTest: remove redundant parameter
1 parent fda2bf6 commit 9cea42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Core/Fixer/FixFileReturnValueTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testReturnValueIsTrueWhenFileWasFixed()
3636
$testCaseFile = __DIR__.'/Fixtures/test.inc';
3737
$phpcsFile = new LocalFile($testCaseFile, $ruleset, $config);
3838
$phpcsFile->process();
39-
$fixed = $phpcsFile->fixer->fixFile($phpcsFile);
39+
$fixed = $phpcsFile->fixer->fixFile();
4040

4141
$this->assertTrue($fixed);
4242

@@ -60,7 +60,7 @@ public function testReturnValueIsFalse($standard)
6060
$testCaseFile = __DIR__.'/Fixtures/test.inc';
6161
$phpcsFile = new LocalFile($testCaseFile, $ruleset, $config);
6262
$phpcsFile->process();
63-
$fixed = $phpcsFile->fixer->fixFile($phpcsFile);
63+
$fixed = $phpcsFile->fixer->fixFile();
6464

6565
$this->assertFalse($fixed);
6666

0 commit comments

Comments
 (0)