✏️ 正在编辑: Fnmatcher.php
路径:
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Skipper/Fnmatcher.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php declare (strict_types=1); namespace Rector\Skipper; final class Fnmatcher { public function match(string $matchingPath, string $filePath) : bool { if (\fnmatch($matchingPath, $filePath)) { return \true; } // in case of relative compare return \fnmatch('*/' . $matchingPath, $filePath); } }
💾 保存文件
← 返回文件管理器