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
/home/sportsfe.../httpdocs/wp-conte.../plugins/sitepres.../lib/twig/src/Extensio...
File: AbstractExtension.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of Twig.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
namespace WPML\Core\Twig\Extension;
[10] Fix | Delete
[11] Fix | Delete
use WPML\Core\Twig\Environment;
[12] Fix | Delete
abstract class AbstractExtension implements \WPML\Core\Twig\Extension\ExtensionInterface
[13] Fix | Delete
{
[14] Fix | Delete
/**
[15] Fix | Delete
* @deprecated since 1.23 (to be removed in 2.0), implement \Twig_Extension_InitRuntimeInterface instead
[16] Fix | Delete
*/
[17] Fix | Delete
public function initRuntime(\WPML\Core\Twig\Environment $environment)
[18] Fix | Delete
{
[19] Fix | Delete
}
[20] Fix | Delete
public function getTokenParsers()
[21] Fix | Delete
{
[22] Fix | Delete
return [];
[23] Fix | Delete
}
[24] Fix | Delete
public function getNodeVisitors()
[25] Fix | Delete
{
[26] Fix | Delete
return [];
[27] Fix | Delete
}
[28] Fix | Delete
public function getFilters()
[29] Fix | Delete
{
[30] Fix | Delete
return [];
[31] Fix | Delete
}
[32] Fix | Delete
public function getTests()
[33] Fix | Delete
{
[34] Fix | Delete
return [];
[35] Fix | Delete
}
[36] Fix | Delete
public function getFunctions()
[37] Fix | Delete
{
[38] Fix | Delete
return [];
[39] Fix | Delete
}
[40] Fix | Delete
public function getOperators()
[41] Fix | Delete
{
[42] Fix | Delete
return [];
[43] Fix | Delete
}
[44] Fix | Delete
/**
[45] Fix | Delete
* @deprecated since 1.23 (to be removed in 2.0), implement \Twig_Extension_GlobalsInterface instead
[46] Fix | Delete
*/
[47] Fix | Delete
public function getGlobals()
[48] Fix | Delete
{
[49] Fix | Delete
return [];
[50] Fix | Delete
}
[51] Fix | Delete
/**
[52] Fix | Delete
* @deprecated since 1.26 (to be removed in 2.0), not used anymore internally
[53] Fix | Delete
*/
[54] Fix | Delete
public function getName()
[55] Fix | Delete
{
[56] Fix | Delete
return \get_class($this);
[57] Fix | Delete
}
[58] Fix | Delete
}
[59] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Extension\\AbstractExtension', 'WPML\\Core\\Twig_Extension');
[60] Fix | Delete
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function