private function defaultConfiguration() : string
    {
        $supportedFiles = [
            'larastan.neon',
            'phpstan.neon',
            'phpstan.neon.dist',
        ];

        foreach ($supportedFiles as $file) {
            $filePath = base_path($file);

            if (file_exists($filePath)) {
                return $filePath;
            }
        }

        return __DIR__.'/../../extension.neon';
    }
private function defaultConfiguration() : string
    {
        $supportedFiles = [
            'larastan.neon',
            'phpstan.neon',
            'phpstan.neon.dist',
        ];

        foreach ($supportedFiles as $file) {
            $filePath = base_path($file);

            if (file_exists($filePath)) {
                return $filePath;
            }
        }

        return __DIR__.'/../../extension.neon';
    }
private function defaultConfiguration ( ) : string { $ supportedFiles = [ 'larastan.neon' , 'phpstan.neon' , 'phpstan.neon.dist' , ] ; foreach ( $ supportedFiles as $ file ) { $ filePath = base_path ( $ file ) ; if ( file_exists ( $ filePath ) ) { return $ filePath ; } } return __DIR__ . '/../../extension.neon' ; }
Determines the default configuration.

@return string
Determines the default configuration .