diff --git a/tests/src/Unit/PHPCodeSniffer/FinderTest.php b/tests/src/Unit/PHPCodeSniffer/FinderTest.php index 945cb681aab7c502ebb8c34d441a552da927ac8c..370e8b3b516a1c719209763dc083d3c746c02d47 100644 --- a/tests/src/Unit/PHPCodeSniffer/FinderTest.php +++ b/tests/src/Unit/PHPCodeSniffer/FinderTest.php @@ -92,12 +92,10 @@ class FinderTest extends \PHPUnit_Framework_TestCase ->willReturn($this->symfonyFinderMock); } - $splFileInfoMock = $this->getMOck( + $splFileInfoMock = $this->getMock( 'Symfony\Component\Finder\SplFileInfo', array(), - array(), - '', - false + array(null, null, null) ); $splFileInfoMock ->expects($this->once())