process();
$fixed = $phpcsFile->fixer->fixFile();
$this->assertTrue($fixed);
}//end testReturnValueIsTrueWhenFileWasFixed()
/**
* Test that the return value of the fixFile() method is false when the file failed to make all fixes.
*
* @param string $standard The ruleset file to use for the test.
*
* @dataProvider dataReturnValueIsFalse
*
* @return void
*/
public function testReturnValueIsFalse($standard)
{
$config = new ConfigDouble(["--standard=$standard"]);
$ruleset = new Ruleset($config);
$testCaseFile = __DIR__.'/Fixtures/test.inc';
$phpcsFile = new LocalFile($testCaseFile, $ruleset, $config);
$phpcsFile->process();
$fixed = $phpcsFile->fixer->fixFile();
$this->assertFalse($fixed);
}//end testReturnValueIsFalse()
/**
* Data provider.
*
* @return array