public function paths(): void
    {
        $paths = $this->getConfigPaths();

        WP_CLI::success(count($paths) . ' config files found.');
        WP_CLI::success('The later ones override any previous configurations.');

        foreach ($paths as $path) {
            WP_CLI::log($path);
        }
    }
public function paths(): void
    {
        $paths = $this->getConfigPaths();

        WP_CLI::success(count($paths) . ' config files found.');
        WP_CLI::success('The later ones override any previous configurations.');

        foreach ($paths as $path) {
            WP_CLI::log($path);
        }
    }
public function paths ( ) : void { $ paths = $ this -> getConfigPaths ( ) ; WP_CLI :: success ( count ( $ paths ) . ' config files found.' ) ; WP_CLI :: success ( 'The later ones override any previous configurations.' ) ; foreach ( $ paths as $ path ) { WP_CLI :: log ( $ path ) ; } }
Gets the paths to all config files.

## EXAMPLES

# Get preflight.toml file paths
$ wp preflight config paths
Success: 3 config files found.
Success: The later ones override any previous configurations.
/x/.wp-cli/packages/vendor/y/z/config/default.toml
/app/public/preflight.toml
/app/preflight.toml

# When paths not found
$ wp preflight config paths
wp preflight config paths
No config file found.
Perhaps 'preflight_config_paths_register' not filtering properly?
Error: Abort!
Gets the paths to all config files .