src/ConfigPaths.php
public static function mergePreflightDir(array $paths): array
    {
        if (defined('PREFLIGHT_DIR')) {
            $dir = constant('PREFLIGHT_DIR');
            $path = trailingslashit($dir) . 'preflight.toml';

            $paths[] = normalize_path($path);
        }

        return $paths;
    }
public static function mergePreflightDir(array $paths): array
    {
        if (defined('PREFLIGHT_DIR')) {
            $dir = constant('PREFLIGHT_DIR');
            $path = trailingslashit($dir) . 'preflight.toml';

            $paths[] = normalize_path($path);
        }

        return $paths;
    }
public static function mergePreflightDir ( array $ paths ) : array { if ( defined ( 'PREFLIGHT_DIR' ) ) { $ dir = constant ( 'PREFLIGHT_DIR' ) ; $ path = trailingslashit ( $ dir ) . 'preflight.toml' ; $ paths [ ] = normalize_path ( $ path ) ; } return $ paths ; }
Register preflight.toml under PREFLIGHT_DIR.

Used in self::HOOK.

@param array $paths The .toml config file paths.

@return string[]
Register preflight . toml under PREFLIGHT_DIR .