src/ExtensionServiceProvider.php
protected function registerExtensionFinder(): void
    {
        $this->app->singleton('orchestra.extension.finder', function (Application $app) {
            $config = [
                'path.app' => $app->path(),
                'path.base' => $app->basePath(),
                'path.composer' => $app->basePath('/composer.lock'),
            ];

            return new Finder($app->make('files'), $config);
        });
    }
protected function registerExtensionFinder(): void
    {
        $this->app->singleton('orchestra.extension.finder', function (Application $app) {
            $config = [
                'path.app' => $app->path(),
                'path.base' => $app->basePath(),
                'path.composer' => $app->basePath('/composer.lock'),
            ];

            return new Finder($app->make('files'), $config);
        });
    }
Register the service provider for Extension Finder.

@return void