Fnmatcher.php
| 354 B | Satir:
0
| php
Geri
<?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); } }
Kaydet
Ctrl+S ile kaydet