diff --git a/src/Classifier.php b/src/Classifier.php index 60414da..c89d587 100644 --- a/src/Classifier.php +++ b/src/Classifier.php @@ -88,7 +88,11 @@ public function find(): iterable */ private function scanFiles(): void { - $files = (new Finder())->in($this->directory)->name('*.php')->sortByName()->files(); + $files = (new Finder()) + ->in($this->directory) + ->name('*.php') + ->sortByName() + ->files(); foreach ($files as $file) { require_once $file; diff --git a/tests/FinderTest.php b/tests/FinderTest.php index 921098b..b48170c 100644 --- a/tests/FinderTest.php +++ b/tests/FinderTest.php @@ -50,7 +50,9 @@ public function testAttributes(string|array $attributes, array $expectedClasses) public function testMixed(array $attributes, array $interfaces, array $expectedClasses) { $finder = new Classifier(__DIR__); - $finder = $finder->withAttribute($attributes)->withInterface($interfaces); + $finder = $finder + ->withAttribute($attributes) + ->withInterface($interfaces); $result = $finder->find();