X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Util
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
Util
/
??
..
??
ArrayChecker.php
(466 B)
??
ArrayParametersMerger.php
(1.59 KB)
??
FileHasher.php
(1.13 KB)
??
MemoryLimiter.php
(1.4 KB)
??
NewLineSplitter.php
(431 B)
??
NodePrinter.php
(1.63 KB)
??
PhpVersionFactory.php
(665 B)
??
Reflection
??
StringUtils.php
(294 B)
Editing: NewLineSplitter.php
<?php declare (strict_types=1); namespace Rector\Util; use RectorPrefix202411\Nette\Utils\Strings; final class NewLineSplitter { /** * @var string * @see https://regex101.com/r/qduj2O/4 */ private const NEWLINES_REGEX = "#\r?\n#"; /** * @return string[] */ public static function split(string $content) : array { return Strings::split($content, self::NEWLINES_REGEX); } }
Upload File
Create Folder