X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Ffinder%2FTests%2FIterator%2FMockSplFileInfo.php;fp=vendor%2Fsymfony%2Ffinder%2FTests%2FIterator%2FMockSplFileInfo.php;h=a5ac93a46c82fe9ee3f1f6516ab567b66489a2c3;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=cfe31c90f7414b05310a01a231ad02a37ddc81aa;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php b/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php index cfe31c90f..a5ac93a46 100644 --- a/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php +++ b/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php @@ -25,16 +25,16 @@ class MockSplFileInfo extends \SplFileInfo public function __construct($param) { - if (is_string($param)) { + if (\is_string($param)) { parent::__construct($param); - } elseif (is_array($param)) { + } elseif (\is_array($param)) { $defaults = array( - 'name' => 'file.txt', - 'contents' => null, - 'mode' => null, - 'type' => null, - 'relativePath' => null, - 'relativePathname' => null, + 'name' => 'file.txt', + 'contents' => null, + 'mode' => null, + 'type' => null, + 'relativePath' => null, + 'relativePathname' => null, ); $defaults = array_merge($defaults, $param); parent::__construct($defaults['name']); @@ -92,7 +92,7 @@ class MockSplFileInfo extends \SplFileInfo public function setType($type) { - if (is_string($type)) { + if (\is_string($type)) { switch ($type) { case 'directory': case 'd':