mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-05 00:56:51 +01: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:
11
system/libs/Twig/Twig/TokenParser/AutoEscape.php
Normal file
11
system/libs/Twig/Twig/TokenParser/AutoEscape.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\AutoEscapeTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\AutoEscapeTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_AutoEscape extends AutoEscapeTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Block.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Block.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\BlockTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\BlockTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Block extends BlockTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Deprecated.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Deprecated.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\DeprecatedTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\DeprecatedTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Deprecated extends DeprecatedTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Do.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Do.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\DoTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\DoTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Do extends DoTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Embed.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Embed.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\EmbedTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\EmbedTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Embed extends EmbedTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Extends.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Extends.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\ExtendsTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\ExtendsTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Extends extends ExtendsTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Filter.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Filter.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\FilterTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\FilterTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Filter extends FilterTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Flush.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Flush.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\FlushTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\FlushTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Flush extends FlushTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/For.php
Normal file
11
system/libs/Twig/Twig/TokenParser/For.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\ForTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\ForTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_For extends ForTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/From.php
Normal file
11
system/libs/Twig/Twig/TokenParser/From.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\FromTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\FromTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_From extends FromTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/If.php
Normal file
11
system/libs/Twig/Twig/TokenParser/If.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\IfTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\IfTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_If extends IfTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Import.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Import.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\ImportTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\ImportTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Import extends ImportTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Include.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Include.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\IncludeTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\IncludeTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Include extends IncludeTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Macro.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Macro.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\MacroTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\MacroTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Macro extends MacroTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Sandbox.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Sandbox.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\SandboxTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\SandboxTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Sandbox extends SandboxTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Set.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Set.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\SetTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\SetTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Set extends SetTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Spaceless.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Spaceless.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\SpacelessTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\SpacelessTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Spaceless extends SpacelessTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/Use.php
Normal file
11
system/libs/Twig/Twig/TokenParser/Use.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\UseTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\UseTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_Use extends UseTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
11
system/libs/Twig/Twig/TokenParser/With.php
Normal file
11
system/libs/Twig/Twig/TokenParser/With.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Twig\TokenParser\WithTokenParser;
|
||||
|
||||
class_exists('Twig\TokenParser\WithTokenParser');
|
||||
|
||||
if (\false) {
|
||||
class Twig_TokenParser_With extends WithTokenParser
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user