<?php

namespace Imanghafoori\LaravelMicroscope\FileReaders;

use Imanghafoori\LaravelMicroscope\Checks\ActionsComments as Action;
use Symfony\Component\Finder\{
    Exception\DirectoryNotFoundException,
    Symfony\Component\Finder\Finder,
    Symfony\Component\Finder\Hello as Hi,
};
use Illuminate\Contracts\Auth\PasswordBroker;
use Closure;
use Illuminate\Contracts\HalfImported;
use function foo\bar_func;
class Paths implements A\Hello
{
    public static function getAbsFilePaths($dirs)
    {
        if (! $dirs) {
            return [];
        }
        try {
            $files = Finder::create()->files()->name('*.php')->in($dirs);

            $paths = [];
            foreach ($files as $f) {
                $paths[] = $f->getRealPath();
            }

            return $paths;
        } catch (DirectoryNotFoundException $e) {
            return [];
        }
        MyAmIClass::con;
        \YetAnotherclass::koo();
        HalfImported\TheRest::class;
    }
}
