|false stat() (follows links) */ public static function stat(string $path): array|false { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- an open_basedir restriction must read as "no" and not print a path return @stat($path); } /** @return array|false lstat() (does not follow a final link) */ public static function lstat(string $path): array|false { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- an open_basedir restriction must read as "no" and not print a path return @lstat($path); } }