Skip to content

Commit b0cbd7b

Browse files
kalessilfabpot
authored andcommitted
Static code analysis with Php Inspections (EA Extended)
1 parent 0dd7e22 commit b0cbd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/CrossCheckTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testCrossCheck($fixture, $type)
3636

3737
$tmp = tempnam(sys_get_temp_dir(), 'sf');
3838

39-
file_put_contents($tmp, file_get_contents(self::$fixturesPath.'/'.$type.'/'.$fixture));
39+
copy(self::$fixturesPath.'/'.$type.'/'.$fixture, $tmp);
4040

4141
$container1 = new ContainerBuilder();
4242
$loader1 = new $loaderClass($container1, new FileLocator());

0 commit comments

Comments
 (0)