Skip to content

Commit 94ac596

Browse files
committed
fix cs
1 parent 63c3522 commit 94ac596

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/Exception/InvalidArgumentException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010

1111
namespace MathiasReker\PhpChmod\Exception;
1212

13-
use RuntimeException;
14-
1513
/**
1614
* Thrown to indicate that a method has been passed an illegal or
1715
* inappropriate argument.
1816
*/
19-
final class InvalidArgumentException extends RuntimeException
17+
final class InvalidArgumentException extends \RuntimeException
2018
{
2119
}

tests/Unit/ScannerTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010

1111
namespace MathiasReker\PhpChmod\Tests\Unit;
1212

13-
use FilesystemIterator;
1413
use MathiasReker\PhpChmod\Exception\InvalidArgumentException;
1514
use MathiasReker\PhpChmod\Scanner;
1615
use MathiasReker\PhpChmod\Util\OperatingSystem;
1716
use PHPUnit\Framework\TestCase;
18-
use RecursiveDirectoryIterator;
19-
use RecursiveIteratorIterator;
2017

2118
/**
2219
* @internal
@@ -423,9 +420,9 @@ protected function setUp(): void
423420

424421
protected function tearDown(): void
425422
{
426-
$paths = new RecursiveIteratorIterator(
427-
new RecursiveDirectoryIterator(self::ROOT, FilesystemIterator::SKIP_DOTS),
428-
RecursiveIteratorIterator::CHILD_FIRST);
423+
$paths = new \RecursiveIteratorIterator(
424+
new \RecursiveDirectoryIterator(self::ROOT, \FilesystemIterator::SKIP_DOTS),
425+
\RecursiveIteratorIterator::CHILD_FIRST);
429426

430427
foreach ($paths as $path) {
431428
if ($path->isDir()) {

0 commit comments

Comments
 (0)