Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/twitter-.../vendor/composer
File: ClassLoader.php
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
[500] Fix | Delete
[501] Fix | Delete
$first = $class[0];
[502] Fix | Delete
if (isset($this->prefixLengthsPsr4[$first])) {
[503] Fix | Delete
$subPath = $class;
[504] Fix | Delete
while (false !== $lastPos = strrpos($subPath, '\\')) {
[505] Fix | Delete
$subPath = substr($subPath, 0, $lastPos);
[506] Fix | Delete
$search = $subPath . '\\';
[507] Fix | Delete
if (isset($this->prefixDirsPsr4[$search])) {
[508] Fix | Delete
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
[509] Fix | Delete
foreach ($this->prefixDirsPsr4[$search] as $dir) {
[510] Fix | Delete
if (file_exists($file = $dir . $pathEnd)) {
[511] Fix | Delete
return $file;
[512] Fix | Delete
}
[513] Fix | Delete
}
[514] Fix | Delete
}
[515] Fix | Delete
}
[516] Fix | Delete
}
[517] Fix | Delete
[518] Fix | Delete
// PSR-4 fallback dirs
[519] Fix | Delete
foreach ($this->fallbackDirsPsr4 as $dir) {
[520] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
[521] Fix | Delete
return $file;
[522] Fix | Delete
}
[523] Fix | Delete
}
[524] Fix | Delete
[525] Fix | Delete
// PSR-0 lookup
[526] Fix | Delete
if (false !== $pos = strrpos($class, '\\')) {
[527] Fix | Delete
// namespaced class name
[528] Fix | Delete
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
[529] Fix | Delete
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
[530] Fix | Delete
} else {
[531] Fix | Delete
// PEAR-like class name
[532] Fix | Delete
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
[533] Fix | Delete
}
[534] Fix | Delete
[535] Fix | Delete
if (isset($this->prefixesPsr0[$first])) {
[536] Fix | Delete
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
[537] Fix | Delete
if (0 === strpos($class, $prefix)) {
[538] Fix | Delete
foreach ($dirs as $dir) {
[539] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
[540] Fix | Delete
return $file;
[541] Fix | Delete
}
[542] Fix | Delete
}
[543] Fix | Delete
}
[544] Fix | Delete
}
[545] Fix | Delete
}
[546] Fix | Delete
[547] Fix | Delete
// PSR-0 fallback dirs
[548] Fix | Delete
foreach ($this->fallbackDirsPsr0 as $dir) {
[549] Fix | Delete
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
[550] Fix | Delete
return $file;
[551] Fix | Delete
}
[552] Fix | Delete
}
[553] Fix | Delete
[554] Fix | Delete
// PSR-0 include paths.
[555] Fix | Delete
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
[556] Fix | Delete
return $file;
[557] Fix | Delete
}
[558] Fix | Delete
[559] Fix | Delete
return false;
[560] Fix | Delete
}
[561] Fix | Delete
[562] Fix | Delete
/**
[563] Fix | Delete
* @return void
[564] Fix | Delete
*/
[565] Fix | Delete
private static function initializeIncludeClosure()
[566] Fix | Delete
{
[567] Fix | Delete
if (self::$includeFile !== null) {
[568] Fix | Delete
return;
[569] Fix | Delete
}
[570] Fix | Delete
[571] Fix | Delete
/**
[572] Fix | Delete
* Scope isolated include.
[573] Fix | Delete
*
[574] Fix | Delete
* Prevents access to $this/self from included files.
[575] Fix | Delete
*
[576] Fix | Delete
* @param string $file
[577] Fix | Delete
* @return void
[578] Fix | Delete
*/
[579] Fix | Delete
self::$includeFile = \Closure::bind(static function($file) {
[580] Fix | Delete
include $file;
[581] Fix | Delete
}, null, null);
[582] Fix | Delete
}
[583] Fix | Delete
}
[584] Fix | Delete
[585] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function