File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/src/ValueObject/StaticNonPhpFileSuffixes.php
Back
<?php declare (strict_types=1); namespace Rector\Core\ValueObject; final class StaticNonPhpFileSuffixes { /** * @var string[] */ public const SUFFIXES = ['neon', 'yaml', 'xml', 'yml', 'twig', 'latte', 'blade.php', 'tpl']; public static function getSuffixRegexPattern() : string { $quotedSuffixes = []; foreach (self::SUFFIXES as $suffix) { $quotedSuffixes[] = \preg_quote($suffix, '#'); } return '#\\.(' . \implode('|', $quotedSuffixes) . ')$#i'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings