mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 10:44:55 +02:00
Update Twig from 1.35.0 to 1.42.4 (PHP 5.5 is now required!)
This fixes some errors on PHP 7.4 and contains even more fixes Also bumped PHP version to 5.5 as Twig requires it.
This commit is contained in:
@@ -9,12 +9,14 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Twig\Sandbox;
|
||||
|
||||
/**
|
||||
* Interfaces that all security policy classes must implements.
|
||||
* Interface that all security policy classes must implements.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
interface Twig_Sandbox_SecurityPolicyInterface
|
||||
interface SecurityPolicyInterface
|
||||
{
|
||||
public function checkSecurity($tags, $filters, $functions);
|
||||
|
||||
@@ -23,4 +25,4 @@ interface Twig_Sandbox_SecurityPolicyInterface
|
||||
public function checkPropertyAllowed($obj, $method);
|
||||
}
|
||||
|
||||
class_alias('Twig_Sandbox_SecurityPolicyInterface', 'Twig\Sandbox\SecurityPolicyInterface', false);
|
||||
class_alias('Twig\Sandbox\SecurityPolicyInterface', 'Twig_Sandbox_SecurityPolicyInterface');
|
||||
|
Reference in New Issue
Block a user