Version Description
- Fix for HTTPs issues with images
Download this release
Release Info
Developer | jarednova |
Plugin | Timber |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- lib/Comment.php +2 -1
- lib/ImageHelper.php +4 -4
- lib/Timber.php +1 -0
- lib/URLHelper.php +32 -0
- readme.txt +5 -2
- timber-starter-theme/templates/single.twig +4 -3
- timber.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +171 -0
- vendor/composer/autoload_psr4.php +1 -0
- vendor/composer/autoload_real.php +3 -3
- vendor/composer/installed.json +117 -114
- vendor/twig/twig/.php_cs.dist +1 -0
- vendor/twig/twig/.travis.yml +12 -7
- vendor/twig/twig/CHANGELOG +27 -0
- vendor/twig/twig/composer.json +5 -2
- vendor/twig/twig/doc/advanced.rst +2 -2
- vendor/twig/twig/doc/filters/number_format.rst +8 -0
- vendor/twig/twig/doc/internals.rst +1 -1
- vendor/twig/twig/doc/intro.rst +2 -1
- vendor/twig/twig/ext/twig/php_twig.h +1 -1
- vendor/twig/twig/lib/Twig/BaseNodeVisitor.php +4 -0
- vendor/twig/twig/lib/Twig/Cache/Filesystem.php +2 -0
- vendor/twig/twig/lib/Twig/Cache/Null.php +2 -0
- vendor/twig/twig/lib/Twig/CacheInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Compiler.php +3 -0
- vendor/twig/twig/lib/Twig/ContainerRuntimeLoader.php +2 -0
- vendor/twig/twig/lib/Twig/Environment.php +25 -6
- vendor/twig/twig/lib/Twig/Error.php +3 -5
- vendor/twig/twig/lib/Twig/Error/Loader.php +2 -0
- vendor/twig/twig/lib/Twig/Error/Runtime.php +2 -0
- vendor/twig/twig/lib/Twig/Error/Syntax.php +2 -0
- vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php +2 -0
- vendor/twig/twig/lib/Twig/ExpressionParser.php +2 -0
- vendor/twig/twig/lib/Twig/Extension.php +4 -0
- vendor/twig/twig/lib/Twig/Extension/Core.php +37 -28
- vendor/twig/twig/lib/Twig/Extension/Debug.php +3 -1
- vendor/twig/twig/lib/Twig/Extension/Escaper.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/GlobalsInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/InitRuntimeInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/Optimizer.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/Profiler.php +3 -0
- vendor/twig/twig/lib/Twig/Extension/Sandbox.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/Staging.php +2 -0
- vendor/twig/twig/lib/Twig/Extension/StringLoader.php +2 -0
- vendor/twig/twig/lib/Twig/ExtensionInterface.php +3 -0
- vendor/twig/twig/lib/Twig/FactoryRuntimeLoader.php +2 -0
- vendor/twig/twig/lib/Twig/FileExtensionEscapingStrategy.php +2 -0
- vendor/twig/twig/lib/Twig/Lexer.php +2 -0
- vendor/twig/twig/lib/Twig/Loader/Array.php +2 -0
- vendor/twig/twig/lib/Twig/Loader/Chain.php +2 -0
- vendor/twig/twig/lib/Twig/Loader/Filesystem.php +2 -0
- vendor/twig/twig/lib/Twig/LoaderInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Markup.php +2 -0
- vendor/twig/twig/lib/Twig/Node.php +3 -0
- vendor/twig/twig/lib/Twig/Node/AutoEscape.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Block.php +2 -0
- vendor/twig/twig/lib/Twig/Node/BlockReference.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Body.php +2 -0
- vendor/twig/twig/lib/Twig/Node/CheckSecurity.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Do.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Embed.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Array.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/AssignName.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Add.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/And.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Div.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/EndsWith.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/FloorDiv.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/In.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Less.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/LessEqual.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Matches.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotIn.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Power.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Range.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/StartsWith.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/BlockReference.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Call.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Conditional.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Constant.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Filter.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Filter/Default.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Function.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/GetAttr.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/MethodCall.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Name.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/NullCoalesce.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Parent.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/TempName.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Constant.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Defined.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Divisibleby.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Even.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Null.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Odd.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Test/Sameas.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Unary.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Unary/Neg.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Unary/Not.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Expression/Unary/Pos.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Flush.php +2 -0
- vendor/twig/twig/lib/Twig/Node/For.php +2 -0
- vendor/twig/twig/lib/Twig/Node/ForLoop.php +2 -0
- vendor/twig/twig/lib/Twig/Node/If.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Import.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Include.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Macro.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Module.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Print.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Sandbox.php +2 -0
- vendor/twig/twig/lib/Twig/Node/SandboxedPrint.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Set.php +2 -0
- vendor/twig/twig/lib/Twig/Node/SetTemp.php +5 -0
- vendor/twig/twig/lib/Twig/Node/Spaceless.php +2 -0
- vendor/twig/twig/lib/Twig/Node/Text.php +2 -0
- vendor/twig/twig/lib/Twig/Node/With.php +2 -0
- vendor/twig/twig/lib/Twig/NodeCaptureInterface.php +2 -0
- vendor/twig/twig/lib/Twig/NodeOutputInterface.php +2 -0
- vendor/twig/twig/lib/Twig/NodeTraverser.php +2 -0
- vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php +2 -0
- vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php +2 -0
- vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php +2 -0
- vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php +2 -0
- vendor/twig/twig/lib/Twig/NodeVisitorInterface.php +4 -0
- vendor/twig/twig/lib/Twig/Parser.php +4 -0
- vendor/twig/twig/lib/Twig/Profiler/Dumper/Base.php +62 -0
- vendor/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php +2 -0
- vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php +3 -1
- vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php +3 -38
- vendor/twig/twig/lib/Twig/Profiler/Node/EnterProfile.php +2 -0
- vendor/twig/twig/lib/Twig/Profiler/Node/LeaveProfile.php +2 -0
- vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php +2 -0
- vendor/twig/twig/lib/Twig/Profiler/Profile.php +2 -0
- vendor/twig/twig/lib/Twig/RuntimeLoaderInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFilterError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedMethodError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedPropertyError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedTagError.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicy.php +2 -0
- vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php +2 -0
- vendor/twig/twig/lib/Twig/SimpleFilter.php +2 -0
- vendor/twig/twig/lib/Twig/SimpleFunction.php +2 -0
- vendor/twig/twig/lib/Twig/SimpleTest.php +2 -0
- vendor/twig/twig/lib/Twig/Source.php +2 -0
- vendor/twig/twig/lib/Twig/SourceContextLoaderInterface.php +2 -0
- vendor/twig/twig/lib/Twig/Template.php +2 -0
- vendor/twig/twig/lib/Twig/TemplateWrapper.php +2 -0
- vendor/twig/twig/lib/Twig/Test/IntegrationTestCase.php +19 -2
- vendor/twig/twig/lib/Twig/Test/NodeTestCase.php +8 -1
- vendor/twig/twig/lib/Twig/Token.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Block.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Do.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Embed.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Extends.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Filter.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Flush.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/For.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/From.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/If.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Import.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Include.php +2 -2
- vendor/twig/twig/lib/Twig/TokenParser/Macro.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Sandbox.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Set.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/Use.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParser/With.php +2 -0
- vendor/twig/twig/lib/Twig/TokenParserInterface.php +4 -0
- vendor/twig/twig/lib/Twig/TokenStream.php +2 -0
- vendor/twig/twig/lib/Twig/Util/DeprecationCollector.php +2 -0
- vendor/twig/twig/lib/Twig/Util/TemplateDirIterator.php +2 -0
- vendor/twig/twig/src/Cache/CacheInterface.php +11 -0
- vendor/twig/twig/src/Cache/FilesystemCache.php +11 -0
- vendor/twig/twig/src/Cache/NullCache.php +11 -0
- vendor/twig/twig/src/Compiler.php +11 -0
- vendor/twig/twig/src/Environment.php +11 -0
- vendor/twig/twig/src/Error/Error.php +11 -0
- vendor/twig/twig/src/Error/LoaderError.php +11 -0
- vendor/twig/twig/src/Error/RuntimeError.php +11 -0
- vendor/twig/twig/src/Error/SyntaxError.php +11 -0
- vendor/twig/twig/src/ExpressionParser.php +11 -0
- vendor/twig/twig/src/Extension/AbstractExtension.php +11 -0
- vendor/twig/twig/src/Extension/CoreExtension.php +11 -0
- vendor/twig/twig/src/Extension/DebugExtension.php +11 -0
- vendor/twig/twig/src/Extension/EscaperExtension.php +11 -0
- vendor/twig/twig/src/Extension/ExtensionInterface.php +11 -0
- vendor/twig/twig/src/Extension/GlobalsInterface.php +11 -0
- vendor/twig/twig/src/Extension/InitRuntimeInterface.php +11 -0
- vendor/twig/twig/src/Extension/OptimizerExtension.php +11 -0
- vendor/twig/twig/src/Extension/ProfilerExtension.php +11 -0
- vendor/twig/twig/src/Extension/SandboxExtension.php +11 -0
- vendor/twig/twig/src/Extension/StagingExtension.php +11 -0
- vendor/twig/twig/src/Extension/StringLoaderExtension.php +11 -0
- vendor/twig/twig/src/FileExtensionEscapingStrategy.php +11 -0
- vendor/twig/twig/src/Lexer.php +11 -0
- vendor/twig/twig/src/Loader/ArrayLoader.php +11 -0
- vendor/twig/twig/src/Loader/ChainLoader.php +11 -0
- vendor/twig/twig/src/Loader/ExistsLoaderInterface.php +11 -0
- vendor/twig/twig/src/Loader/FilesystemLoader.php +11 -0
- vendor/twig/twig/src/Loader/LoaderInterface.php +11 -0
- vendor/twig/twig/src/Loader/SourceContextLoaderInterface.php +11 -0
- vendor/twig/twig/src/Markup.php +11 -0
- vendor/twig/twig/src/Node/AutoEscapeNode.php +11 -0
- vendor/twig/twig/src/Node/BlockNode.php +11 -0
- vendor/twig/twig/src/Node/BlockReferenceNode.php +11 -0
- vendor/twig/twig/src/Node/BodyNode.php +11 -0
- vendor/twig/twig/src/Node/CheckSecurityNode.php +11 -0
- vendor/twig/twig/src/Node/DoNode.php +11 -0
- vendor/twig/twig/src/Node/EmbedNode.php +11 -0
- vendor/twig/twig/src/Node/Expression/AbstractExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/ArrayExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/AssignNameExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/AbstractBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/AddBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/AndBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/ConcatBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/DivBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/EqualBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/FloorDivBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/GreaterBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/InBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/LessBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/LessEqualBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/MatchesBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/ModBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/MulBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/NotInBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/OrBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/PowerBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/RangeBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Binary/SubBinary.php +11 -0
- vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/CallExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/ConditionalExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/ConstantExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/Filter/DefaultFilter.php +11 -0
- vendor/twig/twig/src/Node/Expression/FilterExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/FunctionExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/GetAttrExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/MethodCallExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/NameExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/NullCoalesceExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/ParentExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/TempNameExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/ConstantTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/DefinedTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/EvenTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/NullTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/OddTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/Test/SameasTest.php +11 -0
- vendor/twig/twig/src/Node/Expression/TestExpression.php +11 -0
- vendor/twig/twig/src/Node/Expression/Unary/AbstractUnary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Unary/NegUnary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Unary/NotUnary.php +11 -0
- vendor/twig/twig/src/Node/Expression/Unary/PosUnary.php +11 -0
- vendor/twig/twig/src/Node/FlushNode.php +11 -0
- vendor/twig/twig/src/Node/ForLoopNode.php +11 -0
- vendor/twig/twig/src/Node/ForNode.php +11 -0
- vendor/twig/twig/src/Node/IfNode.php +11 -0
- vendor/twig/twig/src/Node/ImportNode.php +11 -0
- vendor/twig/twig/src/Node/IncludeNode.php +11 -0
- vendor/twig/twig/src/Node/MacroNode.php +11 -0
- vendor/twig/twig/src/Node/ModuleNode.php +11 -0
- vendor/twig/twig/src/Node/Node.php +11 -0
- vendor/twig/twig/src/Node/NodeCaptureInterface.php +11 -0
- vendor/twig/twig/src/Node/NodeOutputInterface.php +11 -0
- vendor/twig/twig/src/Node/PrintNode.php +11 -0
- vendor/twig/twig/src/Node/SandboxNode.php +11 -0
- vendor/twig/twig/src/Node/SandboxedPrintNode.php +11 -0
- vendor/twig/twig/src/Node/SetNode.php +11 -0
- vendor/twig/twig/src/Node/SetTempNode.php +11 -0
- vendor/twig/twig/src/Node/SpacelessNode.php +11 -0
- vendor/twig/twig/src/Node/TextNode.php +11 -0
- vendor/twig/twig/src/Node/WithNode.php +11 -0
- vendor/twig/twig/src/NodeTraverser.php +11 -0
- vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php +11 -0
- vendor/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php +11 -0
- vendor/twig/twig/src/NodeVisitor/NodeVisitorInterface.php +11 -0
- vendor/twig/twig/src/NodeVisitor/OptimizerNodeVisitor.php +11 -0
- vendor/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php +11 -0
- vendor/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php +11 -0
- vendor/twig/twig/src/Parser.php +11 -0
- vendor/twig/twig/src/Profiler/Dumper/BaseDumper.php +11 -0
- vendor/twig/twig/src/Profiler/Dumper/BlackfireDumper.php +11 -0
- vendor/twig/twig/src/Profiler/Dumper/HtmlDumper.php +11 -0
- vendor/twig/twig/src/Profiler/Dumper/TextDumper.php +11 -0
- vendor/twig/twig/src/Profiler/Node/EnterProfileNode.php +11 -0
- vendor/twig/twig/src/Profiler/Node/LeaveProfileNode.php +11 -0
- vendor/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php +11 -0
- vendor/twig/twig/src/Profiler/Profile.php +11 -0
- vendor/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php +11 -0
- vendor/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php +11 -0
- vendor/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityPolicy.php +11 -0
- vendor/twig/twig/src/Sandbox/SecurityPolicyInterface.php +11 -0
- vendor/twig/twig/src/Source.php +11 -0
- vendor/twig/twig/src/Template.php +11 -0
- vendor/twig/twig/src/TemplateWrapper.php +11 -0
- vendor/twig/twig/src/Test/IntegrationTestCase.php +11 -0
- vendor/twig/twig/src/Test/NodeTestCase.php +11 -0
- vendor/twig/twig/src/Token.php +11 -0
- vendor/twig/twig/src/TokenParser/AbstractTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/AutoEscapeTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/BlockTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/DoTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/EmbedTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/ExtendsTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/FilterTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/FlushTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/ForTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/FromTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/IfTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/ImportTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/IncludeTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/MacroTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/SandboxTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/SetTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/SpacelessTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/TokenParserInterface.php +11 -0
- vendor/twig/twig/src/TokenParser/UseTokenParser.php +11 -0
- vendor/twig/twig/src/TokenParser/WithTokenParser.php +11 -0
- vendor/twig/twig/src/TokenStream.php +11 -0
- vendor/twig/twig/src/TwigFilter.php +11 -0
- vendor/twig/twig/src/TwigFunction.php +11 -0
- vendor/twig/twig/src/TwigTest.php +11 -0
- vendor/twig/twig/src/Util/DeprecationCollector.php +11 -0
- vendor/twig/twig/src/Util/TemplateDirIterator.php +11 -0
- vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php +4 -0
- vendor/twig/twig/test/Twig/Tests/Fixtures/filters/length.test +7 -1
- vendor/twig/twig/test/Twig/Tests/Fixtures/filters/urlencode_deprecated.test +1 -1
- vendor/twig/twig/test/Twig/Tests/Fixtures/functions/date.test +2 -0
- vendor/twig/twig/test/Twig/Tests/NativeExtensionTest.php +0 -4
- vendor/twig/twig/test/Twig/Tests/Node/Expression/CallTest.php +0 -4
lib/Comment.php
CHANGED
@@ -131,7 +131,8 @@ class Comment extends Core implements CoreInterface {
|
|
131 |
|
132 |
$email = $this->avatar_email();
|
133 |
|
134 |
-
$args =
|
|
|
135 |
if ( isset($args['url']) ) {
|
136 |
return $args['url'];
|
137 |
}
|
131 |
|
132 |
$email = $this->avatar_email();
|
133 |
|
134 |
+
$args = array('size' => $size, 'default' => $default);
|
135 |
+
$args = apply_filters('pre_get_avatar_data', $args, $email);
|
136 |
if ( isset($args['url']) ) {
|
137 |
return $args['url'];
|
138 |
}
|
lib/ImageHelper.php
CHANGED
@@ -347,11 +347,11 @@ class ImageHelper {
|
|
347 |
$result['absolute'] = true;
|
348 |
if ( TextHelper::starts_with($tmp, $upload_dir['basedir']) ) {
|
349 |
$result['base'] = self::BASE_UPLOADS; // upload based
|
350 |
-
$tmp =
|
351 |
}
|
352 |
if ( TextHelper::starts_with($tmp, WP_CONTENT_DIR) ) {
|
353 |
$result['base'] = self::BASE_CONTENT; // content based
|
354 |
-
$tmp =
|
355 |
}
|
356 |
} else {
|
357 |
if ( !$result['absolute'] ) {
|
@@ -359,11 +359,11 @@ class ImageHelper {
|
|
359 |
}
|
360 |
if ( URLHelper::starts_with($tmp, $upload_dir['baseurl']) ) {
|
361 |
$result['base'] = self::BASE_UPLOADS; // upload based
|
362 |
-
$tmp =
|
363 |
} else if ( URLHelper::starts_with($tmp, content_url()) ) {
|
364 |
$result['base'] = self::BASE_CONTENT; // content-based
|
365 |
$tmp = self::theme_url_to_dir($tmp);
|
366 |
-
$tmp =
|
367 |
}
|
368 |
}
|
369 |
$parts = pathinfo($tmp);
|
347 |
$result['absolute'] = true;
|
348 |
if ( TextHelper::starts_with($tmp, $upload_dir['basedir']) ) {
|
349 |
$result['base'] = self::BASE_UPLOADS; // upload based
|
350 |
+
$tmp = URLHelper::remove_url_component($tmp, $upload_dir['basedir']);
|
351 |
}
|
352 |
if ( TextHelper::starts_with($tmp, WP_CONTENT_DIR) ) {
|
353 |
$result['base'] = self::BASE_CONTENT; // content based
|
354 |
+
$tmp = URLHelper::remove_url_component($tmp, WP_CONTENT_DIR);
|
355 |
}
|
356 |
} else {
|
357 |
if ( !$result['absolute'] ) {
|
359 |
}
|
360 |
if ( URLHelper::starts_with($tmp, $upload_dir['baseurl']) ) {
|
361 |
$result['base'] = self::BASE_UPLOADS; // upload based
|
362 |
+
$tmp = URLHelper::remove_url_component($tmp, $upload_dir['baseurl']);
|
363 |
} else if ( URLHelper::starts_with($tmp, content_url()) ) {
|
364 |
$result['base'] = self::BASE_CONTENT; // content-based
|
365 |
$tmp = self::theme_url_to_dir($tmp);
|
366 |
+
$tmp = URLHelper::remove_url_component($tmp, WP_CONTENT_DIR);
|
367 |
}
|
368 |
}
|
369 |
$parts = pathinfo($tmp);
|
lib/Timber.php
CHANGED
@@ -121,6 +121,7 @@ class Timber {
|
|
121 |
|
122 |
/**
|
123 |
* Get a post by post ID or query (as a query string or an array of arguments).
|
|
|
124 |
*
|
125 |
* @api
|
126 |
* @param mixed $query Optional. Post ID or query (as query string or an array of arguments for
|
121 |
|
122 |
/**
|
123 |
* Get a post by post ID or query (as a query string or an array of arguments).
|
124 |
+
* But it's also cool
|
125 |
*
|
126 |
* @api
|
127 |
* @param mixed $query Optional. Post ID or query (as query string or an array of arguments for
|
lib/URLHelper.php
CHANGED
@@ -343,6 +343,38 @@ class URLHelper {
|
|
343 |
return $link;
|
344 |
}
|
345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
/**
|
347 |
* Pass links through user_trailingslashit handling query strings properly
|
348 |
*
|
343 |
return $link;
|
344 |
}
|
345 |
|
346 |
+
/**
|
347 |
+
* Removes the subcomponent of a URL regardless of protocol
|
348 |
+
* @since 1.3.3
|
349 |
+
* @author jarednova
|
350 |
+
* @param string $haystack ex: http://example.org/wp-content/uploads/dog.jpg
|
351 |
+
* @param string $needle ex: http://example.org/wp-content
|
352 |
+
* @return string
|
353 |
+
*/
|
354 |
+
public static function remove_url_component( $haystack, $needle ) {
|
355 |
+
$haystack = str_replace($needle, '', $haystack);
|
356 |
+
$needle = self::swap_protocol($needle);
|
357 |
+
return str_replace($needle, '', $haystack);
|
358 |
+
}
|
359 |
+
|
360 |
+
|
361 |
+
/**
|
362 |
+
* Swaps whatever protocol of a URL is sent. http becomes https and vice versa
|
363 |
+
* @since 1.3.3
|
364 |
+
* @author jarednova
|
365 |
+
* @param string $url ex: http://example.org/wp-content/uploads/dog.jpg
|
366 |
+
* @return string ex: https://example.org/wp-content/uploads/dog.jpg
|
367 |
+
*/
|
368 |
+
public static function swap_protocol( $url ) {
|
369 |
+
if ( stristr($url, 'http:') ) {
|
370 |
+
return str_replace('http:', 'https:', $url);
|
371 |
+
}
|
372 |
+
if ( stristr($url, 'https:') ) {
|
373 |
+
return str_replace('https:', 'http:', $url);
|
374 |
+
}
|
375 |
+
return $url;
|
376 |
+
}
|
377 |
+
|
378 |
/**
|
379 |
* Pass links through user_trailingslashit handling query strings properly
|
380 |
*
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: jarednova, connorjburton, lggorman
|
3 |
Tags: template engine, templates, twig
|
4 |
Requires at least: 3.7
|
5 |
-
Stable tag: 1.3.
|
6 |
-
Tested up to: 4.
|
7 |
PHP version: 5.3.0 or greater
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -41,6 +41,9 @@ Timber is great for any WordPress developer who cares about writing good, mainta
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
44 |
= 1.3.2 =
|
45 |
* Fix for image bug with WPML and Roots/Bedrock active #1445 (thanks @njbarrett)
|
46 |
* Fix for some HTTPs issues #1448 (thanks @baldursson)
|
2 |
Contributors: jarednova, connorjburton, lggorman
|
3 |
Tags: template engine, templates, twig
|
4 |
Requires at least: 3.7
|
5 |
+
Stable tag: 1.3.3
|
6 |
+
Tested up to: 4.8
|
7 |
PHP version: 5.3.0 or greater
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 1.3.3 =
|
45 |
+
* Fix for HTTPs issues with images
|
46 |
+
|
47 |
= 1.3.2 =
|
48 |
* Fix for image bug with WPML and Roots/Bedrock active #1445 (thanks @njbarrett)
|
49 |
* Fix for some HTTPs issues #1448 (thanks @baldursson)
|
timber-starter-theme/templates/single.twig
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
|
3 |
{% block content %}
|
4 |
<div class="content-wrapper">
|
5 |
-
<article class="post-type-{{post.post_type}}" id="post-{{post.ID}}">
|
|
|
6 |
<section class="article-content">
|
7 |
-
<h1 class="article-h1">{{post.title}}</h1>
|
8 |
<p class="blog-author">
|
9 |
-
<span>By</span><a href="{{post.author.path}}"> {{ post.author.name }} </a><span>•</span> {{ post.
|
10 |
</p>
|
11 |
<div class="article-body">
|
12 |
{{post.content}}
|
2 |
|
3 |
{% block content %}
|
4 |
<div class="content-wrapper">
|
5 |
+
<article class="post-type-{{ post.post_type }}" id="post-{{ post.ID }}">
|
6 |
+
<img src="{{ post.thumbnail.src|resize(1200, 300) }}">
|
7 |
<section class="article-content">
|
8 |
+
<h1 class="article-h1">{{ post.title }}</h1>
|
9 |
<p class="blog-author">
|
10 |
+
<span>By</span><a href="{{post.author.path}}"> {{ post.author.name }} </a><span>•</span> {{ post.date }}
|
11 |
</p>
|
12 |
<div class="article-body">
|
13 |
{{post.content}}
|
timber.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Timber
|
|
4 |
Description: The WordPress Timber Library allows you to write themes using the power of Twig templates.
|
5 |
Plugin URI: http://timber.upstatement.com
|
6 |
Author: Jared Novack + Upstatement
|
7 |
-
Version: 1.3.
|
8 |
Author URI: http://upstatement.com/
|
9 |
*/
|
10 |
// we look for Composer files first in the plugins dir.
|
4 |
Description: The WordPress Timber Library allows you to write themes using the power of Twig templates.
|
5 |
Plugin URI: http://timber.upstatement.com
|
6 |
Author: Jared Novack + Upstatement
|
7 |
+
Version: 1.3.3
|
8 |
Author URI: http://upstatement.com/
|
9 |
*/
|
10 |
// we look for Composer files first in the plugins dir.
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitc9a1d8f9e5e62801f21a9c9e63207e19::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -155,6 +155,176 @@ return array(
|
|
155 |
'Timber\\Twig' => $baseDir . '/lib/Twig.php',
|
156 |
'Timber\\URLHelper' => $baseDir . '/lib/URLHelper.php',
|
157 |
'Timber\\User' => $baseDir . '/lib/User.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
'Twig_Autoloader' => $vendorDir . '/twig/twig/lib/Twig/Autoloader.php',
|
159 |
'Twig_BaseNodeVisitor' => $vendorDir . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
160 |
'Twig_CacheInterface' => $vendorDir . '/twig/twig/lib/Twig/CacheInterface.php',
|
@@ -294,6 +464,7 @@ return array(
|
|
294 |
'Twig_Node_With' => $vendorDir . '/twig/twig/lib/Twig/Node/With.php',
|
295 |
'Twig_Parser' => $vendorDir . '/twig/twig/lib/Twig/Parser.php',
|
296 |
'Twig_ParserInterface' => $vendorDir . '/twig/twig/lib/Twig/ParserInterface.php',
|
|
|
297 |
'Twig_Profiler_Dumper_Blackfire' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
298 |
'Twig_Profiler_Dumper_Html' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
299 |
'Twig_Profiler_Dumper_Text' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
155 |
'Timber\\Twig' => $baseDir . '/lib/Twig.php',
|
156 |
'Timber\\URLHelper' => $baseDir . '/lib/URLHelper.php',
|
157 |
'Timber\\User' => $baseDir . '/lib/User.php',
|
158 |
+
'Twig\\Cache\\CacheInterface' => $vendorDir . '/twig/twig/src/Cache/CacheInterface.php',
|
159 |
+
'Twig\\Cache\\FilesystemCache' => $vendorDir . '/twig/twig/src/Cache/FilesystemCache.php',
|
160 |
+
'Twig\\Cache\\NullCache' => $vendorDir . '/twig/twig/src/Cache/NullCache.php',
|
161 |
+
'Twig\\Compiler' => $vendorDir . '/twig/twig/src/Compiler.php',
|
162 |
+
'Twig\\Environment' => $vendorDir . '/twig/twig/src/Environment.php',
|
163 |
+
'Twig\\Error\\Error' => $vendorDir . '/twig/twig/src/Error/Error.php',
|
164 |
+
'Twig\\Error\\LoaderError' => $vendorDir . '/twig/twig/src/Error/LoaderError.php',
|
165 |
+
'Twig\\Error\\RuntimeError' => $vendorDir . '/twig/twig/src/Error/RuntimeError.php',
|
166 |
+
'Twig\\Error\\SyntaxError' => $vendorDir . '/twig/twig/src/Error/SyntaxError.php',
|
167 |
+
'Twig\\ExpressionParser' => $vendorDir . '/twig/twig/src/ExpressionParser.php',
|
168 |
+
'Twig\\Extension\\AbstractExtension' => $vendorDir . '/twig/twig/src/Extension/AbstractExtension.php',
|
169 |
+
'Twig\\Extension\\CoreExtension' => $vendorDir . '/twig/twig/src/Extension/CoreExtension.php',
|
170 |
+
'Twig\\Extension\\DebugExtension' => $vendorDir . '/twig/twig/src/Extension/DebugExtension.php',
|
171 |
+
'Twig\\Extension\\EscaperExtension' => $vendorDir . '/twig/twig/src/Extension/EscaperExtension.php',
|
172 |
+
'Twig\\Extension\\ExtensionInterface' => $vendorDir . '/twig/twig/src/Extension/ExtensionInterface.php',
|
173 |
+
'Twig\\Extension\\GlobalsInterface' => $vendorDir . '/twig/twig/src/Extension/GlobalsInterface.php',
|
174 |
+
'Twig\\Extension\\InitRuntimeInterface' => $vendorDir . '/twig/twig/src/Extension/InitRuntimeInterface.php',
|
175 |
+
'Twig\\Extension\\OptimizerExtension' => $vendorDir . '/twig/twig/src/Extension/OptimizerExtension.php',
|
176 |
+
'Twig\\Extension\\ProfilerExtension' => $vendorDir . '/twig/twig/src/Extension/ProfilerExtension.php',
|
177 |
+
'Twig\\Extension\\SandboxExtension' => $vendorDir . '/twig/twig/src/Extension/SandboxExtension.php',
|
178 |
+
'Twig\\Extension\\StagingExtension' => $vendorDir . '/twig/twig/src/Extension/StagingExtension.php',
|
179 |
+
'Twig\\Extension\\StringLoaderExtension' => $vendorDir . '/twig/twig/src/Extension/StringLoaderExtension.php',
|
180 |
+
'Twig\\FileExtensionEscapingStrategy' => $vendorDir . '/twig/twig/src/FileExtensionEscapingStrategy.php',
|
181 |
+
'Twig\\Lexer' => $vendorDir . '/twig/twig/src/Lexer.php',
|
182 |
+
'Twig\\Loader\\ArrayLoader' => $vendorDir . '/twig/twig/src/Loader/ArrayLoader.php',
|
183 |
+
'Twig\\Loader\\ChainLoader' => $vendorDir . '/twig/twig/src/Loader/ChainLoader.php',
|
184 |
+
'Twig\\Loader\\ExistsLoaderInterface' => $vendorDir . '/twig/twig/src/Loader/ExistsLoaderInterface.php',
|
185 |
+
'Twig\\Loader\\FilesystemLoader' => $vendorDir . '/twig/twig/src/Loader/FilesystemLoader.php',
|
186 |
+
'Twig\\Loader\\LoaderInterface' => $vendorDir . '/twig/twig/src/Loader/LoaderInterface.php',
|
187 |
+
'Twig\\Loader\\SourceContextLoaderInterface' => $vendorDir . '/twig/twig/src/Loader/SourceContextLoaderInterface.php',
|
188 |
+
'Twig\\Markup' => $vendorDir . '/twig/twig/src/Markup.php',
|
189 |
+
'Twig\\NodeTraverser' => $vendorDir . '/twig/twig/src/NodeTraverser.php',
|
190 |
+
'Twig\\NodeVisitor\\AbstractNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php',
|
191 |
+
'Twig\\NodeVisitor\\EscaperNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php',
|
192 |
+
'Twig\\NodeVisitor\\NodeVisitorInterface' => $vendorDir . '/twig/twig/src/NodeVisitor/NodeVisitorInterface.php',
|
193 |
+
'Twig\\NodeVisitor\\OptimizerNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/OptimizerNodeVisitor.php',
|
194 |
+
'Twig\\NodeVisitor\\SafeAnalysisNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php',
|
195 |
+
'Twig\\NodeVisitor\\SandboxNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php',
|
196 |
+
'Twig\\Node\\AutoEscapeNode' => $vendorDir . '/twig/twig/src/Node/AutoEscapeNode.php',
|
197 |
+
'Twig\\Node\\BlockNode' => $vendorDir . '/twig/twig/src/Node/BlockNode.php',
|
198 |
+
'Twig\\Node\\BlockReferenceNode' => $vendorDir . '/twig/twig/src/Node/BlockReferenceNode.php',
|
199 |
+
'Twig\\Node\\BodyNode' => $vendorDir . '/twig/twig/src/Node/BodyNode.php',
|
200 |
+
'Twig\\Node\\CheckSecurityNode' => $vendorDir . '/twig/twig/src/Node/CheckSecurityNode.php',
|
201 |
+
'Twig\\Node\\DoNode' => $vendorDir . '/twig/twig/src/Node/DoNode.php',
|
202 |
+
'Twig\\Node\\EmbedNode' => $vendorDir . '/twig/twig/src/Node/EmbedNode.php',
|
203 |
+
'Twig\\Node\\Expression\\AbstractExpression' => $vendorDir . '/twig/twig/src/Node/Expression/AbstractExpression.php',
|
204 |
+
'Twig\\Node\\Expression\\ArrayExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ArrayExpression.php',
|
205 |
+
'Twig\\Node\\Expression\\AssignNameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/AssignNameExpression.php',
|
206 |
+
'Twig\\Node\\Expression\\Binary\\AbstractBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AbstractBinary.php',
|
207 |
+
'Twig\\Node\\Expression\\Binary\\AddBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AddBinary.php',
|
208 |
+
'Twig\\Node\\Expression\\Binary\\AndBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AndBinary.php',
|
209 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseAndBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php',
|
210 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseOrBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php',
|
211 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseXorBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php',
|
212 |
+
'Twig\\Node\\Expression\\Binary\\ConcatBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/ConcatBinary.php',
|
213 |
+
'Twig\\Node\\Expression\\Binary\\DivBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/DivBinary.php',
|
214 |
+
'Twig\\Node\\Expression\\Binary\\EndsWithBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php',
|
215 |
+
'Twig\\Node\\Expression\\Binary\\EqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/EqualBinary.php',
|
216 |
+
'Twig\\Node\\Expression\\Binary\\FloorDivBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/FloorDivBinary.php',
|
217 |
+
'Twig\\Node\\Expression\\Binary\\GreaterBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/GreaterBinary.php',
|
218 |
+
'Twig\\Node\\Expression\\Binary\\GreaterEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php',
|
219 |
+
'Twig\\Node\\Expression\\Binary\\InBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/InBinary.php',
|
220 |
+
'Twig\\Node\\Expression\\Binary\\LessBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/LessBinary.php',
|
221 |
+
'Twig\\Node\\Expression\\Binary\\LessEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/LessEqualBinary.php',
|
222 |
+
'Twig\\Node\\Expression\\Binary\\MatchesBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/MatchesBinary.php',
|
223 |
+
'Twig\\Node\\Expression\\Binary\\ModBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/ModBinary.php',
|
224 |
+
'Twig\\Node\\Expression\\Binary\\MulBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/MulBinary.php',
|
225 |
+
'Twig\\Node\\Expression\\Binary\\NotEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php',
|
226 |
+
'Twig\\Node\\Expression\\Binary\\NotInBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/NotInBinary.php',
|
227 |
+
'Twig\\Node\\Expression\\Binary\\OrBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/OrBinary.php',
|
228 |
+
'Twig\\Node\\Expression\\Binary\\PowerBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/PowerBinary.php',
|
229 |
+
'Twig\\Node\\Expression\\Binary\\RangeBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/RangeBinary.php',
|
230 |
+
'Twig\\Node\\Expression\\Binary\\StartsWithBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php',
|
231 |
+
'Twig\\Node\\Expression\\Binary\\SubBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/SubBinary.php',
|
232 |
+
'Twig\\Node\\Expression\\BlockReferenceExpression' => $vendorDir . '/twig/twig/src/Node/Expression/BlockReferenceExpression.php',
|
233 |
+
'Twig\\Node\\Expression\\CallExpression' => $vendorDir . '/twig/twig/src/Node/Expression/CallExpression.php',
|
234 |
+
'Twig\\Node\\Expression\\ConditionalExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ConditionalExpression.php',
|
235 |
+
'Twig\\Node\\Expression\\ConstantExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ConstantExpression.php',
|
236 |
+
'Twig\\Node\\Expression\\FilterExpression' => $vendorDir . '/twig/twig/src/Node/Expression/FilterExpression.php',
|
237 |
+
'Twig\\Node\\Expression\\Filter\\DefaultFilter' => $vendorDir . '/twig/twig/src/Node/Expression/Filter/DefaultFilter.php',
|
238 |
+
'Twig\\Node\\Expression\\FunctionExpression' => $vendorDir . '/twig/twig/src/Node/Expression/FunctionExpression.php',
|
239 |
+
'Twig\\Node\\Expression\\GetAttrExpression' => $vendorDir . '/twig/twig/src/Node/Expression/GetAttrExpression.php',
|
240 |
+
'Twig\\Node\\Expression\\MethodCallExpression' => $vendorDir . '/twig/twig/src/Node/Expression/MethodCallExpression.php',
|
241 |
+
'Twig\\Node\\Expression\\NameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/NameExpression.php',
|
242 |
+
'Twig\\Node\\Expression\\NullCoalesceExpression' => $vendorDir . '/twig/twig/src/Node/Expression/NullCoalesceExpression.php',
|
243 |
+
'Twig\\Node\\Expression\\ParentExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ParentExpression.php',
|
244 |
+
'Twig\\Node\\Expression\\TempNameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/TempNameExpression.php',
|
245 |
+
'Twig\\Node\\Expression\\TestExpression' => $vendorDir . '/twig/twig/src/Node/Expression/TestExpression.php',
|
246 |
+
'Twig\\Node\\Expression\\Test\\ConstantTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/ConstantTest.php',
|
247 |
+
'Twig\\Node\\Expression\\Test\\DefinedTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/DefinedTest.php',
|
248 |
+
'Twig\\Node\\Expression\\Test\\DivisiblebyTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php',
|
249 |
+
'Twig\\Node\\Expression\\Test\\EvenTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/EvenTest.php',
|
250 |
+
'Twig\\Node\\Expression\\Test\\NullTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/NullTest.php',
|
251 |
+
'Twig\\Node\\Expression\\Test\\OddTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/OddTest.php',
|
252 |
+
'Twig\\Node\\Expression\\Test\\SameasTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/SameasTest.php',
|
253 |
+
'Twig\\Node\\Expression\\Unary\\AbstractUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/AbstractUnary.php',
|
254 |
+
'Twig\\Node\\Expression\\Unary\\NegUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/NegUnary.php',
|
255 |
+
'Twig\\Node\\Expression\\Unary\\NotUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/NotUnary.php',
|
256 |
+
'Twig\\Node\\Expression\\Unary\\PosUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/PosUnary.php',
|
257 |
+
'Twig\\Node\\FlushNode' => $vendorDir . '/twig/twig/src/Node/FlushNode.php',
|
258 |
+
'Twig\\Node\\ForLoopNode' => $vendorDir . '/twig/twig/src/Node/ForLoopNode.php',
|
259 |
+
'Twig\\Node\\ForNode' => $vendorDir . '/twig/twig/src/Node/ForNode.php',
|
260 |
+
'Twig\\Node\\IfNode' => $vendorDir . '/twig/twig/src/Node/IfNode.php',
|
261 |
+
'Twig\\Node\\ImportNode' => $vendorDir . '/twig/twig/src/Node/ImportNode.php',
|
262 |
+
'Twig\\Node\\IncludeNode' => $vendorDir . '/twig/twig/src/Node/IncludeNode.php',
|
263 |
+
'Twig\\Node\\MacroNode' => $vendorDir . '/twig/twig/src/Node/MacroNode.php',
|
264 |
+
'Twig\\Node\\ModuleNode' => $vendorDir . '/twig/twig/src/Node/ModuleNode.php',
|
265 |
+
'Twig\\Node\\Node' => $vendorDir . '/twig/twig/src/Node/Node.php',
|
266 |
+
'Twig\\Node\\NodeCaptureInterface' => $vendorDir . '/twig/twig/src/Node/NodeCaptureInterface.php',
|
267 |
+
'Twig\\Node\\NodeOutputInterface' => $vendorDir . '/twig/twig/src/Node/NodeOutputInterface.php',
|
268 |
+
'Twig\\Node\\PrintNode' => $vendorDir . '/twig/twig/src/Node/PrintNode.php',
|
269 |
+
'Twig\\Node\\SandboxNode' => $vendorDir . '/twig/twig/src/Node/SandboxNode.php',
|
270 |
+
'Twig\\Node\\SandboxedPrintNode' => $vendorDir . '/twig/twig/src/Node/SandboxedPrintNode.php',
|
271 |
+
'Twig\\Node\\SetNode' => $vendorDir . '/twig/twig/src/Node/SetNode.php',
|
272 |
+
'Twig\\Node\\SetTempNode' => $vendorDir . '/twig/twig/src/Node/SetTempNode.php',
|
273 |
+
'Twig\\Node\\SpacelessNode' => $vendorDir . '/twig/twig/src/Node/SpacelessNode.php',
|
274 |
+
'Twig\\Node\\TextNode' => $vendorDir . '/twig/twig/src/Node/TextNode.php',
|
275 |
+
'Twig\\Node\\WithNode' => $vendorDir . '/twig/twig/src/Node/WithNode.php',
|
276 |
+
'Twig\\Parser' => $vendorDir . '/twig/twig/src/Parser.php',
|
277 |
+
'Twig\\Profiler\\Dumper\\BaseDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/BaseDumper.php',
|
278 |
+
'Twig\\Profiler\\Dumper\\BlackfireDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/BlackfireDumper.php',
|
279 |
+
'Twig\\Profiler\\Dumper\\HtmlDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/HtmlDumper.php',
|
280 |
+
'Twig\\Profiler\\Dumper\\TextDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/TextDumper.php',
|
281 |
+
'Twig\\Profiler\\NodeVisitor\\ProfilerNodeVisitor' => $vendorDir . '/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php',
|
282 |
+
'Twig\\Profiler\\Node\\EnterProfileNode' => $vendorDir . '/twig/twig/src/Profiler/Node/EnterProfileNode.php',
|
283 |
+
'Twig\\Profiler\\Node\\LeaveProfileNode' => $vendorDir . '/twig/twig/src/Profiler/Node/LeaveProfileNode.php',
|
284 |
+
'Twig\\Profiler\\Profile' => $vendorDir . '/twig/twig/src/Profiler/Profile.php',
|
285 |
+
'Twig\\RuntimeLoader\\ContainerRuntimeLoader' => $vendorDir . '/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php',
|
286 |
+
'Twig\\RuntimeLoader\\FactoryRuntimeLoader' => $vendorDir . '/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php',
|
287 |
+
'Twig\\RuntimeLoader\\RuntimeLoaderInterface' => $vendorDir . '/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php',
|
288 |
+
'Twig\\Sandbox\\SecurityError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityError.php',
|
289 |
+
'Twig\\Sandbox\\SecurityNotAllowedFilterError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php',
|
290 |
+
'Twig\\Sandbox\\SecurityNotAllowedFunctionError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php',
|
291 |
+
'Twig\\Sandbox\\SecurityNotAllowedMethodError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php',
|
292 |
+
'Twig\\Sandbox\\SecurityNotAllowedPropertyError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php',
|
293 |
+
'Twig\\Sandbox\\SecurityNotAllowedTagError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php',
|
294 |
+
'Twig\\Sandbox\\SecurityPolicy' => $vendorDir . '/twig/twig/src/Sandbox/SecurityPolicy.php',
|
295 |
+
'Twig\\Sandbox\\SecurityPolicyInterface' => $vendorDir . '/twig/twig/src/Sandbox/SecurityPolicyInterface.php',
|
296 |
+
'Twig\\Source' => $vendorDir . '/twig/twig/src/Source.php',
|
297 |
+
'Twig\\Template' => $vendorDir . '/twig/twig/src/Template.php',
|
298 |
+
'Twig\\TemplateWrapper' => $vendorDir . '/twig/twig/src/TemplateWrapper.php',
|
299 |
+
'Twig\\Test\\IntegrationTestCase' => $vendorDir . '/twig/twig/src/Test/IntegrationTestCase.php',
|
300 |
+
'Twig\\Test\\NodeTestCase' => $vendorDir . '/twig/twig/src/Test/NodeTestCase.php',
|
301 |
+
'Twig\\Token' => $vendorDir . '/twig/twig/src/Token.php',
|
302 |
+
'Twig\\TokenParser\\AbstractTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/AbstractTokenParser.php',
|
303 |
+
'Twig\\TokenParser\\AutoEscapeTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/AutoEscapeTokenParser.php',
|
304 |
+
'Twig\\TokenParser\\BlockTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/BlockTokenParser.php',
|
305 |
+
'Twig\\TokenParser\\DoTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/DoTokenParser.php',
|
306 |
+
'Twig\\TokenParser\\EmbedTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/EmbedTokenParser.php',
|
307 |
+
'Twig\\TokenParser\\ExtendsTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ExtendsTokenParser.php',
|
308 |
+
'Twig\\TokenParser\\FilterTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FilterTokenParser.php',
|
309 |
+
'Twig\\TokenParser\\FlushTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FlushTokenParser.php',
|
310 |
+
'Twig\\TokenParser\\ForTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ForTokenParser.php',
|
311 |
+
'Twig\\TokenParser\\FromTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FromTokenParser.php',
|
312 |
+
'Twig\\TokenParser\\IfTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/IfTokenParser.php',
|
313 |
+
'Twig\\TokenParser\\ImportTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ImportTokenParser.php',
|
314 |
+
'Twig\\TokenParser\\IncludeTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/IncludeTokenParser.php',
|
315 |
+
'Twig\\TokenParser\\MacroTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/MacroTokenParser.php',
|
316 |
+
'Twig\\TokenParser\\SandboxTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SandboxTokenParser.php',
|
317 |
+
'Twig\\TokenParser\\SetTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SetTokenParser.php',
|
318 |
+
'Twig\\TokenParser\\SpacelessTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SpacelessTokenParser.php',
|
319 |
+
'Twig\\TokenParser\\TokenParserInterface' => $vendorDir . '/twig/twig/src/TokenParser/TokenParserInterface.php',
|
320 |
+
'Twig\\TokenParser\\UseTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/UseTokenParser.php',
|
321 |
+
'Twig\\TokenParser\\WithTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/WithTokenParser.php',
|
322 |
+
'Twig\\TokenStream' => $vendorDir . '/twig/twig/src/TokenStream.php',
|
323 |
+
'Twig\\TwigFilter' => $vendorDir . '/twig/twig/src/TwigFilter.php',
|
324 |
+
'Twig\\TwigFunction' => $vendorDir . '/twig/twig/src/TwigFunction.php',
|
325 |
+
'Twig\\TwigTest' => $vendorDir . '/twig/twig/src/TwigTest.php',
|
326 |
+
'Twig\\Util\\DeprecationCollector' => $vendorDir . '/twig/twig/src/Util/DeprecationCollector.php',
|
327 |
+
'Twig\\Util\\TemplateDirIterator' => $vendorDir . '/twig/twig/src/Util/TemplateDirIterator.php',
|
328 |
'Twig_Autoloader' => $vendorDir . '/twig/twig/lib/Twig/Autoloader.php',
|
329 |
'Twig_BaseNodeVisitor' => $vendorDir . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
330 |
'Twig_CacheInterface' => $vendorDir . '/twig/twig/lib/Twig/CacheInterface.php',
|
464 |
'Twig_Node_With' => $vendorDir . '/twig/twig/lib/Twig/Node/With.php',
|
465 |
'Twig_Parser' => $vendorDir . '/twig/twig/lib/Twig/Parser.php',
|
466 |
'Twig_ParserInterface' => $vendorDir . '/twig/twig/lib/Twig/ParserInterface.php',
|
467 |
+
'Twig_Profiler_Dumper_Base' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Base.php',
|
468 |
'Twig_Profiler_Dumper_Blackfire' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
469 |
'Twig_Profiler_Dumper_Html' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
470 |
'Twig_Profiler_Dumper_Text' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
vendor/composer/autoload_psr4.php
CHANGED
@@ -6,6 +6,7 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
|
|
9 |
'Timber\\' => array($baseDir . '/lib'),
|
10 |
'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
|
11 |
'' => array($vendorDir . '/asm89/twig-cache-extension/lib'),
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'Twig\\' => array($vendorDir . '/twig/twig/src'),
|
10 |
'Timber\\' => array($baseDir . '/lib'),
|
11 |
'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
|
12 |
'' => array($vendorDir . '/asm89/twig-cache-extension/lib'),
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9c8d8c9dddaed590b765e0180cfd6e86
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitc9a1d8f9e5e62801f21a9c9e63207e19
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitc9a1d8f9e5e62801f21a9c9e63207e19', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitc9a1d8f9e5e62801f21a9c9e63207e19', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
vendor/composer/installed.json
CHANGED
@@ -116,105 +116,89 @@
|
|
116 |
]
|
117 |
},
|
118 |
{
|
119 |
-
"name": "
|
120 |
-
"version": "v1.
|
121 |
-
"version_normalized": "1.
|
122 |
"source": {
|
123 |
"type": "git",
|
124 |
-
"url": "https://github.com/
|
125 |
-
"reference": "
|
126 |
},
|
127 |
"dist": {
|
128 |
"type": "zip",
|
129 |
-
"url": "https://api.github.com/repos/
|
130 |
-
"reference": "
|
131 |
"shasum": ""
|
132 |
},
|
133 |
"require": {
|
134 |
-
"php": ">=5.
|
135 |
-
},
|
136 |
-
"require-dev": {
|
137 |
-
"psr/container": "^1.0",
|
138 |
-
"symfony/debug": "~2.7",
|
139 |
-
"symfony/phpunit-bridge": "~3.3@dev"
|
140 |
},
|
141 |
-
"time": "
|
142 |
"type": "library",
|
143 |
-
"extra": {
|
144 |
-
"branch-alias": {
|
145 |
-
"dev-master": "1.33-dev"
|
146 |
-
}
|
147 |
-
},
|
148 |
"installation-source": "dist",
|
149 |
"autoload": {
|
150 |
-
"
|
151 |
-
"
|
152 |
-
|
153 |
},
|
154 |
"notification-url": "https://packagist.org/downloads/",
|
155 |
"license": [
|
156 |
-
"
|
157 |
],
|
158 |
"authors": [
|
159 |
{
|
160 |
-
"name": "
|
161 |
-
"email": "
|
162 |
-
"homepage": "http://
|
163 |
-
"role": "Lead Developer"
|
164 |
},
|
165 |
{
|
166 |
-
"name": "
|
167 |
-
"
|
168 |
-
"role": "Project Founder"
|
169 |
},
|
170 |
{
|
171 |
-
"name": "
|
172 |
-
"homepage": "
|
173 |
-
"role": "Contributors"
|
174 |
}
|
175 |
],
|
176 |
-
"description": "
|
177 |
-
"homepage": "
|
178 |
"keywords": [
|
179 |
-
"
|
|
|
|
|
180 |
]
|
181 |
},
|
182 |
{
|
183 |
-
"name": "
|
184 |
-
"version": "
|
185 |
-
"version_normalized": "
|
186 |
"source": {
|
187 |
"type": "git",
|
188 |
-
"url": "https://github.com/
|
189 |
-
"reference": "
|
190 |
},
|
191 |
"dist": {
|
192 |
"type": "zip",
|
193 |
-
"url": "https://api.github.com/repos/
|
194 |
-
"reference": "
|
195 |
"shasum": ""
|
196 |
},
|
197 |
"require": {
|
198 |
-
"
|
199 |
-
"
|
|
|
200 |
},
|
201 |
"require-dev": {
|
202 |
-
"
|
203 |
-
|
204 |
-
|
205 |
-
"psr/cache-implementation": "To make use of PSR-6 cache implementation via PsrCacheAdapter."
|
206 |
},
|
207 |
-
"time": "
|
208 |
"type": "library",
|
209 |
-
"extra": {
|
210 |
-
"branch-alias": {
|
211 |
-
"dev-master": "1.3-dev"
|
212 |
-
}
|
213 |
-
},
|
214 |
"installation-source": "dist",
|
215 |
"autoload": {
|
216 |
-
"psr-
|
217 |
-
"": "
|
218 |
}
|
219 |
},
|
220 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -223,102 +207,123 @@
|
|
223 |
],
|
224 |
"authors": [
|
225 |
{
|
226 |
-
"name": "
|
227 |
-
"email": "
|
|
|
228 |
}
|
229 |
],
|
230 |
-
"description": "
|
231 |
-
"homepage": "
|
232 |
"keywords": [
|
233 |
-
"
|
234 |
-
"
|
235 |
-
"
|
|
|
236 |
]
|
237 |
},
|
238 |
{
|
239 |
-
"name": "
|
240 |
-
"version": "v1.
|
241 |
-
"version_normalized": "1.
|
242 |
"source": {
|
243 |
"type": "git",
|
244 |
-
"url": "https://github.com/
|
245 |
-
"reference": "
|
246 |
},
|
247 |
"dist": {
|
248 |
"type": "zip",
|
249 |
-
"url": "https://api.github.com/repos/
|
250 |
-
"reference": "
|
251 |
"shasum": ""
|
252 |
},
|
253 |
"require": {
|
254 |
-
"php": ">=5.3.
|
255 |
},
|
256 |
-
"
|
|
|
|
|
|
|
|
|
|
|
257 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
258 |
"installation-source": "dist",
|
259 |
"autoload": {
|
260 |
-
"
|
261 |
-
"
|
262 |
-
|
|
|
|
|
|
|
263 |
},
|
264 |
"notification-url": "https://packagist.org/downloads/",
|
265 |
"license": [
|
266 |
-
"
|
267 |
],
|
268 |
"authors": [
|
269 |
{
|
270 |
-
"name": "
|
271 |
-
"email": "
|
272 |
-
"homepage": "http://
|
|
|
273 |
},
|
274 |
{
|
275 |
-
"name": "
|
276 |
-
"
|
|
|
277 |
},
|
278 |
{
|
279 |
-
"name": "
|
280 |
-
"homepage": "
|
|
|
281 |
}
|
282 |
],
|
283 |
-
"description": "
|
284 |
-
"homepage": "
|
285 |
"keywords": [
|
286 |
-
"
|
287 |
-
"router",
|
288 |
-
"routing"
|
289 |
]
|
290 |
},
|
291 |
{
|
292 |
-
"name": "
|
293 |
-
"version": "
|
294 |
-
"version_normalized": "
|
295 |
"source": {
|
296 |
"type": "git",
|
297 |
-
"url": "https://github.com/
|
298 |
-
"reference": "
|
299 |
},
|
300 |
"dist": {
|
301 |
"type": "zip",
|
302 |
-
"url": "https://api.github.com/repos/
|
303 |
-
"reference": "
|
304 |
"shasum": ""
|
305 |
},
|
306 |
"require": {
|
307 |
-
"
|
308 |
-
"
|
309 |
-
"php": ">=5.3.0"
|
310 |
},
|
311 |
"require-dev": {
|
312 |
-
"
|
313 |
-
"satooshi/php-coveralls": "dev-master",
|
314 |
-
"wp-cli/wp-cli": "*"
|
315 |
},
|
316 |
-
"
|
|
|
|
|
|
|
317 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
318 |
"installation-source": "dist",
|
319 |
"autoload": {
|
320 |
-
"psr-
|
321 |
-
"
|
322 |
}
|
323 |
},
|
324 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -327,18 +332,16 @@
|
|
327 |
],
|
328 |
"authors": [
|
329 |
{
|
330 |
-
"name": "
|
331 |
-
"email": "
|
332 |
-
"homepage": "http://upstatement.com"
|
333 |
}
|
334 |
],
|
335 |
-
"description": "
|
336 |
-
"homepage": "
|
337 |
"keywords": [
|
338 |
-
"
|
339 |
-
"
|
340 |
-
"
|
341 |
-
"routing"
|
342 |
]
|
343 |
}
|
344 |
]
|
116 |
]
|
117 |
},
|
118 |
{
|
119 |
+
"name": "altorouter/altorouter",
|
120 |
+
"version": "v1.1.0",
|
121 |
+
"version_normalized": "1.1.0.0",
|
122 |
"source": {
|
123 |
"type": "git",
|
124 |
+
"url": "https://github.com/dannyvankooten/AltoRouter.git",
|
125 |
+
"reference": "09d9d946c546bae6d22a7654cdb3b825ffda54b4"
|
126 |
},
|
127 |
"dist": {
|
128 |
"type": "zip",
|
129 |
+
"url": "https://api.github.com/repos/dannyvankooten/AltoRouter/zipball/09d9d946c546bae6d22a7654cdb3b825ffda54b4",
|
130 |
+
"reference": "09d9d946c546bae6d22a7654cdb3b825ffda54b4",
|
131 |
"shasum": ""
|
132 |
},
|
133 |
"require": {
|
134 |
+
"php": ">=5.3.0"
|
|
|
|
|
|
|
|
|
|
|
135 |
},
|
136 |
+
"time": "2014-04-16 09:44:40",
|
137 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
138 |
"installation-source": "dist",
|
139 |
"autoload": {
|
140 |
+
"classmap": [
|
141 |
+
"AltoRouter.php"
|
142 |
+
]
|
143 |
},
|
144 |
"notification-url": "https://packagist.org/downloads/",
|
145 |
"license": [
|
146 |
+
"MIT"
|
147 |
],
|
148 |
"authors": [
|
149 |
{
|
150 |
+
"name": "Danny van Kooten",
|
151 |
+
"email": "dannyvankooten@gmail.com",
|
152 |
+
"homepage": "http://dannyvankooten.com/"
|
|
|
153 |
},
|
154 |
{
|
155 |
+
"name": "Koen Punt",
|
156 |
+
"homepage": "https://github.com/koenpunt"
|
|
|
157 |
},
|
158 |
{
|
159 |
+
"name": "niahoo",
|
160 |
+
"homepage": "https://github.com/niahoo"
|
|
|
161 |
}
|
162 |
],
|
163 |
+
"description": "A lightning fast router for PHP",
|
164 |
+
"homepage": "https://github.com/dannyvankooten/AltoRouter",
|
165 |
"keywords": [
|
166 |
+
"lightweight",
|
167 |
+
"router",
|
168 |
+
"routing"
|
169 |
]
|
170 |
},
|
171 |
{
|
172 |
+
"name": "upstatement/routes",
|
173 |
+
"version": "0.4",
|
174 |
+
"version_normalized": "0.4.0.0",
|
175 |
"source": {
|
176 |
"type": "git",
|
177 |
+
"url": "https://github.com/Upstatement/routes.git",
|
178 |
+
"reference": "fae7d46f56e8b5775f072774941a5f0a25cb86f3"
|
179 |
},
|
180 |
"dist": {
|
181 |
"type": "zip",
|
182 |
+
"url": "https://api.github.com/repos/Upstatement/routes/zipball/fae7d46f56e8b5775f072774941a5f0a25cb86f3",
|
183 |
+
"reference": "fae7d46f56e8b5775f072774941a5f0a25cb86f3",
|
184 |
"shasum": ""
|
185 |
},
|
186 |
"require": {
|
187 |
+
"altorouter/altorouter": "1.1.0",
|
188 |
+
"composer/installers": "~1.0",
|
189 |
+
"php": ">=5.3.0"
|
190 |
},
|
191 |
"require-dev": {
|
192 |
+
"phpunit/phpunit": "3.7.*",
|
193 |
+
"satooshi/php-coveralls": "dev-master",
|
194 |
+
"wp-cli/wp-cli": "*"
|
|
|
195 |
},
|
196 |
+
"time": "2016-07-06 12:53:24",
|
197 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
198 |
"installation-source": "dist",
|
199 |
"autoload": {
|
200 |
+
"psr-0": {
|
201 |
+
"Routes": ""
|
202 |
}
|
203 |
},
|
204 |
"notification-url": "https://packagist.org/downloads/",
|
207 |
],
|
208 |
"authors": [
|
209 |
{
|
210 |
+
"name": "Jared Novack",
|
211 |
+
"email": "jared@upstatement.com",
|
212 |
+
"homepage": "http://upstatement.com"
|
213 |
}
|
214 |
],
|
215 |
+
"description": "Manage rewrites and routes in WordPress with this dead-simple plugin",
|
216 |
+
"homepage": "http://routes.upstatement.com",
|
217 |
"keywords": [
|
218 |
+
"redirects",
|
219 |
+
"rewrite",
|
220 |
+
"routes",
|
221 |
+
"routing"
|
222 |
]
|
223 |
},
|
224 |
{
|
225 |
+
"name": "twig/twig",
|
226 |
+
"version": "v1.34.4",
|
227 |
+
"version_normalized": "1.34.4.0",
|
228 |
"source": {
|
229 |
"type": "git",
|
230 |
+
"url": "https://github.com/twigphp/Twig.git",
|
231 |
+
"reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee"
|
232 |
},
|
233 |
"dist": {
|
234 |
"type": "zip",
|
235 |
+
"url": "https://api.github.com/repos/twigphp/Twig/zipball/f878bab48edb66ad9c6ed626bf817f60c6c096ee",
|
236 |
+
"reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee",
|
237 |
"shasum": ""
|
238 |
},
|
239 |
"require": {
|
240 |
+
"php": ">=5.3.3"
|
241 |
},
|
242 |
+
"require-dev": {
|
243 |
+
"psr/container": "^1.0",
|
244 |
+
"symfony/debug": "~2.7",
|
245 |
+
"symfony/phpunit-bridge": "~3.3@dev"
|
246 |
+
},
|
247 |
+
"time": "2017-07-04 13:19:31",
|
248 |
"type": "library",
|
249 |
+
"extra": {
|
250 |
+
"branch-alias": {
|
251 |
+
"dev-master": "1.34-dev"
|
252 |
+
}
|
253 |
+
},
|
254 |
"installation-source": "dist",
|
255 |
"autoload": {
|
256 |
+
"psr-0": {
|
257 |
+
"Twig_": "lib/"
|
258 |
+
},
|
259 |
+
"psr-4": {
|
260 |
+
"Twig\\": "src/"
|
261 |
+
}
|
262 |
},
|
263 |
"notification-url": "https://packagist.org/downloads/",
|
264 |
"license": [
|
265 |
+
"BSD-3-Clause"
|
266 |
],
|
267 |
"authors": [
|
268 |
{
|
269 |
+
"name": "Fabien Potencier",
|
270 |
+
"email": "fabien@symfony.com",
|
271 |
+
"homepage": "http://fabien.potencier.org",
|
272 |
+
"role": "Lead Developer"
|
273 |
},
|
274 |
{
|
275 |
+
"name": "Armin Ronacher",
|
276 |
+
"email": "armin.ronacher@active-4.com",
|
277 |
+
"role": "Project Founder"
|
278 |
},
|
279 |
{
|
280 |
+
"name": "Twig Team",
|
281 |
+
"homepage": "http://twig.sensiolabs.org/contributors",
|
282 |
+
"role": "Contributors"
|
283 |
}
|
284 |
],
|
285 |
+
"description": "Twig, the flexible, fast, and secure template language for PHP",
|
286 |
+
"homepage": "http://twig.sensiolabs.org",
|
287 |
"keywords": [
|
288 |
+
"templating"
|
|
|
|
|
289 |
]
|
290 |
},
|
291 |
{
|
292 |
+
"name": "asm89/twig-cache-extension",
|
293 |
+
"version": "1.3.2",
|
294 |
+
"version_normalized": "1.3.2.0",
|
295 |
"source": {
|
296 |
"type": "git",
|
297 |
+
"url": "https://github.com/asm89/twig-cache-extension.git",
|
298 |
+
"reference": "630ea7abdc3fc62ba6786c02590a1560e449cf55"
|
299 |
},
|
300 |
"dist": {
|
301 |
"type": "zip",
|
302 |
+
"url": "https://api.github.com/repos/asm89/twig-cache-extension/zipball/630ea7abdc3fc62ba6786c02590a1560e449cf55",
|
303 |
+
"reference": "630ea7abdc3fc62ba6786c02590a1560e449cf55",
|
304 |
"shasum": ""
|
305 |
},
|
306 |
"require": {
|
307 |
+
"php": ">=5.3.2",
|
308 |
+
"twig/twig": "^1.0|^2.0"
|
|
|
309 |
},
|
310 |
"require-dev": {
|
311 |
+
"doctrine/cache": "~1.0"
|
|
|
|
|
312 |
},
|
313 |
+
"suggest": {
|
314 |
+
"psr/cache-implementation": "To make use of PSR-6 cache implementation via PsrCacheAdapter."
|
315 |
+
},
|
316 |
+
"time": "2017-01-10 22:04:15",
|
317 |
"type": "library",
|
318 |
+
"extra": {
|
319 |
+
"branch-alias": {
|
320 |
+
"dev-master": "1.3-dev"
|
321 |
+
}
|
322 |
+
},
|
323 |
"installation-source": "dist",
|
324 |
"autoload": {
|
325 |
+
"psr-4": {
|
326 |
+
"": "lib/"
|
327 |
}
|
328 |
},
|
329 |
"notification-url": "https://packagist.org/downloads/",
|
332 |
],
|
333 |
"authors": [
|
334 |
{
|
335 |
+
"name": "Alexander",
|
336 |
+
"email": "iam.asm89@gmail.com"
|
|
|
337 |
}
|
338 |
],
|
339 |
+
"description": "Cache fragments of templates directly within Twig.",
|
340 |
+
"homepage": "https://github.com/asm89/twig-cache-extension",
|
341 |
"keywords": [
|
342 |
+
"cache",
|
343 |
+
"extension",
|
344 |
+
"twig"
|
|
|
345 |
]
|
346 |
}
|
347 |
]
|
vendor/twig/twig/.php_cs.dist
CHANGED
@@ -9,6 +9,7 @@ return PhpCsFixer\Config::create()
|
|
9 |
'no_unreachable_default_argument_value' => false,
|
10 |
'braces' => array('allow_single_line_closure' => true),
|
11 |
'heredoc_to_nowdoc' => false,
|
|
|
12 |
))
|
13 |
->setRiskyAllowed(true)
|
14 |
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
|
9 |
'no_unreachable_default_argument_value' => false,
|
10 |
'braces' => array('allow_single_line_closure' => true),
|
11 |
'heredoc_to_nowdoc' => false,
|
12 |
+
'dir_constant' => false,
|
13 |
))
|
14 |
->setRiskyAllowed(true)
|
15 |
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
|
vendor/twig/twig/.travis.yml
CHANGED
@@ -8,36 +8,41 @@ cache:
|
|
8 |
- $HOME/.composer/cache/files
|
9 |
|
10 |
php:
|
11 |
-
- 5.2
|
12 |
- 5.3
|
13 |
- 5.4
|
14 |
- 5.5
|
15 |
- 5.6
|
16 |
- 7.0
|
17 |
- 7.1
|
18 |
-
-
|
19 |
|
20 |
env:
|
21 |
- TWIG_EXT=no
|
22 |
- TWIG_EXT=yes
|
23 |
|
24 |
before_install:
|
25 |
-
-
|
26 |
|
27 |
install:
|
28 |
-
|
29 |
-
- if [ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]; then travis_retry composer install; fi
|
30 |
|
31 |
before_script:
|
32 |
- if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
|
33 |
- if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
matrix:
|
36 |
fast_finish: true
|
37 |
exclude:
|
38 |
-
- php: hhvm
|
39 |
-
env: TWIG_EXT=yes
|
40 |
- php: 7.0
|
41 |
env: TWIG_EXT=yes
|
42 |
- php: 7.1
|
43 |
env: TWIG_EXT=yes
|
|
|
|
8 |
- $HOME/.composer/cache/files
|
9 |
|
10 |
php:
|
|
|
11 |
- 5.3
|
12 |
- 5.4
|
13 |
- 5.5
|
14 |
- 5.6
|
15 |
- 7.0
|
16 |
- 7.1
|
17 |
+
- nightly
|
18 |
|
19 |
env:
|
20 |
- TWIG_EXT=no
|
21 |
- TWIG_EXT=yes
|
22 |
|
23 |
before_install:
|
24 |
+
- phpenv config-rm xdebug.ini
|
25 |
|
26 |
install:
|
27 |
+
- travis_retry composer install
|
|
|
28 |
|
29 |
before_script:
|
30 |
- if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
|
31 |
- if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
|
32 |
|
33 |
+
script: |
|
34 |
+
if [[ $TRAVIS_PHP_VERSION = 7.* || $TRAVIS_PHP_VERSION = nightly ]]; then
|
35 |
+
SYMFONY_PHPUNIT_VERSION=6.1 ./vendor/bin/simple-phpunit
|
36 |
+
else
|
37 |
+
./vendor/bin/simple-phpunit
|
38 |
+
fi
|
39 |
+
|
40 |
matrix:
|
41 |
fast_finish: true
|
42 |
exclude:
|
|
|
|
|
43 |
- php: 7.0
|
44 |
env: TWIG_EXT=yes
|
45 |
- php: 7.1
|
46 |
env: TWIG_EXT=yes
|
47 |
+
- php: nightly
|
48 |
+
env: TWIG_EXT=yes
|
vendor/twig/twig/CHANGELOG
CHANGED
@@ -1,3 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
* 1.33.2 (2017-04-20)
|
2 |
|
3 |
* fixed edge case in the method cache for Twig attributes
|
1 |
+
* 1.34.4 (2017-07-04)
|
2 |
+
|
3 |
+
* added support for runtime loaders in IntegrationTestCase
|
4 |
+
* fixed deprecation when using Twig_Profiler_Dumper_Html
|
5 |
+
|
6 |
+
* 1.34.3 (2017-06-07)
|
7 |
+
|
8 |
+
* fixed namespaces introduction
|
9 |
+
|
10 |
+
* 1.34.2 (2017-06-05)
|
11 |
+
|
12 |
+
* fixed namespaces introduction
|
13 |
+
|
14 |
+
* 1.34.1 (2017-06-05)
|
15 |
+
|
16 |
+
* fixed namespaces introduction
|
17 |
+
|
18 |
+
* 1.34.0 (2017-06-05)
|
19 |
+
|
20 |
+
* added support for PHPUnit 6 when testing extensions
|
21 |
+
* fixed PHP 7.2 compatibility
|
22 |
+
* fixed template name generation in Twig_Environment::createTemplate()
|
23 |
+
* removed final tag on Twig_TokenParser_Include
|
24 |
+
* added namespaced aliases for all (non-deprecated) classes and interfaces
|
25 |
+
* dropped HHVM support
|
26 |
+
* dropped PHP 5.2 support
|
27 |
+
|
28 |
* 1.33.2 (2017-04-20)
|
29 |
|
30 |
* fixed edge case in the method cache for Twig attributes
|
vendor/twig/twig/composer.json
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
"forum": "https://groups.google.com/forum/#!forum/twig-users"
|
28 |
},
|
29 |
"require": {
|
30 |
-
"php": ">=5.
|
31 |
},
|
32 |
"require-dev": {
|
33 |
"symfony/phpunit-bridge": "~3.3@dev",
|
@@ -37,11 +37,14 @@
|
|
37 |
"autoload": {
|
38 |
"psr-0" : {
|
39 |
"Twig_" : "lib/"
|
|
|
|
|
|
|
40 |
}
|
41 |
},
|
42 |
"extra": {
|
43 |
"branch-alias": {
|
44 |
-
"dev-master": "1.
|
45 |
}
|
46 |
}
|
47 |
}
|
27 |
"forum": "https://groups.google.com/forum/#!forum/twig-users"
|
28 |
},
|
29 |
"require": {
|
30 |
+
"php": ">=5.3.3"
|
31 |
},
|
32 |
"require-dev": {
|
33 |
"symfony/phpunit-bridge": "~3.3@dev",
|
37 |
"autoload": {
|
38 |
"psr-0" : {
|
39 |
"Twig_" : "lib/"
|
40 |
+
},
|
41 |
+
"psr-4" : {
|
42 |
+
"Twig\\" : "src/"
|
43 |
}
|
44 |
},
|
45 |
"extra": {
|
46 |
"branch-alias": {
|
47 |
+
"dev-master": "1.34-dev"
|
48 |
}
|
49 |
}
|
50 |
}
|
vendor/twig/twig/doc/advanced.rst
CHANGED
@@ -464,7 +464,7 @@ from the token stream (``$this->parser->getStream()``):
|
|
464 |
type/value a syntax error is thrown. Otherwise, if the type and value are correct,
|
465 |
the token is returned and the stream moves to the next token.
|
466 |
|
467 |
-
* ``look()``: Looks
|
468 |
|
469 |
Parsing expressions is done by calling the ``parseExpression()`` like we did for
|
470 |
the ``set`` tag.
|
@@ -838,7 +838,7 @@ instance on the environment that knows how to instantiate such runtime classes
|
|
838 |
It is now possible to move the runtime logic to a new
|
839 |
``Project_Twig_RuntimeExtension`` class and use it directly in the extension::
|
840 |
|
841 |
-
class Project_Twig_RuntimeExtension
|
842 |
{
|
843 |
private $rot13Provider;
|
844 |
|
464 |
type/value a syntax error is thrown. Otherwise, if the type and value are correct,
|
465 |
the token is returned and the stream moves to the next token.
|
466 |
|
467 |
+
* ``look()``: Looks at the next token without consuming it.
|
468 |
|
469 |
Parsing expressions is done by calling the ``parseExpression()`` like we did for
|
470 |
the ``set`` tag.
|
838 |
It is now possible to move the runtime logic to a new
|
839 |
``Project_Twig_RuntimeExtension`` class and use it directly in the extension::
|
840 |
|
841 |
+
class Project_Twig_RuntimeExtension
|
842 |
{
|
843 |
private $rot13Provider;
|
844 |
|
vendor/twig/twig/doc/filters/number_format.rst
CHANGED
@@ -18,6 +18,14 @@ separator using the additional arguments:
|
|
18 |
|
19 |
{{ 9800.333|number_format(2, '.', ',') }}
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
If no formatting options are provided then Twig will use the default formatting
|
22 |
options of:
|
23 |
|
18 |
|
19 |
{{ 9800.333|number_format(2, '.', ',') }}
|
20 |
|
21 |
+
To format negative numbers, wrap the number with parentheses (needed because of
|
22 |
+
Twig's :ref:`precedence of operators <twig-expressions>`:
|
23 |
+
|
24 |
+
.. code-block:: jinja
|
25 |
+
|
26 |
+
{{ -9800.333|number_format(2, '.', ',') }} {# outputs : -9 #}
|
27 |
+
{{ (-9800.333)|number_format(2, '.', ',') }} {# outputs : -9,800.33 #}
|
28 |
+
|
29 |
If no formatting options are provided then Twig will use the default formatting
|
30 |
options of:
|
31 |
|
vendor/twig/twig/doc/internals.rst
CHANGED
@@ -128,7 +128,7 @@ using)::
|
|
128 |
{
|
129 |
// line 1
|
130 |
echo "Hello ";
|
131 |
-
echo twig_escape_filter($this->env, isset($context["name"]) ? $context["name"] : null), "html", null, true);
|
132 |
}
|
133 |
|
134 |
// some more code
|
128 |
{
|
129 |
// line 1
|
130 |
echo "Hello ";
|
131 |
+
echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : null), "html", null, true);
|
132 |
}
|
133 |
|
134 |
// some more code
|
vendor/twig/twig/doc/intro.rst
CHANGED
@@ -28,7 +28,8 @@ Slim, Yii, Laravel, Codeigniter and Kohana — just to name a few.
|
|
28 |
Prerequisites
|
29 |
-------------
|
30 |
|
31 |
-
Twig needs at least **PHP 5.2.7** to run.
|
|
|
32 |
|
33 |
Installation
|
34 |
------------
|
28 |
Prerequisites
|
29 |
-------------
|
30 |
|
31 |
+
Twig needs at least **PHP 5.2.7** to run. As of 1.34, the minimum requirement
|
32 |
+
was bumped to **PHP 5.3.3**.
|
33 |
|
34 |
Installation
|
35 |
------------
|
vendor/twig/twig/ext/twig/php_twig.h
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
#ifndef PHP_TWIG_H
|
16 |
#define PHP_TWIG_H
|
17 |
|
18 |
-
#define PHP_TWIG_VERSION "1.
|
19 |
|
20 |
#include "php.h"
|
21 |
|
15 |
#ifndef PHP_TWIG_H
|
16 |
#define PHP_TWIG_H
|
17 |
|
18 |
+
#define PHP_TWIG_VERSION "1.34.4"
|
19 |
|
20 |
#include "php.h"
|
21 |
|
vendor/twig/twig/lib/Twig/BaseNodeVisitor.php
CHANGED
@@ -48,3 +48,7 @@ abstract class Twig_BaseNodeVisitor implements Twig_NodeVisitorInterface
|
|
48 |
*/
|
49 |
abstract protected function doLeaveNode(Twig_Node $node, Twig_Environment $env);
|
50 |
}
|
|
|
|
|
|
|
|
48 |
*/
|
49 |
abstract protected function doLeaveNode(Twig_Node $node, Twig_Environment $env);
|
50 |
}
|
51 |
+
|
52 |
+
class_alias('Twig_BaseNodeVisitor', 'Twig\NodeVisitor\AbstractNodeVisitor', false);
|
53 |
+
class_exists('Twig_Environment');
|
54 |
+
class_exists('Twig_Node');
|
vendor/twig/twig/lib/Twig/Cache/Filesystem.php
CHANGED
@@ -89,3 +89,5 @@ class Twig_Cache_Filesystem implements Twig_CacheInterface
|
|
89 |
return (int) @filemtime($key);
|
90 |
}
|
91 |
}
|
|
|
|
89 |
return (int) @filemtime($key);
|
90 |
}
|
91 |
}
|
92 |
+
|
93 |
+
class_alias('Twig_Cache_Filesystem', 'Twig\Cache\FilesystemCache', false);
|
vendor/twig/twig/lib/Twig/Cache/Null.php
CHANGED
@@ -36,3 +36,5 @@ class Twig_Cache_Null implements Twig_CacheInterface
|
|
36 |
return 0;
|
37 |
}
|
38 |
}
|
|
|
|
36 |
return 0;
|
37 |
}
|
38 |
}
|
39 |
+
|
40 |
+
class_alias('Twig_Cache_Null', 'Twig\Cache\NullCache', false);
|
vendor/twig/twig/lib/Twig/CacheInterface.php
CHANGED
@@ -54,3 +54,5 @@ interface Twig_CacheInterface
|
|
54 |
*/
|
55 |
public function getTimestamp($key);
|
56 |
}
|
|
|
|
54 |
*/
|
55 |
public function getTimestamp($key);
|
56 |
}
|
57 |
+
|
58 |
+
class_alias('Twig_CacheInterface', 'Twig\Cache\CacheInterface', false);
|
vendor/twig/twig/lib/Twig/Compiler.php
CHANGED
@@ -279,3 +279,6 @@ class Twig_Compiler implements Twig_CompilerInterface
|
|
279 |
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
|
280 |
}
|
281 |
}
|
|
|
|
|
|
279 |
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
|
280 |
}
|
281 |
}
|
282 |
+
|
283 |
+
class_alias('Twig_Compiler', 'Twig\Compiler', false);
|
284 |
+
class_exists('Twig_Node');
|
vendor/twig/twig/lib/Twig/ContainerRuntimeLoader.php
CHANGED
@@ -35,3 +35,5 @@ class Twig_ContainerRuntimeLoader implements Twig_RuntimeLoaderInterface
|
|
35 |
}
|
36 |
}
|
37 |
}
|
|
|
|
35 |
}
|
36 |
}
|
37 |
}
|
38 |
+
|
39 |
+
class_alias('Twig_ContainerRuntimeLoader', 'Twig\RuntimeLoader\ContainerRuntimeLoader', false);
|
vendor/twig/twig/lib/Twig/Environment.php
CHANGED
@@ -16,11 +16,11 @@
|
|
16 |
*/
|
17 |
class Twig_Environment
|
18 |
{
|
19 |
-
const VERSION = '1.
|
20 |
-
const VERSION_ID =
|
21 |
const MAJOR_VERSION = 1;
|
22 |
-
const MINOR_VERSION =
|
23 |
-
const RELEASE_VERSION =
|
24 |
const EXTRA_VERSION = '';
|
25 |
|
26 |
protected $charset;
|
@@ -489,7 +489,7 @@ class Twig_Environment
|
|
489 |
*/
|
490 |
public function createTemplate($template)
|
491 |
{
|
492 |
-
$name = sprintf('__string_template__%s', hash('sha256',
|
493 |
|
494 |
$loader = new Twig_Loader_Chain(array(
|
495 |
new Twig_Loader_Array(array($name => $template)),
|
@@ -758,7 +758,7 @@ class Twig_Environment
|
|
758 |
|
759 |
public function setLoader(Twig_LoaderInterface $loader)
|
760 |
{
|
761 |
-
if (!$loader instanceof Twig_SourceContextLoaderInterface && 0 !== strpos(get_class($loader), '
|
762 |
@trigger_error(sprintf('Twig loader "%s" should implement Twig_SourceContextLoaderInterface since version 1.27.', get_class($loader)), E_USER_DEPRECATED);
|
763 |
}
|
764 |
|
@@ -831,6 +831,12 @@ class Twig_Environment
|
|
831 |
public function hasExtension($class)
|
832 |
{
|
833 |
$class = ltrim($class, '\\');
|
|
|
|
|
|
|
|
|
|
|
|
|
834 |
if (isset($this->extensions[$class])) {
|
835 |
if ($class !== get_class($this->extensions[$class])) {
|
836 |
@trigger_error(sprintf('Referencing the "%s" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead.', $class), E_USER_DEPRECATED);
|
@@ -860,6 +866,11 @@ class Twig_Environment
|
|
860 |
public function getExtension($class)
|
861 |
{
|
862 |
$class = ltrim($class, '\\');
|
|
|
|
|
|
|
|
|
|
|
863 |
|
864 |
if (isset($this->extensions[$class])) {
|
865 |
if ($class !== get_class($this->extensions[$class])) {
|
@@ -938,6 +949,12 @@ class Twig_Environment
|
|
938 |
}
|
939 |
|
940 |
$class = ltrim($name, '\\');
|
|
|
|
|
|
|
|
|
|
|
|
|
941 |
if (isset($this->extensions[$class])) {
|
942 |
if ($class !== get_class($this->extensions[$class])) {
|
943 |
@trigger_error(sprintf('Referencing the "%s" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead.', $class), E_USER_DEPRECATED);
|
@@ -1559,3 +1576,5 @@ class Twig_Environment
|
|
1559 |
$this->optionsHash = implode(':', $hashParts);
|
1560 |
}
|
1561 |
}
|
|
|
|
16 |
*/
|
17 |
class Twig_Environment
|
18 |
{
|
19 |
+
const VERSION = '1.34.4';
|
20 |
+
const VERSION_ID = 13404;
|
21 |
const MAJOR_VERSION = 1;
|
22 |
+
const MINOR_VERSION = 34;
|
23 |
+
const RELEASE_VERSION = 4;
|
24 |
const EXTRA_VERSION = '';
|
25 |
|
26 |
protected $charset;
|
489 |
*/
|
490 |
public function createTemplate($template)
|
491 |
{
|
492 |
+
$name = sprintf('__string_template__%s', hash('sha256', $template, false));
|
493 |
|
494 |
$loader = new Twig_Loader_Chain(array(
|
495 |
new Twig_Loader_Array(array($name => $template)),
|
758 |
|
759 |
public function setLoader(Twig_LoaderInterface $loader)
|
760 |
{
|
761 |
+
if (!$loader instanceof Twig_SourceContextLoaderInterface && 0 !== strpos(get_class($loader), 'Mock_')) {
|
762 |
@trigger_error(sprintf('Twig loader "%s" should implement Twig_SourceContextLoaderInterface since version 1.27.', get_class($loader)), E_USER_DEPRECATED);
|
763 |
}
|
764 |
|
831 |
public function hasExtension($class)
|
832 |
{
|
833 |
$class = ltrim($class, '\\');
|
834 |
+
if (!isset($this->extensionsByClass[$class]) && class_exists($class, false)) {
|
835 |
+
// For BC/FC with namespaced aliases
|
836 |
+
$class = new ReflectionClass($class);
|
837 |
+
$class = $class->name;
|
838 |
+
}
|
839 |
+
|
840 |
if (isset($this->extensions[$class])) {
|
841 |
if ($class !== get_class($this->extensions[$class])) {
|
842 |
@trigger_error(sprintf('Referencing the "%s" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead.', $class), E_USER_DEPRECATED);
|
866 |
public function getExtension($class)
|
867 |
{
|
868 |
$class = ltrim($class, '\\');
|
869 |
+
if (!isset($this->extensionsByClass[$class]) && class_exists($class, false)) {
|
870 |
+
// For BC/FC with namespaced aliases
|
871 |
+
$class = new ReflectionClass($class);
|
872 |
+
$class = $class->name;
|
873 |
+
}
|
874 |
|
875 |
if (isset($this->extensions[$class])) {
|
876 |
if ($class !== get_class($this->extensions[$class])) {
|
949 |
}
|
950 |
|
951 |
$class = ltrim($name, '\\');
|
952 |
+
if (!isset($this->extensionsByClass[$class]) && class_exists($class, false)) {
|
953 |
+
// For BC/FC with namespaced aliases
|
954 |
+
$class = new ReflectionClass($class);
|
955 |
+
$class = $class->name;
|
956 |
+
}
|
957 |
+
|
958 |
if (isset($this->extensions[$class])) {
|
959 |
if ($class !== get_class($this->extensions[$class])) {
|
960 |
@trigger_error(sprintf('Referencing the "%s" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead.', $class), E_USER_DEPRECATED);
|
1576 |
$this->optionsHash = implode(':', $hashParts);
|
1577 |
}
|
1578 |
}
|
1579 |
+
|
1580 |
+
class_alias('Twig_Environment', 'Twig\Environment', false);
|
vendor/twig/twig/lib/Twig/Error.php
CHANGED
@@ -332,11 +332,6 @@ class Twig_Error extends Exception
|
|
332 |
$r = new ReflectionObject($template);
|
333 |
$file = $r->getFileName();
|
334 |
|
335 |
-
// hhvm has a bug where eval'ed files comes out as the current directory
|
336 |
-
if (is_dir($file)) {
|
337 |
-
$file = '';
|
338 |
-
}
|
339 |
-
|
340 |
$exceptions = array($e = $this);
|
341 |
while (($e instanceof self || method_exists($e, 'getPrevious')) && $e = $e->getPrevious()) {
|
342 |
$exceptions[] = $e;
|
@@ -363,3 +358,6 @@ class Twig_Error extends Exception
|
|
363 |
}
|
364 |
}
|
365 |
}
|
|
|
|
|
|
332 |
$r = new ReflectionObject($template);
|
333 |
$file = $r->getFileName();
|
334 |
|
|
|
|
|
|
|
|
|
|
|
335 |
$exceptions = array($e = $this);
|
336 |
while (($e instanceof self || method_exists($e, 'getPrevious')) && $e = $e->getPrevious()) {
|
337 |
$exceptions[] = $e;
|
358 |
}
|
359 |
}
|
360 |
}
|
361 |
+
|
362 |
+
class_alias('Twig_Error', 'Twig\Error\Error', false);
|
363 |
+
class_exists('Twig_Source');
|
vendor/twig/twig/lib/Twig/Error/Loader.php
CHANGED
@@ -36,3 +36,5 @@ class Twig_Error_Loader extends Twig_Error
|
|
36 |
$this->setTemplateLine(false);
|
37 |
}
|
38 |
}
|
|
|
|
36 |
$this->setTemplateLine(false);
|
37 |
}
|
38 |
}
|
39 |
+
|
40 |
+
class_alias('Twig_Error_Loader', 'Twig\Error\LoaderError', false);
|
vendor/twig/twig/lib/Twig/Error/Runtime.php
CHANGED
@@ -18,3 +18,5 @@
|
|
18 |
class Twig_Error_Runtime extends Twig_Error
|
19 |
{
|
20 |
}
|
|
|
|
18 |
class Twig_Error_Runtime extends Twig_Error
|
19 |
{
|
20 |
}
|
21 |
+
|
22 |
+
class_alias('Twig_Error_Runtime', 'Twig\Error\RuntimeError', false);
|
vendor/twig/twig/lib/Twig/Error/Syntax.php
CHANGED
@@ -51,3 +51,5 @@ class Twig_Error_Syntax extends Twig_Error
|
|
51 |
return array_keys($alternatives);
|
52 |
}
|
53 |
}
|
|
|
|
51 |
return array_keys($alternatives);
|
52 |
}
|
53 |
}
|
54 |
+
|
55 |
+
class_alias('Twig_Error_Syntax', 'Twig\Error\SyntaxError', false);
|
vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php
CHANGED
@@ -27,3 +27,5 @@ interface Twig_ExistsLoaderInterface
|
|
27 |
*/
|
28 |
public function exists($name);
|
29 |
}
|
|
|
|
27 |
*/
|
28 |
public function exists($name);
|
29 |
}
|
30 |
+
|
31 |
+
class_alias('Twig_ExistsLoaderInterface', 'Twig\Loader\ExistsLoaderInterface', false);
|
vendor/twig/twig/lib/Twig/ExpressionParser.php
CHANGED
@@ -737,3 +737,5 @@ class Twig_ExpressionParser
|
|
737 |
return true;
|
738 |
}
|
739 |
}
|
|
|
|
737 |
return true;
|
738 |
}
|
739 |
}
|
740 |
+
|
741 |
+
class_alias('Twig_ExpressionParser', 'Twig\ExpressionParser', false);
|
vendor/twig/twig/lib/Twig/Extension.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
* For the full copyright and license information, please view the LICENSE
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
|
|
11 |
abstract class Twig_Extension implements Twig_ExtensionInterface
|
12 |
{
|
13 |
/**
|
@@ -63,3 +64,6 @@ abstract class Twig_Extension implements Twig_ExtensionInterface
|
|
63 |
return get_class($this);
|
64 |
}
|
65 |
}
|
|
|
|
|
|
8 |
* For the full copyright and license information, please view the LICENSE
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
+
|
12 |
abstract class Twig_Extension implements Twig_ExtensionInterface
|
13 |
{
|
14 |
/**
|
64 |
return get_class($this);
|
65 |
}
|
66 |
}
|
67 |
+
|
68 |
+
class_alias('Twig_Extension', 'Twig\Extension\AbstractExtension', false);
|
69 |
+
class_exists('Twig_Environment');
|
vendor/twig/twig/lib/Twig/Extension/Core.php
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
if (!defined('ENT_SUBSTITUTE')) {
|
4 |
-
|
5 |
-
define('ENT_SUBSTITUTE', 0);
|
6 |
}
|
7 |
|
8 |
/*
|
@@ -1006,30 +1005,22 @@ function twig_escape_filter(Twig_Environment $env, $string, $strategy = 'html',
|
|
1006 |
// Using a static variable to avoid initializing the array
|
1007 |
// each time the function is called. Moving the declaration on the
|
1008 |
// top of the function slow downs other escaping strategies.
|
1009 |
-
static $htmlspecialcharsCharsets
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
'GB2312' => true, '936' => true,
|
1026 |
-
'BIG5-HKSCS' => true,
|
1027 |
-
'SHIFT_JIS' => true, 'SJIS' => true, '932' => true,
|
1028 |
-
'EUC-JP' => true, 'EUCJP' => true,
|
1029 |
-
'ISO8859-5' => true, 'ISO-8859-5' => true, 'MACROMAN' => true,
|
1030 |
-
);
|
1031 |
-
}
|
1032 |
-
}
|
1033 |
|
1034 |
if (isset($htmlspecialcharsCharsets[$charset])) {
|
1035 |
return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE, $charset);
|
@@ -1264,6 +1255,10 @@ if (function_exists('mb_get_info')) {
|
|
1264 |
*/
|
1265 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1266 |
{
|
|
|
|
|
|
|
|
|
1267 |
if (is_scalar($thing)) {
|
1268 |
return mb_strlen($thing, $env->getCharset());
|
1269 |
}
|
@@ -1272,7 +1267,11 @@ if (function_exists('mb_get_info')) {
|
|
1272 |
return mb_strlen((string) $thing, $env->getCharset());
|
1273 |
}
|
1274 |
|
1275 |
-
|
|
|
|
|
|
|
|
|
1276 |
}
|
1277 |
|
1278 |
/**
|
@@ -1355,6 +1354,10 @@ else {
|
|
1355 |
*/
|
1356 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1357 |
{
|
|
|
|
|
|
|
|
|
1358 |
if (is_scalar($thing)) {
|
1359 |
return strlen($thing);
|
1360 |
}
|
@@ -1363,7 +1366,11 @@ else {
|
|
1363 |
return strlen((string) $thing);
|
1364 |
}
|
1365 |
|
1366 |
-
|
|
|
|
|
|
|
|
|
1367 |
}
|
1368 |
|
1369 |
/**
|
@@ -1601,3 +1608,5 @@ function twig_array_batch($items, $size, $fill = null)
|
|
1601 |
|
1602 |
return $result;
|
1603 |
}
|
|
|
|
1 |
<?php
|
2 |
|
3 |
if (!defined('ENT_SUBSTITUTE')) {
|
4 |
+
define('ENT_SUBSTITUTE', 8);
|
|
|
5 |
}
|
6 |
|
7 |
/*
|
1005 |
// Using a static variable to avoid initializing the array
|
1006 |
// each time the function is called. Moving the declaration on the
|
1007 |
// top of the function slow downs other escaping strategies.
|
1008 |
+
static $htmlspecialcharsCharsets = array(
|
1009 |
+
'ISO-8859-1' => true, 'ISO8859-1' => true,
|
1010 |
+
'ISO-8859-15' => true, 'ISO8859-15' => true,
|
1011 |
+
'utf-8' => true, 'UTF-8' => true,
|
1012 |
+
'CP866' => true, 'IBM866' => true, '866' => true,
|
1013 |
+
'CP1251' => true, 'WINDOWS-1251' => true, 'WIN-1251' => true,
|
1014 |
+
'1251' => true,
|
1015 |
+
'CP1252' => true, 'WINDOWS-1252' => true, '1252' => true,
|
1016 |
+
'KOI8-R' => true, 'KOI8-RU' => true, 'KOI8R' => true,
|
1017 |
+
'BIG5' => true, '950' => true,
|
1018 |
+
'GB2312' => true, '936' => true,
|
1019 |
+
'BIG5-HKSCS' => true,
|
1020 |
+
'SHIFT_JIS' => true, 'SJIS' => true, '932' => true,
|
1021 |
+
'EUC-JP' => true, 'EUCJP' => true,
|
1022 |
+
'ISO8859-5' => true, 'ISO-8859-5' => true, 'MACROMAN' => true,
|
1023 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
|
1025 |
if (isset($htmlspecialcharsCharsets[$charset])) {
|
1026 |
return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE, $charset);
|
1255 |
*/
|
1256 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1257 |
{
|
1258 |
+
if (null === $thing) {
|
1259 |
+
return 0;
|
1260 |
+
}
|
1261 |
+
|
1262 |
if (is_scalar($thing)) {
|
1263 |
return mb_strlen($thing, $env->getCharset());
|
1264 |
}
|
1267 |
return mb_strlen((string) $thing, $env->getCharset());
|
1268 |
}
|
1269 |
|
1270 |
+
if ($thing instanceof \Countable || is_array($thing)) {
|
1271 |
+
return count($thing);
|
1272 |
+
}
|
1273 |
+
|
1274 |
+
return 1;
|
1275 |
}
|
1276 |
|
1277 |
/**
|
1354 |
*/
|
1355 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1356 |
{
|
1357 |
+
if (null === $thing) {
|
1358 |
+
return 0;
|
1359 |
+
}
|
1360 |
+
|
1361 |
if (is_scalar($thing)) {
|
1362 |
return strlen($thing);
|
1363 |
}
|
1366 |
return strlen((string) $thing);
|
1367 |
}
|
1368 |
|
1369 |
+
if ($thing instanceof \Countable || is_array($thing)) {
|
1370 |
+
return count($thing);
|
1371 |
+
}
|
1372 |
+
|
1373 |
+
return 1;
|
1374 |
}
|
1375 |
|
1376 |
/**
|
1608 |
|
1609 |
return $result;
|
1610 |
}
|
1611 |
+
|
1612 |
+
class_alias('Twig_Extension_Core', 'Twig\Extension\CoreExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/Debug.php
CHANGED
@@ -23,7 +23,7 @@ class Twig_Extension_Debug extends Twig_Extension
|
|
23 |
// false means that it was not set (and the default is on) or it explicitly enabled
|
24 |
// xdebug.overload_var_dump produces HTML only when html_errors is also enabled
|
25 |
&& (false === ini_get('html_errors') || ini_get('html_errors'))
|
26 |
-
|| 'cli' ===
|
27 |
;
|
28 |
|
29 |
return array(
|
@@ -63,3 +63,5 @@ function twig_var_dump(Twig_Environment $env, $context)
|
|
63 |
|
64 |
return ob_get_clean();
|
65 |
}
|
|
|
|
23 |
// false means that it was not set (and the default is on) or it explicitly enabled
|
24 |
// xdebug.overload_var_dump produces HTML only when html_errors is also enabled
|
25 |
&& (false === ini_get('html_errors') || ini_get('html_errors'))
|
26 |
+
|| 'cli' === PHP_SAPI
|
27 |
;
|
28 |
|
29 |
return array(
|
63 |
|
64 |
return ob_get_clean();
|
65 |
}
|
66 |
+
|
67 |
+
class_alias('Twig_Extension_Debug', 'Twig\Extension\DebugExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/Escaper.php
CHANGED
@@ -108,3 +108,5 @@ function twig_raw_filter($string)
|
|
108 |
{
|
109 |
return $string;
|
110 |
}
|
|
|
|
108 |
{
|
109 |
return $string;
|
110 |
}
|
111 |
+
|
112 |
+
class_alias('Twig_Extension_Escaper', 'Twig\Extension\EscaperExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/GlobalsInterface.php
CHANGED
@@ -20,3 +20,5 @@
|
|
20 |
interface Twig_Extension_GlobalsInterface
|
21 |
{
|
22 |
}
|
|
|
|
20 |
interface Twig_Extension_GlobalsInterface
|
21 |
{
|
22 |
}
|
23 |
+
|
24 |
+
class_alias('Twig_Extension_GlobalsInterface', 'Twig\Extension\GlobalsInterface', false);
|
vendor/twig/twig/lib/Twig/Extension/InitRuntimeInterface.php
CHANGED
@@ -20,3 +20,5 @@
|
|
20 |
interface Twig_Extension_InitRuntimeInterface
|
21 |
{
|
22 |
}
|
|
|
|
20 |
interface Twig_Extension_InitRuntimeInterface
|
21 |
{
|
22 |
}
|
23 |
+
|
24 |
+
class_alias('Twig_Extension_InitRuntimeInterface', 'Twig\Extension\InitRuntimeInterface', false);
|
vendor/twig/twig/lib/Twig/Extension/Optimizer.php
CHANGED
@@ -31,3 +31,5 @@ class Twig_Extension_Optimizer extends Twig_Extension
|
|
31 |
return 'optimizer';
|
32 |
}
|
33 |
}
|
|
|
|
31 |
return 'optimizer';
|
32 |
}
|
33 |
}
|
34 |
+
|
35 |
+
class_alias('Twig_Extension_Optimizer', 'Twig\Extension\OptimizerExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/Profiler.php
CHANGED
@@ -44,3 +44,6 @@ class Twig_Extension_Profiler extends Twig_Extension
|
|
44 |
return 'profiler';
|
45 |
}
|
46 |
}
|
|
|
|
|
|
44 |
return 'profiler';
|
45 |
}
|
46 |
}
|
47 |
+
|
48 |
+
class_alias('Twig_Extension_Profiler', 'Twig\Extension\ProfilerExtension', false);
|
49 |
+
class_exists('Twig_Profiler_Profile');
|
vendor/twig/twig/lib/Twig/Extension/Sandbox.php
CHANGED
@@ -99,3 +99,5 @@ class Twig_Extension_Sandbox extends Twig_Extension
|
|
99 |
return 'sandbox';
|
100 |
}
|
101 |
}
|
|
|
|
99 |
return 'sandbox';
|
100 |
}
|
101 |
}
|
102 |
+
|
103 |
+
class_alias('Twig_Extension_Sandbox', 'Twig\Extension\SandboxExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/Staging.php
CHANGED
@@ -108,3 +108,5 @@ class Twig_Extension_Staging extends Twig_Extension
|
|
108 |
return 'staging';
|
109 |
}
|
110 |
}
|
|
|
|
108 |
return 'staging';
|
109 |
}
|
110 |
}
|
111 |
+
|
112 |
+
class_alias('Twig_Extension_Staging', 'Twig\Extension\StagingExtension', false);
|
vendor/twig/twig/lib/Twig/Extension/StringLoader.php
CHANGED
@@ -43,3 +43,5 @@ function twig_template_from_string(Twig_Environment $env, $template)
|
|
43 |
{
|
44 |
return $env->createTemplate((string) $template);
|
45 |
}
|
|
|
|
43 |
{
|
44 |
return $env->createTemplate((string) $template);
|
45 |
}
|
46 |
+
|
47 |
+
class_alias('Twig_Extension_StringLoader', 'Twig\Extension\StringLoaderExtension', false);
|
vendor/twig/twig/lib/Twig/ExtensionInterface.php
CHANGED
@@ -85,3 +85,6 @@ interface Twig_ExtensionInterface
|
|
85 |
*/
|
86 |
public function getName();
|
87 |
}
|
|
|
|
|
|
85 |
*/
|
86 |
public function getName();
|
87 |
}
|
88 |
+
|
89 |
+
class_alias('Twig_ExtensionInterface', 'Twig\Extension\ExtensionInterface', false);
|
90 |
+
class_exists('Twig_Environment');
|
vendor/twig/twig/lib/Twig/FactoryRuntimeLoader.php
CHANGED
@@ -35,3 +35,5 @@ class Twig_FactoryRuntimeLoader implements Twig_RuntimeLoaderInterface
|
|
35 |
}
|
36 |
}
|
37 |
}
|
|
|
|
35 |
}
|
36 |
}
|
37 |
}
|
38 |
+
|
39 |
+
class_alias('Twig_FactoryRuntimeLoader', 'Twig\RuntimeLoader\FactoryRuntimeLoader', false);
|
vendor/twig/twig/lib/Twig/FileExtensionEscapingStrategy.php
CHANGED
@@ -56,3 +56,5 @@ class Twig_FileExtensionEscapingStrategy
|
|
56 |
}
|
57 |
}
|
58 |
}
|
|
|
|
56 |
}
|
57 |
}
|
58 |
}
|
59 |
+
|
60 |
+
class_alias('Twig_FileExtensionEscapingStrategy', 'Twig\FileExtensionEscapingStrategy', false);
|
vendor/twig/twig/lib/Twig/Lexer.php
CHANGED
@@ -420,3 +420,5 @@ class Twig_Lexer implements Twig_LexerInterface
|
|
420 |
$this->state = array_pop($this->states);
|
421 |
}
|
422 |
}
|
|
|
|
420 |
$this->state = array_pop($this->states);
|
421 |
}
|
422 |
}
|
423 |
+
|
424 |
+
class_alias('Twig_Lexer', 'Twig\Lexer', false);
|
vendor/twig/twig/lib/Twig/Loader/Array.php
CHANGED
@@ -93,3 +93,5 @@ class Twig_Loader_Array implements Twig_LoaderInterface, Twig_ExistsLoaderInterf
|
|
93 |
return true;
|
94 |
}
|
95 |
}
|
|
|
|
93 |
return true;
|
94 |
}
|
95 |
}
|
96 |
+
|
97 |
+
class_alias('Twig_Loader_Array', 'Twig\Loader\ArrayLoader', false);
|
vendor/twig/twig/lib/Twig/Loader/Chain.php
CHANGED
@@ -147,3 +147,5 @@ class Twig_Loader_Chain implements Twig_LoaderInterface, Twig_ExistsLoaderInterf
|
|
147 |
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode(', ', $exceptions).')' : ''));
|
148 |
}
|
149 |
}
|
|
|
|
147 |
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined%s.', $name, $exceptions ? ' ('.implode(', ', $exceptions).')' : ''));
|
148 |
}
|
149 |
}
|
150 |
+
|
151 |
+
class_alias('Twig_Loader_Chain', 'Twig\Loader\ChainLoader', false);
|
vendor/twig/twig/lib/Twig/Loader/Filesystem.php
CHANGED
@@ -286,3 +286,5 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface, Twig_ExistsLoaderI
|
|
286 |
;
|
287 |
}
|
288 |
}
|
|
|
|
286 |
;
|
287 |
}
|
288 |
}
|
289 |
+
|
290 |
+
class_alias('Twig_Loader_Filesystem', 'Twig\Loader\FilesystemLoader', false);
|
vendor/twig/twig/lib/Twig/LoaderInterface.php
CHANGED
@@ -53,3 +53,5 @@ interface Twig_LoaderInterface
|
|
53 |
*/
|
54 |
public function isFresh($name, $time);
|
55 |
}
|
|
|
|
53 |
*/
|
54 |
public function isFresh($name, $time);
|
55 |
}
|
56 |
+
|
57 |
+
class_alias('Twig_LoaderInterface', 'Twig\Loader\LoaderInterface', false);
|
vendor/twig/twig/lib/Twig/Markup.php
CHANGED
@@ -35,3 +35,5 @@ class Twig_Markup implements Countable
|
|
35 |
return function_exists('mb_get_info') ? mb_strlen($this->content, $this->charset) : strlen($this->content);
|
36 |
}
|
37 |
}
|
|
|
|
35 |
return function_exists('mb_get_info') ? mb_strlen($this->content, $this->charset) : strlen($this->content);
|
36 |
}
|
37 |
}
|
38 |
+
|
39 |
+
class_alias('Twig_Markup', 'Twig\Markup', false);
|
vendor/twig/twig/lib/Twig/Node.php
CHANGED
@@ -251,3 +251,6 @@ class Twig_Node implements Twig_NodeInterface
|
|
251 |
return $this->name;
|
252 |
}
|
253 |
}
|
|
|
|
|
|
251 |
return $this->name;
|
252 |
}
|
253 |
}
|
254 |
+
|
255 |
+
class_alias('Twig_Node', 'Twig\Node\Node', false);
|
256 |
+
class_exists('Twig_Compiler');
|
vendor/twig/twig/lib/Twig/Node/AutoEscape.php
CHANGED
@@ -32,3 +32,5 @@ class Twig_Node_AutoEscape extends Twig_Node
|
|
32 |
$compiler->subcompile($this->getNode('body'));
|
33 |
}
|
34 |
}
|
|
|
|
32 |
$compiler->subcompile($this->getNode('body'));
|
33 |
}
|
34 |
}
|
35 |
+
|
36 |
+
class_alias('Twig_Node_AutoEscape', 'Twig\Node\AutoEscapeNode', false);
|
vendor/twig/twig/lib/Twig/Node/Block.php
CHANGED
@@ -37,3 +37,5 @@ class Twig_Node_Block extends Twig_Node
|
|
37 |
;
|
38 |
}
|
39 |
}
|
|
|
|
37 |
;
|
38 |
}
|
39 |
}
|
40 |
+
|
41 |
+
class_alias('Twig_Node_Block', 'Twig\Node\BlockNode', false);
|
vendor/twig/twig/lib/Twig/Node/BlockReference.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_Node_BlockReference extends Twig_Node implements Twig_NodeOutputInter
|
|
30 |
;
|
31 |
}
|
32 |
}
|
|
|
|
30 |
;
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_Node_BlockReference', 'Twig\Node\BlockReferenceNode', false);
|
vendor/twig/twig/lib/Twig/Node/Body.php
CHANGED
@@ -17,3 +17,5 @@
|
|
17 |
class Twig_Node_Body extends Twig_Node
|
18 |
{
|
19 |
}
|
|
|
|
17 |
class Twig_Node_Body extends Twig_Node
|
18 |
{
|
19 |
}
|
20 |
+
|
21 |
+
class_alias('Twig_Node_Body', 'Twig\Node\BodyNode', false);
|
vendor/twig/twig/lib/Twig/Node/CheckSecurity.php
CHANGED
@@ -76,3 +76,5 @@ class Twig_Node_CheckSecurity extends Twig_Node
|
|
76 |
;
|
77 |
}
|
78 |
}
|
|
|
|
76 |
;
|
77 |
}
|
78 |
}
|
79 |
+
|
80 |
+
class_alias('Twig_Node_CheckSecurity', 'Twig\Node\CheckSecurityNode', false);
|
vendor/twig/twig/lib/Twig/Node/Do.php
CHANGED
@@ -31,3 +31,5 @@ class Twig_Node_Do extends Twig_Node
|
|
31 |
;
|
32 |
}
|
33 |
}
|
|
|
|
31 |
;
|
32 |
}
|
33 |
}
|
34 |
+
|
35 |
+
class_alias('Twig_Node_Do', 'Twig\Node\DoNode', false);
|
vendor/twig/twig/lib/Twig/Node/Embed.php
CHANGED
@@ -42,3 +42,5 @@ class Twig_Node_Embed extends Twig_Node_Include
|
|
42 |
;
|
43 |
}
|
44 |
}
|
|
|
|
42 |
;
|
43 |
}
|
44 |
}
|
45 |
+
|
46 |
+
class_alias('Twig_Node_Embed', 'Twig\Node\EmbedNode', false);
|
vendor/twig/twig/lib/Twig/Node/Expression.php
CHANGED
@@ -18,3 +18,5 @@
|
|
18 |
abstract class Twig_Node_Expression extends Twig_Node
|
19 |
{
|
20 |
}
|
|
|
|
18 |
abstract class Twig_Node_Expression extends Twig_Node
|
19 |
{
|
20 |
}
|
21 |
+
|
22 |
+
class_alias('Twig_Node_Expression', 'Twig\Node\Expression\AbstractExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Array.php
CHANGED
@@ -79,3 +79,5 @@ class Twig_Node_Expression_Array extends Twig_Node_Expression
|
|
79 |
$compiler->raw(')');
|
80 |
}
|
81 |
}
|
|
|
|
79 |
$compiler->raw(')');
|
80 |
}
|
81 |
}
|
82 |
+
|
83 |
+
class_alias('Twig_Node_Expression_Array', 'Twig\Node\Expression\ArrayExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/AssignName.php
CHANGED
@@ -21,3 +21,5 @@ class Twig_Node_Expression_AssignName extends Twig_Node_Expression_Name
|
|
21 |
;
|
22 |
}
|
23 |
}
|
|
|
|
21 |
;
|
22 |
}
|
23 |
}
|
24 |
+
|
25 |
+
class_alias('Twig_Node_Expression_AssignName', 'Twig\Node\Expression\AssignNameExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary.php
CHANGED
@@ -33,3 +33,5 @@ abstract class Twig_Node_Expression_Binary extends Twig_Node_Expression
|
|
33 |
|
34 |
abstract public function operator(Twig_Compiler $compiler);
|
35 |
}
|
|
|
|
33 |
|
34 |
abstract public function operator(Twig_Compiler $compiler);
|
35 |
}
|
36 |
+
|
37 |
+
class_alias('Twig_Node_Expression_Binary', 'Twig\Node\Expression\Binary\AbstractBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Add.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Add extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('+');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('+');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Add', 'Twig\Node\Expression\Binary\AddBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/And.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_And extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('&&');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('&&');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_And', 'Twig\Node\Expression\Binary\AndBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_BitwiseAnd extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('&');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('&');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_BitwiseAnd', 'Twig\Node\Expression\Binary\BitwiseAndBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_BitwiseOr extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('|');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('|');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_BitwiseOr', 'Twig\Node\Expression\Binary\BitwiseOrBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_BitwiseXor extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('^');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('^');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_BitwiseXor', 'Twig\Node\Expression\Binary\BitwiseXorBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Concat extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('.');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('.');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Concat', 'Twig\Node\Expression\Binary\ConcatBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Div.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Div extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('/');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('/');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Div', 'Twig\Node\Expression\Binary\DivBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/EndsWith.php
CHANGED
@@ -28,3 +28,5 @@ class Twig_Node_Expression_Binary_EndsWith extends Twig_Node_Expression_Binary
|
|
28 |
return $compiler->raw('');
|
29 |
}
|
30 |
}
|
|
|
|
28 |
return $compiler->raw('');
|
29 |
}
|
30 |
}
|
31 |
+
|
32 |
+
class_alias('Twig_Node_Expression_Binary_EndsWith', 'Twig\Node\Expression\Binary\EndsWithBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_Equal extends Twig_Node_Expression_Binary
|
|
15 |
return $compiler->raw('==');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('==');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_Equal', 'Twig\Node\Expression\Binary\EqualBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/FloorDiv.php
CHANGED
@@ -22,3 +22,5 @@ class Twig_Node_Expression_Binary_FloorDiv extends Twig_Node_Expression_Binary
|
|
22 |
return $compiler->raw('/');
|
23 |
}
|
24 |
}
|
|
|
|
22 |
return $compiler->raw('/');
|
23 |
}
|
24 |
}
|
25 |
+
|
26 |
+
class_alias('Twig_Node_Expression_Binary_FloorDiv', 'Twig\Node\Expression\Binary\FloorDivBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_Greater extends Twig_Node_Expression_Binary
|
|
15 |
return $compiler->raw('>');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('>');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_Greater', 'Twig\Node\Expression\Binary\GreaterBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_GreaterEqual extends Twig_Node_Expression_Bina
|
|
15 |
return $compiler->raw('>=');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('>=');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_GreaterEqual', 'Twig\Node\Expression\Binary\GreaterEqualBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/In.php
CHANGED
@@ -26,3 +26,5 @@ class Twig_Node_Expression_Binary_In extends Twig_Node_Expression_Binary
|
|
26 |
return $compiler->raw('in');
|
27 |
}
|
28 |
}
|
|
|
|
26 |
return $compiler->raw('in');
|
27 |
}
|
28 |
}
|
29 |
+
|
30 |
+
class_alias('Twig_Node_Expression_Binary_In', 'Twig\Node\Expression\Binary\InBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Less.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_Less extends Twig_Node_Expression_Binary
|
|
15 |
return $compiler->raw('<');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('<');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_Less', 'Twig\Node\Expression\Binary\LessBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/LessEqual.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_LessEqual extends Twig_Node_Expression_Binary
|
|
15 |
return $compiler->raw('<=');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('<=');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_LessEqual', 'Twig\Node\Expression\Binary\LessEqualBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Matches.php
CHANGED
@@ -26,3 +26,5 @@ class Twig_Node_Expression_Binary_Matches extends Twig_Node_Expression_Binary
|
|
26 |
return $compiler->raw('');
|
27 |
}
|
28 |
}
|
|
|
|
26 |
return $compiler->raw('');
|
27 |
}
|
28 |
}
|
29 |
+
|
30 |
+
class_alias('Twig_Node_Expression_Binary_Matches', 'Twig\Node\Expression\Binary\MatchesBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Mod extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('%');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('%');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Mod', 'Twig\Node\Expression\Binary\ModBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Mul extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('*');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('*');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Mul', 'Twig\Node\Expression\Binary\MulBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php
CHANGED
@@ -15,3 +15,5 @@ class Twig_Node_Expression_Binary_NotEqual extends Twig_Node_Expression_Binary
|
|
15 |
return $compiler->raw('!=');
|
16 |
}
|
17 |
}
|
|
|
|
15 |
return $compiler->raw('!=');
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
class_alias('Twig_Node_Expression_Binary_NotEqual', 'Twig\Node\Expression\Binary\NotEqualBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotIn.php
CHANGED
@@ -26,3 +26,5 @@ class Twig_Node_Expression_Binary_NotIn extends Twig_Node_Expression_Binary
|
|
26 |
return $compiler->raw('not in');
|
27 |
}
|
28 |
}
|
|
|
|
26 |
return $compiler->raw('not in');
|
27 |
}
|
28 |
}
|
29 |
+
|
30 |
+
class_alias('Twig_Node_Expression_Binary_NotIn', 'Twig\Node\Expression\Binary\NotInBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Or extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('||');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('||');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Or', 'Twig\Node\Expression\Binary\OrBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Power.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_Node_Expression_Binary_Power extends Twig_Node_Expression_Binary
|
|
30 |
return $compiler->raw('**');
|
31 |
}
|
32 |
}
|
|
|
|
30 |
return $compiler->raw('**');
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_Node_Expression_Binary_Power', 'Twig\Node\Expression\Binary\PowerBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Range.php
CHANGED
@@ -26,3 +26,5 @@ class Twig_Node_Expression_Binary_Range extends Twig_Node_Expression_Binary
|
|
26 |
return $compiler->raw('..');
|
27 |
}
|
28 |
}
|
|
|
|
26 |
return $compiler->raw('..');
|
27 |
}
|
28 |
}
|
29 |
+
|
30 |
+
class_alias('Twig_Node_Expression_Binary_Range', 'Twig\Node\Expression\Binary\RangeBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/StartsWith.php
CHANGED
@@ -28,3 +28,5 @@ class Twig_Node_Expression_Binary_StartsWith extends Twig_Node_Expression_Binary
|
|
28 |
return $compiler->raw('');
|
29 |
}
|
30 |
}
|
|
|
|
28 |
return $compiler->raw('');
|
29 |
}
|
30 |
}
|
31 |
+
|
32 |
+
class_alias('Twig_Node_Expression_Binary_StartsWith', 'Twig\Node\Expression\Binary\StartsWithBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Binary_Sub extends Twig_Node_Expression_Binary
|
|
16 |
return $compiler->raw('-');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
return $compiler->raw('-');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Binary_Sub', 'Twig\Node\Expression\Binary\SubBinary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/BlockReference.php
CHANGED
@@ -89,3 +89,5 @@ class Twig_Node_Expression_BlockReference extends Twig_Node_Expression
|
|
89 |
return $compiler->raw(')');
|
90 |
}
|
91 |
}
|
|
|
|
89 |
return $compiler->raw(')');
|
90 |
}
|
91 |
}
|
92 |
+
|
93 |
+
class_alias('Twig_Node_Expression_BlockReference', 'Twig\Node\Expression\BlockReferenceExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Call.php
CHANGED
@@ -287,3 +287,5 @@ abstract class Twig_Node_Expression_Call extends Twig_Node_Expression
|
|
287 |
return $this->reflector = array($r, $callable);
|
288 |
}
|
289 |
}
|
|
|
|
287 |
return $this->reflector = array($r, $callable);
|
288 |
}
|
289 |
}
|
290 |
+
|
291 |
+
class_alias('Twig_Node_Expression_Call', 'Twig\Node\Expression\CallExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Conditional.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Node_Expression_Conditional extends Twig_Node_Expression
|
|
29 |
;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Node_Expression_Conditional', 'Twig\Node\Expression\ConditionalExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Constant.php
CHANGED
@@ -21,3 +21,5 @@ class Twig_Node_Expression_Constant extends Twig_Node_Expression
|
|
21 |
$compiler->repr($this->getAttribute('value'));
|
22 |
}
|
23 |
}
|
|
|
|
21 |
$compiler->repr($this->getAttribute('value'));
|
22 |
}
|
23 |
}
|
24 |
+
|
25 |
+
class_alias('Twig_Node_Expression_Constant', 'Twig\Node\Expression\ConstantExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
CHANGED
@@ -37,3 +37,5 @@ class Twig_Node_Expression_Filter extends Twig_Node_Expression_Call
|
|
37 |
$this->compileCallable($compiler);
|
38 |
}
|
39 |
}
|
|
|
|
37 |
$this->compileCallable($compiler);
|
38 |
}
|
39 |
}
|
40 |
+
|
41 |
+
class_alias('Twig_Node_Expression_Filter', 'Twig\Node\Expression\FilterExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Filter/Default.php
CHANGED
@@ -41,3 +41,5 @@ class Twig_Node_Expression_Filter_Default extends Twig_Node_Expression_Filter
|
|
41 |
$compiler->subcompile($this->getNode('node'));
|
42 |
}
|
43 |
}
|
|
|
|
41 |
$compiler->subcompile($this->getNode('node'));
|
42 |
}
|
43 |
}
|
44 |
+
|
45 |
+
class_alias('Twig_Node_Expression_Filter_Default', 'Twig\Node\Expression\Filter\DefaultFilter', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Function.php
CHANGED
@@ -41,3 +41,5 @@ class Twig_Node_Expression_Function extends Twig_Node_Expression_Call
|
|
41 |
$this->compileCallable($compiler);
|
42 |
}
|
43 |
}
|
|
|
|
41 |
$this->compileCallable($compiler);
|
42 |
}
|
43 |
}
|
44 |
+
|
45 |
+
class_alias('Twig_Node_Expression_Function', 'Twig\Node\Expression\FunctionExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/GetAttr.php
CHANGED
@@ -70,3 +70,5 @@ class Twig_Node_Expression_GetAttr extends Twig_Node_Expression
|
|
70 |
$compiler->raw(')');
|
71 |
}
|
72 |
}
|
|
|
|
70 |
$compiler->raw(')');
|
71 |
}
|
72 |
}
|
73 |
+
|
74 |
+
class_alias('Twig_Node_Expression_GetAttr', 'Twig\Node\Expression\GetAttrExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/MethodCall.php
CHANGED
@@ -39,3 +39,5 @@ class Twig_Node_Expression_MethodCall extends Twig_Node_Expression
|
|
39 |
$compiler->raw(')');
|
40 |
}
|
41 |
}
|
|
|
|
39 |
$compiler->raw(')');
|
40 |
}
|
41 |
}
|
42 |
+
|
43 |
+
class_alias('Twig_Node_Expression_MethodCall', 'Twig\Node\Expression\MethodCallExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Name.php
CHANGED
@@ -98,3 +98,5 @@ class Twig_Node_Expression_Name extends Twig_Node_Expression
|
|
98 |
return !$this->isSpecial() && !$this->getAttribute('is_defined_test');
|
99 |
}
|
100 |
}
|
|
|
|
98 |
return !$this->isSpecial() && !$this->getAttribute('is_defined_test');
|
99 |
}
|
100 |
}
|
101 |
+
|
102 |
+
class_alias('Twig_Node_Expression_Name', 'Twig\Node\Expression\NameExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/NullCoalesce.php
CHANGED
@@ -44,3 +44,5 @@ class Twig_Node_Expression_NullCoalesce extends Twig_Node_Expression_Conditional
|
|
44 |
}
|
45 |
}
|
46 |
}
|
|
|
|
44 |
}
|
45 |
}
|
46 |
}
|
47 |
+
|
48 |
+
class_alias('Twig_Node_Expression_NullCoalesce', 'Twig\Node\Expression\NullCoalesceExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Parent.php
CHANGED
@@ -40,3 +40,5 @@ class Twig_Node_Expression_Parent extends Twig_Node_Expression
|
|
40 |
}
|
41 |
}
|
42 |
}
|
|
|
|
40 |
}
|
41 |
}
|
42 |
}
|
43 |
+
|
44 |
+
class_alias('Twig_Node_Expression_Parent', 'Twig\Node\Expression\ParentExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/TempName.php
CHANGED
@@ -24,3 +24,5 @@ class Twig_Node_Expression_TempName extends Twig_Node_Expression
|
|
24 |
;
|
25 |
}
|
26 |
}
|
|
|
|
24 |
;
|
25 |
}
|
26 |
}
|
27 |
+
|
28 |
+
class_alias('Twig_Node_Expression_TempName', 'Twig\Node\Expression\TempNameExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test.php
CHANGED
@@ -38,3 +38,5 @@ class Twig_Node_Expression_Test extends Twig_Node_Expression_Call
|
|
38 |
$this->compileCallable($compiler);
|
39 |
}
|
40 |
}
|
|
|
|
38 |
$this->compileCallable($compiler);
|
39 |
}
|
40 |
}
|
41 |
+
|
42 |
+
class_alias('Twig_Node_Expression_Test', 'Twig\Node\Expression\TestExpression', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Constant.php
CHANGED
@@ -44,3 +44,5 @@ class Twig_Node_Expression_Test_Constant extends Twig_Node_Expression_Test
|
|
44 |
;
|
45 |
}
|
46 |
}
|
|
|
|
44 |
;
|
45 |
}
|
46 |
}
|
47 |
+
|
48 |
+
class_alias('Twig_Node_Expression_Test_Constant', 'Twig\Node\Expression\Test\ConstantTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Defined.php
CHANGED
@@ -57,3 +57,5 @@ class Twig_Node_Expression_Test_Defined extends Twig_Node_Expression_Test
|
|
57 |
$compiler->subcompile($this->getNode('node'));
|
58 |
}
|
59 |
}
|
|
|
|
57 |
$compiler->subcompile($this->getNode('node'));
|
58 |
}
|
59 |
}
|
60 |
+
|
61 |
+
class_alias('Twig_Node_Expression_Test_Defined', 'Twig\Node\Expression\Test\DefinedTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Divisibleby.php
CHANGED
@@ -31,3 +31,5 @@ class Twig_Node_Expression_Test_Divisibleby extends Twig_Node_Expression_Test
|
|
31 |
;
|
32 |
}
|
33 |
}
|
|
|
|
31 |
;
|
32 |
}
|
33 |
}
|
34 |
+
|
35 |
+
class_alias('Twig_Node_Expression_Test_Divisibleby', 'Twig\Node\Expression\Test\DivisiblebyTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Even.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_Node_Expression_Test_Even extends Twig_Node_Expression_Test
|
|
30 |
;
|
31 |
}
|
32 |
}
|
|
|
|
30 |
;
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_Node_Expression_Test_Even', 'Twig\Node\Expression\Test\EvenTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Null.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Node_Expression_Test_Null extends Twig_Node_Expression_Test
|
|
29 |
;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Node_Expression_Test_Null', 'Twig\Node\Expression\Test\NullTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Odd.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_Node_Expression_Test_Odd extends Twig_Node_Expression_Test
|
|
30 |
;
|
31 |
}
|
32 |
}
|
|
|
|
30 |
;
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_Node_Expression_Test_Odd', 'Twig\Node\Expression\Test\OddTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Test/Sameas.php
CHANGED
@@ -27,3 +27,5 @@ class Twig_Node_Expression_Test_Sameas extends Twig_Node_Expression_Test
|
|
27 |
;
|
28 |
}
|
29 |
}
|
|
|
|
27 |
;
|
28 |
}
|
29 |
}
|
30 |
+
|
31 |
+
class_alias('Twig_Node_Expression_Test_Sameas', 'Twig\Node\Expression\Test\SameasTest', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Unary.php
CHANGED
@@ -25,3 +25,5 @@ abstract class Twig_Node_Expression_Unary extends Twig_Node_Expression
|
|
25 |
|
26 |
abstract public function operator(Twig_Compiler $compiler);
|
27 |
}
|
|
|
|
25 |
|
26 |
abstract public function operator(Twig_Compiler $compiler);
|
27 |
}
|
28 |
+
|
29 |
+
class_alias('Twig_Node_Expression_Unary', 'Twig\Node\Expression\Unary\AbstractUnary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Unary/Neg.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Unary_Neg extends Twig_Node_Expression_Unary
|
|
16 |
$compiler->raw('-');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
$compiler->raw('-');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Unary_Neg', 'Twig\Node\Expression\Unary\NegUnary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Unary/Not.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Unary_Not extends Twig_Node_Expression_Unary
|
|
16 |
$compiler->raw('!');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
$compiler->raw('!');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Unary_Not', 'Twig\Node\Expression\Unary\NotUnary', false);
|
vendor/twig/twig/lib/Twig/Node/Expression/Unary/Pos.php
CHANGED
@@ -16,3 +16,5 @@ class Twig_Node_Expression_Unary_Pos extends Twig_Node_Expression_Unary
|
|
16 |
$compiler->raw('+');
|
17 |
}
|
18 |
}
|
|
|
|
16 |
$compiler->raw('+');
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
class_alias('Twig_Node_Expression_Unary_Pos', 'Twig\Node\Expression\Unary\PosUnary', false);
|
vendor/twig/twig/lib/Twig/Node/Flush.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Node_Flush extends Twig_Node
|
|
29 |
;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Node_Flush', 'Twig\Node\FlushNode', false);
|
vendor/twig/twig/lib/Twig/Node/For.php
CHANGED
@@ -109,3 +109,5 @@ class Twig_Node_For extends Twig_Node
|
|
109 |
$compiler->write("\$context = array_intersect_key(\$context, \$_parent) + \$_parent;\n");
|
110 |
}
|
111 |
}
|
|
|
|
109 |
$compiler->write("\$context = array_intersect_key(\$context, \$_parent) + \$_parent;\n");
|
110 |
}
|
111 |
}
|
112 |
+
|
113 |
+
class_alias('Twig_Node_For', 'Twig\Node\ForNode', false);
|
vendor/twig/twig/lib/Twig/Node/ForLoop.php
CHANGED
@@ -48,3 +48,5 @@ class Twig_Node_ForLoop extends Twig_Node
|
|
48 |
}
|
49 |
}
|
50 |
}
|
|
|
|
48 |
}
|
49 |
}
|
50 |
}
|
51 |
+
|
52 |
+
class_alias('Twig_Node_ForLoop', 'Twig\Node\ForLoopNode', false);
|
vendor/twig/twig/lib/Twig/Node/If.php
CHANGED
@@ -64,3 +64,5 @@ class Twig_Node_If extends Twig_Node
|
|
64 |
->write("}\n");
|
65 |
}
|
66 |
}
|
|
|
|
64 |
->write("}\n");
|
65 |
}
|
66 |
}
|
67 |
+
|
68 |
+
class_alias('Twig_Node_If', 'Twig\Node\IfNode', false);
|
vendor/twig/twig/lib/Twig/Node/Import.php
CHANGED
@@ -47,3 +47,5 @@ class Twig_Node_Import extends Twig_Node
|
|
47 |
$compiler->raw(";\n");
|
48 |
}
|
49 |
}
|
|
|
|
47 |
$compiler->raw(";\n");
|
48 |
}
|
49 |
}
|
50 |
+
|
51 |
+
class_alias('Twig_Node_Import', 'Twig\Node\ImportNode', false);
|
vendor/twig/twig/lib/Twig/Node/Include.php
CHANGED
@@ -86,3 +86,5 @@ class Twig_Node_Include extends Twig_Node implements Twig_NodeOutputInterface
|
|
86 |
}
|
87 |
}
|
88 |
}
|
|
|
|
86 |
}
|
87 |
}
|
88 |
}
|
89 |
+
|
90 |
+
class_alias('Twig_Node_Include', 'Twig\Node\IncludeNode', false);
|
vendor/twig/twig/lib/Twig/Node/Macro.php
CHANGED
@@ -121,3 +121,5 @@ class Twig_Node_Macro extends Twig_Node
|
|
121 |
;
|
122 |
}
|
123 |
}
|
|
|
|
121 |
;
|
122 |
}
|
123 |
}
|
124 |
+
|
125 |
+
class_alias('Twig_Node_Macro', 'Twig\Node\MacroNode', false);
|
vendor/twig/twig/lib/Twig/Node/Module.php
CHANGED
@@ -457,3 +457,5 @@ class Twig_Node_Module extends Twig_Node
|
|
457 |
}
|
458 |
}
|
459 |
}
|
|
|
|
457 |
}
|
458 |
}
|
459 |
}
|
460 |
+
|
461 |
+
class_alias('Twig_Node_Module', 'Twig\Node\ModuleNode', false);
|
vendor/twig/twig/lib/Twig/Node/Print.php
CHANGED
@@ -32,3 +32,5 @@ class Twig_Node_Print extends Twig_Node implements Twig_NodeOutputInterface
|
|
32 |
;
|
33 |
}
|
34 |
}
|
|
|
|
32 |
;
|
33 |
}
|
34 |
}
|
35 |
+
|
36 |
+
class_alias('Twig_Node_Print', 'Twig\Node\PrintNode', false);
|
vendor/twig/twig/lib/Twig/Node/Sandbox.php
CHANGED
@@ -40,3 +40,5 @@ class Twig_Node_Sandbox extends Twig_Node
|
|
40 |
;
|
41 |
}
|
42 |
}
|
|
|
|
40 |
;
|
41 |
}
|
42 |
}
|
43 |
+
|
44 |
+
class_alias('Twig_Node_Sandbox', 'Twig\Node\SandboxNode', false);
|
vendor/twig/twig/lib/Twig/Node/SandboxedPrint.php
CHANGED
@@ -47,3 +47,5 @@ class Twig_Node_SandboxedPrint extends Twig_Node_Print
|
|
47 |
return $node;
|
48 |
}
|
49 |
}
|
|
|
|
47 |
return $node;
|
48 |
}
|
49 |
}
|
50 |
+
|
51 |
+
class_alias('Twig_Node_SandboxedPrint', 'Twig\Node\SandboxedPrintNode', false);
|
vendor/twig/twig/lib/Twig/Node/Set.php
CHANGED
@@ -94,3 +94,5 @@ class Twig_Node_Set extends Twig_Node implements Twig_NodeCaptureInterface
|
|
94 |
$compiler->raw(";\n");
|
95 |
}
|
96 |
}
|
|
|
|
94 |
$compiler->raw(";\n");
|
95 |
}
|
96 |
}
|
97 |
+
|
98 |
+
class_alias('Twig_Node_Set', 'Twig\Node\SetNode', false);
|
vendor/twig/twig/lib/Twig/Node/SetTemp.php
CHANGED
@@ -9,6 +9,9 @@
|
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
|
|
|
|
|
|
12 |
class Twig_Node_SetTemp extends Twig_Node
|
13 |
{
|
14 |
public function __construct($name, $lineno)
|
@@ -33,3 +36,5 @@ class Twig_Node_SetTemp extends Twig_Node
|
|
33 |
;
|
34 |
}
|
35 |
}
|
|
|
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
12 |
+
/**
|
13 |
+
* @internal
|
14 |
+
*/
|
15 |
class Twig_Node_SetTemp extends Twig_Node
|
16 |
{
|
17 |
public function __construct($name, $lineno)
|
36 |
;
|
37 |
}
|
38 |
}
|
39 |
+
|
40 |
+
class_alias('Twig_Node_SetTemp', 'Twig\Node\SetTempNode', false);
|
vendor/twig/twig/lib/Twig/Node/Spaceless.php
CHANGED
@@ -33,3 +33,5 @@ class Twig_Node_Spaceless extends Twig_Node
|
|
33 |
;
|
34 |
}
|
35 |
}
|
|
|
|
33 |
;
|
34 |
}
|
35 |
}
|
36 |
+
|
37 |
+
class_alias('Twig_Node_Spaceless', 'Twig\Node\SpacelessNode', false);
|
vendor/twig/twig/lib/Twig/Node/Text.php
CHANGED
@@ -32,3 +32,5 @@ class Twig_Node_Text extends Twig_Node implements Twig_NodeOutputInterface
|
|
32 |
;
|
33 |
}
|
34 |
}
|
|
|
|
32 |
;
|
33 |
}
|
34 |
}
|
35 |
+
|
36 |
+
class_alias('Twig_Node_Text', 'Twig\Node\TextNode', false);
|
vendor/twig/twig/lib/Twig/Node/With.php
CHANGED
@@ -60,3 +60,5 @@ class Twig_Node_With extends Twig_Node
|
|
60 |
;
|
61 |
}
|
62 |
}
|
|
|
|
60 |
;
|
61 |
}
|
62 |
}
|
63 |
+
|
64 |
+
class_alias('Twig_Node_With', 'Twig\Node\WithNode', false);
|
vendor/twig/twig/lib/Twig/NodeCaptureInterface.php
CHANGED
@@ -17,3 +17,5 @@
|
|
17 |
interface Twig_NodeCaptureInterface
|
18 |
{
|
19 |
}
|
|
|
|
17 |
interface Twig_NodeCaptureInterface
|
18 |
{
|
19 |
}
|
20 |
+
|
21 |
+
class_alias('Twig_NodeCaptureInterface', 'Twig\Node\NodeCaptureInterface', false);
|
vendor/twig/twig/lib/Twig/NodeOutputInterface.php
CHANGED
@@ -17,3 +17,5 @@
|
|
17 |
interface Twig_NodeOutputInterface
|
18 |
{
|
19 |
}
|
|
|
|
17 |
interface Twig_NodeOutputInterface
|
18 |
{
|
19 |
}
|
20 |
+
|
21 |
+
class_alias('Twig_NodeOutputInterface', 'Twig\Node\NodeOutputInterface', false);
|
vendor/twig/twig/lib/Twig/NodeTraverser.php
CHANGED
@@ -80,3 +80,5 @@ class Twig_NodeTraverser
|
|
80 |
return $visitor->leaveNode($node, $this->env);
|
81 |
}
|
82 |
}
|
|
|
|
80 |
return $visitor->leaveNode($node, $this->env);
|
81 |
}
|
82 |
}
|
83 |
+
|
84 |
+
class_alias('Twig_NodeTraverser', 'Twig\NodeTraverser', false);
|
vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php
CHANGED
@@ -150,3 +150,5 @@ class Twig_NodeVisitor_Escaper extends Twig_BaseNodeVisitor
|
|
150 |
return 0;
|
151 |
}
|
152 |
}
|
|
|
|
150 |
return 0;
|
151 |
}
|
152 |
}
|
153 |
+
|
154 |
+
class_alias('Twig_NodeVisitor_Escaper', 'Twig\NodeVisitor\EscaperNodeVisitor', false);
|
vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php
CHANGED
@@ -249,3 +249,5 @@ class Twig_NodeVisitor_Optimizer extends Twig_BaseNodeVisitor
|
|
249 |
return 255;
|
250 |
}
|
251 |
}
|
|
|
|
249 |
return 255;
|
250 |
}
|
251 |
}
|
252 |
+
|
253 |
+
class_alias('Twig_NodeVisitor_Optimizer', 'Twig\NodeVisitor\OptimizerNodeVisitor', false);
|
vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php
CHANGED
@@ -146,3 +146,5 @@ class Twig_NodeVisitor_SafeAnalysis extends Twig_BaseNodeVisitor
|
|
146 |
return 0;
|
147 |
}
|
148 |
}
|
|
|
|
146 |
return 0;
|
147 |
}
|
148 |
}
|
149 |
+
|
150 |
+
class_alias('Twig_NodeVisitor_SafeAnalysis', 'Twig\NodeVisitor\SafeAnalysisNodeVisitor', false);
|
vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php
CHANGED
@@ -73,3 +73,5 @@ class Twig_NodeVisitor_Sandbox extends Twig_BaseNodeVisitor
|
|
73 |
return 0;
|
74 |
}
|
75 |
}
|
|
|
|
73 |
return 0;
|
74 |
}
|
75 |
}
|
76 |
+
|
77 |
+
class_alias('Twig_NodeVisitor_Sandbox', 'Twig\NodeVisitor\SandboxNodeVisitor', false);
|
vendor/twig/twig/lib/Twig/NodeVisitorInterface.php
CHANGED
@@ -39,3 +39,7 @@ interface Twig_NodeVisitorInterface
|
|
39 |
*/
|
40 |
public function getPriority();
|
41 |
}
|
|
|
|
|
|
|
|
39 |
*/
|
40 |
public function getPriority();
|
41 |
}
|
42 |
+
|
43 |
+
class_alias('Twig_NodeVisitorInterface', 'Twig\NodeVisitor\NodeVisitorInterface', false);
|
44 |
+
class_exists('Twig_Environment');
|
45 |
+
class_exists('Twig_Node');
|
vendor/twig/twig/lib/Twig/Parser.php
CHANGED
@@ -404,3 +404,7 @@ class Twig_Parser implements Twig_ParserInterface
|
|
404 |
return $node;
|
405 |
}
|
406 |
}
|
|
|
|
|
|
|
|
404 |
return $node;
|
405 |
}
|
406 |
}
|
407 |
+
|
408 |
+
class_alias('Twig_Parser', 'Twig\Parser', false);
|
409 |
+
class_exists('Twig_Node');
|
410 |
+
class_exists('Twig_TokenStream');
|
vendor/twig/twig/lib/Twig/Profiler/Dumper/Base.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of Twig.
|
5 |
+
*
|
6 |
+
* (c) Fabien Potencier
|
7 |
+
*
|
8 |
+
* For the full copyright and license information, please view the LICENSE
|
9 |
+
* file that was distributed with this source code.
|
10 |
+
*/
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @author Fabien Potencier <fabien@symfony.com>
|
14 |
+
*/
|
15 |
+
abstract class Twig_Profiler_Dumper_Base
|
16 |
+
{
|
17 |
+
private $root;
|
18 |
+
|
19 |
+
public function dump(Twig_Profiler_Profile $profile)
|
20 |
+
{
|
21 |
+
return $this->dumpProfile($profile);
|
22 |
+
}
|
23 |
+
|
24 |
+
abstract protected function formatTemplate(Twig_Profiler_Profile $profile, $prefix);
|
25 |
+
|
26 |
+
abstract protected function formatNonTemplate(Twig_Profiler_Profile $profile, $prefix);
|
27 |
+
|
28 |
+
abstract protected function formatTime(Twig_Profiler_Profile $profile, $percent);
|
29 |
+
|
30 |
+
private function dumpProfile(Twig_Profiler_Profile $profile, $prefix = '', $sibling = false)
|
31 |
+
{
|
32 |
+
if ($profile->isRoot()) {
|
33 |
+
$this->root = $profile->getDuration();
|
34 |
+
$start = $profile->getName();
|
35 |
+
} else {
|
36 |
+
if ($profile->isTemplate()) {
|
37 |
+
$start = $this->formatTemplate($profile, $prefix);
|
38 |
+
} else {
|
39 |
+
$start = $this->formatNonTemplate($profile, $prefix);
|
40 |
+
}
|
41 |
+
$prefix .= $sibling ? '│ ' : ' ';
|
42 |
+
}
|
43 |
+
|
44 |
+
$percent = $this->root ? $profile->getDuration() / $this->root * 100 : 0;
|
45 |
+
|
46 |
+
if ($profile->getDuration() * 1000 < 1) {
|
47 |
+
$str = $start."\n";
|
48 |
+
} else {
|
49 |
+
$str = sprintf("%s %s\n", $start, $this->formatTime($profile, $percent));
|
50 |
+
}
|
51 |
+
|
52 |
+
$nCount = count($profile->getProfiles());
|
53 |
+
foreach ($profile as $i => $p) {
|
54 |
+
$str .= $this->dumpProfile($p, $prefix, $i + 1 !== $nCount);
|
55 |
+
}
|
56 |
+
|
57 |
+
return $str;
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
class_alias('Twig_Profiler_Dumper_Base', 'Twig\Profiler\Dumper\BaseDumper', false);
|
62 |
+
class_exists('Twig_Profiler_Profile');
|
vendor/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php
CHANGED
@@ -68,3 +68,5 @@ EOF;
|
|
68 |
}
|
69 |
}
|
70 |
}
|
|
|
|
68 |
}
|
69 |
}
|
70 |
}
|
71 |
+
|
72 |
+
class_alias('Twig_Profiler_Dumper_Blackfire', 'Twig\Profiler\Dumper\BlackfireDumper', false);
|
vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
*
|
15 |
* @final
|
16 |
*/
|
17 |
-
class Twig_Profiler_Dumper_Html extends
|
18 |
{
|
19 |
private static $colors = array(
|
20 |
'block' => '#dfd',
|
@@ -43,3 +43,5 @@ class Twig_Profiler_Dumper_Html extends Twig_Profiler_Dumper_Text
|
|
43 |
return sprintf('<span style="color: %s">%.2fms/%.0f%%</span>', $percent > 20 ? self::$colors['big'] : 'auto', $profile->getDuration() * 1000, $percent);
|
44 |
}
|
45 |
}
|
|
|
|
14 |
*
|
15 |
* @final
|
16 |
*/
|
17 |
+
class Twig_Profiler_Dumper_Html extends Twig_Profiler_Dumper_Base
|
18 |
{
|
19 |
private static $colors = array(
|
20 |
'block' => '#dfd',
|
43 |
return sprintf('<span style="color: %s">%.2fms/%.0f%%</span>', $percent > 20 ? self::$colors['big'] : 'auto', $profile->getDuration() * 1000, $percent);
|
44 |
}
|
45 |
}
|
46 |
+
|
47 |
+
class_alias('Twig_Profiler_Dumper_Html', 'Twig\Profiler\Dumper\HtmlDumper', false);
|
vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php
CHANGED
@@ -14,15 +14,8 @@
|
|
14 |
*
|
15 |
* @final
|
16 |
*/
|
17 |
-
class Twig_Profiler_Dumper_Text
|
18 |
{
|
19 |
-
private $root;
|
20 |
-
|
21 |
-
public function dump(Twig_Profiler_Profile $profile)
|
22 |
-
{
|
23 |
-
return $this->dumpProfile($profile);
|
24 |
-
}
|
25 |
-
|
26 |
protected function formatTemplate(Twig_Profiler_Profile $profile, $prefix)
|
27 |
{
|
28 |
return sprintf('%s└ %s', $prefix, $profile->getTemplate());
|
@@ -37,34 +30,6 @@ class Twig_Profiler_Dumper_Text
|
|
37 |
{
|
38 |
return sprintf('%.2fms/%.0f%%', $profile->getDuration() * 1000, $percent);
|
39 |
}
|
40 |
-
|
41 |
-
private function dumpProfile(Twig_Profiler_Profile $profile, $prefix = '', $sibling = false)
|
42 |
-
{
|
43 |
-
if ($profile->isRoot()) {
|
44 |
-
$this->root = $profile->getDuration();
|
45 |
-
$start = $profile->getName();
|
46 |
-
} else {
|
47 |
-
if ($profile->isTemplate()) {
|
48 |
-
$start = $this->formatTemplate($profile, $prefix);
|
49 |
-
} else {
|
50 |
-
$start = $this->formatNonTemplate($profile, $prefix);
|
51 |
-
}
|
52 |
-
$prefix .= $sibling ? '│ ' : ' ';
|
53 |
-
}
|
54 |
-
|
55 |
-
$percent = $this->root ? $profile->getDuration() / $this->root * 100 : 0;
|
56 |
-
|
57 |
-
if ($profile->getDuration() * 1000 < 1) {
|
58 |
-
$str = $start."\n";
|
59 |
-
} else {
|
60 |
-
$str = sprintf("%s %s\n", $start, $this->formatTime($profile, $percent));
|
61 |
-
}
|
62 |
-
|
63 |
-
$nCount = count($profile->getProfiles());
|
64 |
-
foreach ($profile as $i => $p) {
|
65 |
-
$str .= $this->dumpProfile($p, $prefix, $i + 1 !== $nCount);
|
66 |
-
}
|
67 |
-
|
68 |
-
return $str;
|
69 |
-
}
|
70 |
}
|
|
|
|
14 |
*
|
15 |
* @final
|
16 |
*/
|
17 |
+
class Twig_Profiler_Dumper_Text extends Twig_Profiler_Dumper_Base
|
18 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
protected function formatTemplate(Twig_Profiler_Profile $profile, $prefix)
|
20 |
{
|
21 |
return sprintf('%s└ %s', $prefix, $profile->getTemplate());
|
30 |
{
|
31 |
return sprintf('%.2fms/%.0f%%', $profile->getDuration() * 1000, $percent);
|
32 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
+
|
35 |
+
class_alias('Twig_Profiler_Dumper_Text', 'Twig\Profiler\Dumper\TextDumper', false);
|
vendor/twig/twig/lib/Twig/Profiler/Node/EnterProfile.php
CHANGED
@@ -35,3 +35,5 @@ class Twig_Profiler_Node_EnterProfile extends Twig_Node
|
|
35 |
;
|
36 |
}
|
37 |
}
|
|
|
|
35 |
;
|
36 |
}
|
37 |
}
|
38 |
+
|
39 |
+
class_alias('Twig_Profiler_Node_EnterProfile', 'Twig\Profiler\Node\EnterProfileNode', false);
|
vendor/twig/twig/lib/Twig/Profiler/Node/LeaveProfile.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Profiler_Node_LeaveProfile extends Twig_Node
|
|
29 |
;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Profiler_Node_LeaveProfile', 'Twig\Profiler\Node\LeaveProfileNode', false);
|
vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php
CHANGED
@@ -63,3 +63,5 @@ class Twig_Profiler_NodeVisitor_Profiler extends Twig_BaseNodeVisitor
|
|
63 |
return 0;
|
64 |
}
|
65 |
}
|
|
|
|
63 |
return 0;
|
64 |
}
|
65 |
}
|
66 |
+
|
67 |
+
class_alias('Twig_Profiler_NodeVisitor_Profiler', 'Twig\Profiler\NodeVisitor\ProfilerNodeVisitor', false);
|
vendor/twig/twig/lib/Twig/Profiler/Profile.php
CHANGED
@@ -160,3 +160,5 @@ class Twig_Profiler_Profile implements IteratorAggregate, Serializable
|
|
160 |
list($this->template, $this->name, $this->type, $this->starts, $this->ends, $this->profiles) = unserialize($data);
|
161 |
}
|
162 |
}
|
|
|
|
160 |
list($this->template, $this->name, $this->type, $this->starts, $this->ends, $this->profiles) = unserialize($data);
|
161 |
}
|
162 |
}
|
163 |
+
|
164 |
+
class_alias('Twig_Profiler_Profile', 'Twig\Profiler\Profile', false);
|
vendor/twig/twig/lib/Twig/RuntimeLoaderInterface.php
CHANGED
@@ -25,3 +25,5 @@ interface Twig_RuntimeLoaderInterface
|
|
25 |
*/
|
26 |
public function load($class);
|
27 |
}
|
|
|
|
25 |
*/
|
26 |
public function load($class);
|
27 |
}
|
28 |
+
|
29 |
+
class_alias('Twig_RuntimeLoaderInterface', 'Twig\RuntimeLoader\RuntimeLoaderInterface', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityError.php
CHANGED
@@ -17,3 +17,5 @@
|
|
17 |
class Twig_Sandbox_SecurityError extends Twig_Error
|
18 |
{
|
19 |
}
|
|
|
|
17 |
class Twig_Sandbox_SecurityError extends Twig_Error
|
18 |
{
|
19 |
}
|
20 |
+
|
21 |
+
class_alias('Twig_Sandbox_SecurityError', 'Twig\Sandbox\SecurityError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFilterError.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Sandbox_SecurityNotAllowedFilterError extends Twig_Sandbox_SecurityEr
|
|
29 |
return $this->filterName;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
return $this->filterName;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Sandbox_SecurityNotAllowedFilterError', 'Twig\Sandbox\SecurityNotAllowedFilterError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Sandbox_SecurityNotAllowedFunctionError extends Twig_Sandbox_Security
|
|
29 |
return $this->functionName;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
return $this->functionName;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Sandbox_SecurityNotAllowedFunctionError', 'Twig\Sandbox\SecurityNotAllowedFunctionError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedMethodError.php
CHANGED
@@ -36,3 +36,5 @@ class Twig_Sandbox_SecurityNotAllowedMethodError extends Twig_Sandbox_SecurityEr
|
|
36 |
return $this->methodName;
|
37 |
}
|
38 |
}
|
|
|
|
36 |
return $this->methodName;
|
37 |
}
|
38 |
}
|
39 |
+
|
40 |
+
class_alias('Twig_Sandbox_SecurityNotAllowedMethodError', 'Twig\Sandbox\SecurityNotAllowedMethodError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedPropertyError.php
CHANGED
@@ -36,3 +36,5 @@ class Twig_Sandbox_SecurityNotAllowedPropertyError extends Twig_Sandbox_Security
|
|
36 |
return $this->propertyName;
|
37 |
}
|
38 |
}
|
|
|
|
36 |
return $this->propertyName;
|
37 |
}
|
38 |
}
|
39 |
+
|
40 |
+
class_alias('Twig_Sandbox_SecurityNotAllowedPropertyError', 'Twig\Sandbox\SecurityNotAllowedPropertyError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedTagError.php
CHANGED
@@ -29,3 +29,5 @@ class Twig_Sandbox_SecurityNotAllowedTagError extends Twig_Sandbox_SecurityError
|
|
29 |
return $this->tagName;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
return $this->tagName;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_Sandbox_SecurityNotAllowedTagError', 'Twig\Sandbox\SecurityNotAllowedTagError', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicy.php
CHANGED
@@ -121,3 +121,5 @@ class Twig_Sandbox_SecurityPolicy implements Twig_Sandbox_SecurityPolicyInterfac
|
|
121 |
}
|
122 |
}
|
123 |
}
|
|
|
|
121 |
}
|
122 |
}
|
123 |
}
|
124 |
+
|
125 |
+
class_alias('Twig_Sandbox_SecurityPolicy', 'Twig\Sandbox\SecurityPolicy', false);
|
vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php
CHANGED
@@ -22,3 +22,5 @@ interface Twig_Sandbox_SecurityPolicyInterface
|
|
22 |
|
23 |
public function checkPropertyAllowed($obj, $method);
|
24 |
}
|
|
|
|
22 |
|
23 |
public function checkPropertyAllowed($obj, $method);
|
24 |
}
|
25 |
+
|
26 |
+
class_alias('Twig_Sandbox_SecurityPolicyInterface', 'Twig\Sandbox\SecurityPolicyInterface', false);
|
vendor/twig/twig/lib/Twig/SimpleFilter.php
CHANGED
@@ -117,3 +117,5 @@ class Twig_SimpleFilter
|
|
117 |
return $this->options['alternative'];
|
118 |
}
|
119 |
}
|
|
|
|
117 |
return $this->options['alternative'];
|
118 |
}
|
119 |
}
|
120 |
+
|
121 |
+
class_alias('Twig_SimpleFilter', 'Twig\TwigFilter', false);
|
vendor/twig/twig/lib/Twig/SimpleFunction.php
CHANGED
@@ -107,3 +107,5 @@ class Twig_SimpleFunction
|
|
107 |
return $this->options['alternative'];
|
108 |
}
|
109 |
}
|
|
|
|
107 |
return $this->options['alternative'];
|
108 |
}
|
109 |
}
|
110 |
+
|
111 |
+
class_alias('Twig_SimpleFunction', 'Twig\TwigFunction', false);
|
vendor/twig/twig/lib/Twig/SimpleTest.php
CHANGED
@@ -69,3 +69,5 @@ class Twig_SimpleTest
|
|
69 |
return $this->options['alternative'];
|
70 |
}
|
71 |
}
|
|
|
|
69 |
return $this->options['alternative'];
|
70 |
}
|
71 |
}
|
72 |
+
|
73 |
+
class_alias('Twig_SimpleTest', 'Twig\TwigTest', false);
|
vendor/twig/twig/lib/Twig/Source.php
CHANGED
@@ -49,3 +49,5 @@ class Twig_Source
|
|
49 |
return $this->path;
|
50 |
}
|
51 |
}
|
|
|
|
49 |
return $this->path;
|
50 |
}
|
51 |
}
|
52 |
+
|
53 |
+
class_alias('Twig_Source', 'Twig\Source', false);
|
vendor/twig/twig/lib/Twig/SourceContextLoaderInterface.php
CHANGED
@@ -29,3 +29,5 @@ interface Twig_SourceContextLoaderInterface
|
|
29 |
*/
|
30 |
public function getSourceContext($name);
|
31 |
}
|
|
|
|
29 |
*/
|
30 |
public function getSourceContext($name);
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_SourceContextLoaderInterface', 'Twig\Loader\SourceContextLoaderInterface', false);
|
vendor/twig/twig/lib/Twig/Template.php
CHANGED
@@ -702,3 +702,5 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
|
702 |
return $ret;
|
703 |
}
|
704 |
}
|
|
|
|
702 |
return $ret;
|
703 |
}
|
704 |
}
|
705 |
+
|
706 |
+
class_alias('Twig_Template', 'Twig\Template', false);
|
vendor/twig/twig/lib/Twig/TemplateWrapper.php
CHANGED
@@ -129,3 +129,5 @@ final class Twig_TemplateWrapper
|
|
129 |
return $this->template->getSourceContext();
|
130 |
}
|
131 |
}
|
|
|
|
129 |
return $this->template->getSourceContext();
|
130 |
}
|
131 |
}
|
132 |
+
|
133 |
+
class_alias('Twig_TemplateWrapper', 'Twig\TemplateWrapper', false);
|
vendor/twig/twig/lib/Twig/Test/IntegrationTestCase.php
CHANGED
@@ -9,19 +9,29 @@
|
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
/**
|
13 |
* Integration test helper.
|
14 |
*
|
15 |
* @author Fabien Potencier <fabien@symfony.com>
|
16 |
* @author Karma Dordrak <drak@zikula.org>
|
17 |
*/
|
18 |
-
abstract class Twig_Test_IntegrationTestCase extends
|
19 |
{
|
20 |
/**
|
21 |
* @return string
|
22 |
*/
|
23 |
abstract protected function getFixturesDir();
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
/**
|
26 |
* @return Twig_ExtensionInterface[]
|
27 |
*/
|
@@ -141,6 +151,10 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
141 |
), $match[2] ? eval($match[2].';') : array());
|
142 |
$twig = new Twig_Environment($loader, $config);
|
143 |
$twig->addGlobal('global', 'global');
|
|
|
|
|
|
|
|
|
144 |
foreach ($this->getExtensions() as $extension) {
|
145 |
$twig->addExtension($extension);
|
146 |
}
|
@@ -196,7 +210,8 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
196 |
|
197 |
if (false !== $exception) {
|
198 |
list($class) = explode(':', $exception);
|
199 |
-
$
|
|
|
200 |
}
|
201 |
|
202 |
$expected = trim($match[3], "\n ");
|
@@ -230,3 +245,5 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
230 |
return $templates;
|
231 |
}
|
232 |
}
|
|
|
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
12 |
+
use PHPUnit\Framework\TestCase;
|
13 |
+
|
14 |
/**
|
15 |
* Integration test helper.
|
16 |
*
|
17 |
* @author Fabien Potencier <fabien@symfony.com>
|
18 |
* @author Karma Dordrak <drak@zikula.org>
|
19 |
*/
|
20 |
+
abstract class Twig_Test_IntegrationTestCase extends TestCase
|
21 |
{
|
22 |
/**
|
23 |
* @return string
|
24 |
*/
|
25 |
abstract protected function getFixturesDir();
|
26 |
|
27 |
+
/**
|
28 |
+
* @return Twig_RuntimeLoaderInterface[]
|
29 |
+
*/
|
30 |
+
protected function getRuntimeLoaders()
|
31 |
+
{
|
32 |
+
return array();
|
33 |
+
}
|
34 |
+
|
35 |
/**
|
36 |
* @return Twig_ExtensionInterface[]
|
37 |
*/
|
151 |
), $match[2] ? eval($match[2].';') : array());
|
152 |
$twig = new Twig_Environment($loader, $config);
|
153 |
$twig->addGlobal('global', 'global');
|
154 |
+
foreach ($this->getRuntimeLoaders() as $runtimeLoader) {
|
155 |
+
$twig->addRuntimeLoader($runtimeLoader);
|
156 |
+
}
|
157 |
+
|
158 |
foreach ($this->getExtensions() as $extension) {
|
159 |
$twig->addExtension($extension);
|
160 |
}
|
210 |
|
211 |
if (false !== $exception) {
|
212 |
list($class) = explode(':', $exception);
|
213 |
+
$constraintClass = class_exists('PHPUnit\Framework\Constraint\Exception') ? 'PHPUnit\Framework\Constraint\Exception' : 'PHPUnit_Framework_Constraint_Exception';
|
214 |
+
$this->assertThat(null, new $constraintClass($class));
|
215 |
}
|
216 |
|
217 |
$expected = trim($match[3], "\n ");
|
245 |
return $templates;
|
246 |
}
|
247 |
}
|
248 |
+
|
249 |
+
class_alias('Twig_Test_IntegrationTestCase', 'Twig\Test\IntegrationTestCase', false);
|
vendor/twig/twig/lib/Twig/Test/NodeTestCase.php
CHANGED
@@ -8,7 +8,10 @@
|
|
8 |
* For the full copyright and license information, please view the LICENSE
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
-
|
|
|
|
|
|
|
12 |
{
|
13 |
abstract public function getTests();
|
14 |
|
@@ -66,3 +69,7 @@ abstract class Twig_Test_NodeTestCase extends PHPUnit_Framework_TestCase
|
|
66 |
return '$this->getAttribute(';
|
67 |
}
|
68 |
}
|
|
|
|
|
|
|
|
8 |
* For the full copyright and license information, please view the LICENSE
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
+
|
12 |
+
use PHPUnit\Framework\TestCase;
|
13 |
+
|
14 |
+
abstract class Twig_Test_NodeTestCase extends TestCase
|
15 |
{
|
16 |
abstract public function getTests();
|
17 |
|
69 |
return '$this->getAttribute(';
|
70 |
}
|
71 |
}
|
72 |
+
|
73 |
+
class_alias('Twig_Test_NodeTestCase', 'Twig\Test\NodeTestCase', false);
|
74 |
+
class_exists('Twig_Environment');
|
75 |
+
class_exists('Twig_Node');
|
vendor/twig/twig/lib/Twig/Token.php
CHANGED
@@ -203,3 +203,5 @@ class Twig_Token
|
|
203 |
}
|
204 |
}
|
205 |
}
|
|
|
|
203 |
}
|
204 |
}
|
205 |
}
|
206 |
+
|
207 |
+
class_alias('Twig_Token', 'Twig\Token', false);
|
vendor/twig/twig/lib/Twig/TokenParser.php
CHANGED
@@ -29,3 +29,5 @@ abstract class Twig_TokenParser implements Twig_TokenParserInterface
|
|
29 |
$this->parser = $parser;
|
30 |
}
|
31 |
}
|
|
|
|
29 |
$this->parser = $parser;
|
30 |
}
|
31 |
}
|
32 |
+
|
33 |
+
class_alias('Twig_TokenParser', 'Twig\TokenParser\AbstractTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php
CHANGED
@@ -79,3 +79,5 @@ class Twig_TokenParser_AutoEscape extends Twig_TokenParser
|
|
79 |
return 'autoescape';
|
80 |
}
|
81 |
}
|
|
|
|
79 |
return 'autoescape';
|
80 |
}
|
81 |
}
|
82 |
+
|
83 |
+
class_alias('Twig_TokenParser_AutoEscape', 'Twig\TokenParser\AutoEscapeTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Block.php
CHANGED
@@ -69,3 +69,5 @@ class Twig_TokenParser_Block extends Twig_TokenParser
|
|
69 |
return 'block';
|
70 |
}
|
71 |
}
|
|
|
|
69 |
return 'block';
|
70 |
}
|
71 |
}
|
72 |
+
|
73 |
+
class_alias('Twig_TokenParser_Block', 'Twig\TokenParser\BlockTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Do.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_TokenParser_Do extends Twig_TokenParser
|
|
30 |
return 'do';
|
31 |
}
|
32 |
}
|
|
|
|
30 |
return 'do';
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_TokenParser_Do', 'Twig\TokenParser\DoTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Embed.php
CHANGED
@@ -63,3 +63,5 @@ class Twig_TokenParser_Embed extends Twig_TokenParser_Include
|
|
63 |
return 'embed';
|
64 |
}
|
65 |
}
|
|
|
|
63 |
return 'embed';
|
64 |
}
|
65 |
}
|
66 |
+
|
67 |
+
class_alias('Twig_TokenParser_Embed', 'Twig\TokenParser\EmbedTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Extends.php
CHANGED
@@ -42,3 +42,5 @@ class Twig_TokenParser_Extends extends Twig_TokenParser
|
|
42 |
return 'extends';
|
43 |
}
|
44 |
}
|
|
|
|
42 |
return 'extends';
|
43 |
}
|
44 |
}
|
45 |
+
|
46 |
+
class_alias('Twig_TokenParser_Extends', 'Twig\TokenParser\ExtendsTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Filter.php
CHANGED
@@ -49,3 +49,5 @@ class Twig_TokenParser_Filter extends Twig_TokenParser
|
|
49 |
return 'filter';
|
50 |
}
|
51 |
}
|
|
|
|
49 |
return 'filter';
|
50 |
}
|
51 |
}
|
52 |
+
|
53 |
+
class_alias('Twig_TokenParser_Filter', 'Twig\TokenParser\FilterTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Flush.php
CHANGED
@@ -30,3 +30,5 @@ class Twig_TokenParser_Flush extends Twig_TokenParser
|
|
30 |
return 'flush';
|
31 |
}
|
32 |
}
|
|
|
|
30 |
return 'flush';
|
31 |
}
|
32 |
}
|
33 |
+
|
34 |
+
class_alias('Twig_TokenParser_Flush', 'Twig\TokenParser\FlushTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/For.php
CHANGED
@@ -123,3 +123,5 @@ class Twig_TokenParser_For extends Twig_TokenParser
|
|
123 |
return 'for';
|
124 |
}
|
125 |
}
|
|
|
|
123 |
return 'for';
|
124 |
}
|
125 |
}
|
126 |
+
|
127 |
+
class_alias('Twig_TokenParser_For', 'Twig\TokenParser\ForTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/From.php
CHANGED
@@ -62,3 +62,5 @@ class Twig_TokenParser_From extends Twig_TokenParser
|
|
62 |
return 'from';
|
63 |
}
|
64 |
}
|
|
|
|
62 |
return 'from';
|
63 |
}
|
64 |
}
|
65 |
+
|
66 |
+
class_alias('Twig_TokenParser_From', 'Twig\TokenParser\FromTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/If.php
CHANGED
@@ -82,3 +82,5 @@ class Twig_TokenParser_If extends Twig_TokenParser
|
|
82 |
return 'if';
|
83 |
}
|
84 |
}
|
|
|
|
82 |
return 'if';
|
83 |
}
|
84 |
}
|
85 |
+
|
86 |
+
class_alias('Twig_TokenParser_If', 'Twig\TokenParser\IfTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Import.php
CHANGED
@@ -37,3 +37,5 @@ class Twig_TokenParser_Import extends Twig_TokenParser
|
|
37 |
return 'import';
|
38 |
}
|
39 |
}
|
|
|
|
37 |
return 'import';
|
38 |
}
|
39 |
}
|
40 |
+
|
41 |
+
class_alias('Twig_TokenParser_Import', 'Twig\TokenParser\ImportTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Include.php
CHANGED
@@ -18,8 +18,6 @@
|
|
18 |
* Body
|
19 |
* {% include 'footer.html' %}
|
20 |
* </pre>
|
21 |
-
*
|
22 |
-
* @final
|
23 |
*/
|
24 |
class Twig_TokenParser_Include extends Twig_TokenParser
|
25 |
{
|
@@ -63,3 +61,5 @@ class Twig_TokenParser_Include extends Twig_TokenParser
|
|
63 |
return 'include';
|
64 |
}
|
65 |
}
|
|
|
|
18 |
* Body
|
19 |
* {% include 'footer.html' %}
|
20 |
* </pre>
|
|
|
|
|
21 |
*/
|
22 |
class Twig_TokenParser_Include extends Twig_TokenParser
|
23 |
{
|
61 |
return 'include';
|
62 |
}
|
63 |
}
|
64 |
+
|
65 |
+
class_alias('Twig_TokenParser_Include', 'Twig\TokenParser\IncludeTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Macro.php
CHANGED
@@ -56,3 +56,5 @@ class Twig_TokenParser_Macro extends Twig_TokenParser
|
|
56 |
return 'macro';
|
57 |
}
|
58 |
}
|
|
|
|
56 |
return 'macro';
|
57 |
}
|
58 |
}
|
59 |
+
|
60 |
+
class_alias('Twig_TokenParser_Macro', 'Twig\TokenParser\MacroTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Sandbox.php
CHANGED
@@ -57,3 +57,5 @@ class Twig_TokenParser_Sandbox extends Twig_TokenParser
|
|
57 |
return 'sandbox';
|
58 |
}
|
59 |
}
|
|
|
|
57 |
return 'sandbox';
|
58 |
}
|
59 |
}
|
60 |
+
|
61 |
+
class_alias('Twig_TokenParser_Sandbox', 'Twig\TokenParser\SandboxTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Set.php
CHANGED
@@ -71,3 +71,5 @@ class Twig_TokenParser_Set extends Twig_TokenParser
|
|
71 |
return 'set';
|
72 |
}
|
73 |
}
|
|
|
|
71 |
return 'set';
|
72 |
}
|
73 |
}
|
74 |
+
|
75 |
+
class_alias('Twig_TokenParser_Set', 'Twig\TokenParser\SetTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php
CHANGED
@@ -47,3 +47,5 @@ class Twig_TokenParser_Spaceless extends Twig_TokenParser
|
|
47 |
return 'spaceless';
|
48 |
}
|
49 |
}
|
|
|
|
47 |
return 'spaceless';
|
48 |
}
|
49 |
}
|
50 |
+
|
51 |
+
class_alias('Twig_TokenParser_Spaceless', 'Twig\TokenParser\SpacelessTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/Use.php
CHANGED
@@ -64,3 +64,5 @@ class Twig_TokenParser_Use extends Twig_TokenParser
|
|
64 |
return 'use';
|
65 |
}
|
66 |
}
|
|
|
|
64 |
return 'use';
|
65 |
}
|
66 |
}
|
67 |
+
|
68 |
+
class_alias('Twig_TokenParser_Use', 'Twig\TokenParser\UseTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParser/With.php
CHANGED
@@ -48,3 +48,5 @@ class Twig_TokenParser_With extends Twig_TokenParser
|
|
48 |
return 'with';
|
49 |
}
|
50 |
}
|
|
|
|
48 |
return 'with';
|
49 |
}
|
50 |
}
|
51 |
+
|
52 |
+
class_alias('Twig_TokenParser_With', 'Twig\TokenParser\WithTokenParser', false);
|
vendor/twig/twig/lib/Twig/TokenParserInterface.php
CHANGED
@@ -37,3 +37,7 @@ interface Twig_TokenParserInterface
|
|
37 |
*/
|
38 |
public function getTag();
|
39 |
}
|
|
|
|
|
|
|
|
37 |
*/
|
38 |
public function getTag();
|
39 |
}
|
40 |
+
|
41 |
+
class_alias('Twig_TokenParserInterface', 'Twig\TokenParser\TokenParserInterface', false);
|
42 |
+
class_exists('Twig_Parser');
|
43 |
+
class_exists('Twig_Token');
|
vendor/twig/twig/lib/Twig/TokenStream.php
CHANGED
@@ -192,3 +192,5 @@ class Twig_TokenStream
|
|
192 |
return $this->source;
|
193 |
}
|
194 |
}
|
|
|
|
192 |
return $this->source;
|
193 |
}
|
194 |
}
|
195 |
+
|
196 |
+
class_alias('Twig_TokenStream', 'Twig\TokenStream', false);
|
vendor/twig/twig/lib/Twig/Util/DeprecationCollector.php
CHANGED
@@ -82,3 +82,5 @@ class Twig_Util_DeprecationCollector
|
|
82 |
}
|
83 |
}
|
84 |
}
|
|
|
|
82 |
}
|
83 |
}
|
84 |
}
|
85 |
+
|
86 |
+
class_alias('Twig_Util_DeprecationCollector', 'Twig\Util\DeprecationCollector', false);
|
vendor/twig/twig/lib/Twig/Util/TemplateDirIterator.php
CHANGED
@@ -24,3 +24,5 @@ class Twig_Util_TemplateDirIterator extends IteratorIterator
|
|
24 |
return (string) parent::key();
|
25 |
}
|
26 |
}
|
|
|
|
24 |
return (string) parent::key();
|
25 |
}
|
26 |
}
|
27 |
+
|
28 |
+
class_alias('Twig_Util_TemplateDirIterator', 'Twig\Util\TemplateDirIterator', false);
|
vendor/twig/twig/src/Cache/CacheInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Cache;
|
4 |
+
|
5 |
+
class_exists('Twig_CacheInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface CacheInterface extends \Twig_CacheInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Cache/FilesystemCache.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Cache;
|
4 |
+
|
5 |
+
class_exists('Twig_Cache_Filesystem');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FilesystemCache extends \Twig_Cache_Filesystem
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Cache/NullCache.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Cache;
|
4 |
+
|
5 |
+
class_exists('Twig_Cache_Null');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NullCache extends \Twig_Cache_Null
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Compiler.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Compiler');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Compiler extends \Twig_Compiler
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Environment.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Environment');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Environment extends \Twig_Environment
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Error/Error.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Error;
|
4 |
+
|
5 |
+
class_exists('Twig_Error');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Error extends \Twig_Error
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Error/LoaderError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Error;
|
4 |
+
|
5 |
+
class_exists('Twig_Error_Loader');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class LoaderError extends \Twig_Error_Loader
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Error/RuntimeError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Error;
|
4 |
+
|
5 |
+
class_exists('Twig_Error_Runtime');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class RuntimeError extends \Twig_Error_Runtime
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Error/SyntaxError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Error;
|
4 |
+
|
5 |
+
class_exists('Twig_Error_Syntax');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SyntaxError extends \Twig_Error_Syntax
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/ExpressionParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_ExpressionParser');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ExpressionParser extends \Twig_ExpressionParser
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/AbstractExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractExtension extends \Twig_Extension
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/CoreExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Core');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class CoreExtension extends \Twig_Extension_Core
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/DebugExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Debug');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DebugExtension extends \Twig_Extension_Debug
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/EscaperExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Escaper');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EscaperExtension extends \Twig_Extension_Escaper
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/ExtensionInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_ExtensionInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface ExtensionInterface extends \Twig_ExtensionInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/GlobalsInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_GlobalsInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface GlobalsInterface extends \Twig_Extension_ExtensionInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/InitRuntimeInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_InitRuntimeInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface InitRuntimeInterface extends \Twig_Extension_InitRuntimeInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/OptimizerExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Optimizer');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class OptimizerExtension extends \Twig_Extension_Optimizer
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/ProfilerExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Profiler');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ProfilerExtension extends \Twig_Extension_Profiler
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/SandboxExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Sandbox');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SandboxExtension extends \Twig_Extension_Sandbox
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/StagingExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_Staging');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class StagingExtension extends \Twig_Extension_Staging
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Extension/StringLoaderExtension.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Extension;
|
4 |
+
|
5 |
+
class_exists('Twig_Extension_StringLoader');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class StringLoaderExtension extends \Twig_Extension_StringLoader
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/FileExtensionEscapingStrategy.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_FileExtensionEscapingStrategy');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FileExtensionEscapingStrategy extends \Twig_FileExtensionEscapingStrategy
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Lexer.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Lexer');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Lexer extends \Twig_Lexer
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/ArrayLoader.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_Loader_Array');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ArrayLoader extends \Twig_Loader_Array
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/ChainLoader.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_Loader_Chain');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ChainLoader extends \Twig_Loader_Chain
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/ExistsLoaderInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_ExistsLoaderInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface ExistsLoaderInterface extends \Twig_ExistsLoaderInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/FilesystemLoader.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_Loader_Filesystem');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FilesystemLoader extends \Twig_Loader_Filesystem
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/LoaderInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_LoaderInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface LoaderInterface extends \Twig_LoaderInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Loader/SourceContextLoaderInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Loader;
|
4 |
+
|
5 |
+
class_exists('Twig_SourceContextLoaderInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface SourceContextLoaderInterface extends \Twig_SourceContextLoaderInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Markup.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Markup');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Markup extends \Twig_Markup
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/AutoEscapeNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_AutoEscape');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AutoEscapeNode extends \Twig_Node_AutoEscape
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/BlockNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Block');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BlockNode extends \Twig_Node_Block
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/BlockReferenceNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_BlockReference');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BlockReferenceNode extends \Twig_Node_BlockReference
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/BodyNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Body');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BodyNode extends \Twig_Node_Body
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/CheckSecurityNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_CheckSecurity');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class CheckSecurityNode extends \Twig_Node_CheckSecurity
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/DoNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Do');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DoNode extends \Twig_Node_Do
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/EmbedNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Embed');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EmbedNode extends \Twig_Node_Embed
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/AbstractExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractExpression extends \Twig_Node_Expression
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/ArrayExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Array');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ArrayExpression extends \Twig_Node_Expression_Array
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/AssignNameExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_AssignName');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AssignNameExpression extends \Twig_Node_Expression_AssignName
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/AbstractBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractBinary extends \Twig_Node_Expression_Binary
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/AddBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Add');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AddBinary extends \Twig_Node_Expression_Binary_Add
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/AndBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_And');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AndBinary extends \Twig_Node_Expression_Binary_And
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_BitwiseAnd');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BitwiseAndBinary extends \Twig_Node_Expression_Binary_BitwiseAnd
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_BitwiseOr');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BitwiseOrBinary extends \Twig_Node_Expression_Binary_BitwiseOr
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_BitwiseXor');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BitwiseXorBinary extends \Twig_Node_Expression_Binary_BitwiseXor
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/ConcatBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Concat');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ConcatBinary extends \Twig_Node_Expression_Binary_Concat
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/DivBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Div');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DivBinary extends \Twig_Node_Expression_Binary_Div
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_EndsWith');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EndsWithBinary extends \Twig_Node_Expression_Binary_EndsWith
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/EqualBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Equal');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EqualBinary extends \Twig_Node_Expression_Binary_Equal
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/FloorDivBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_FloorDiv');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FloorDivBinary extends \Twig_Node_Expression_Binary_FloorDiv
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/GreaterBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Greater');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class GreaterBinary extends \Twig_Node_Expression_Binary_Greater
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_GreaterEqual');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class GreaterEqualBinary extends \Twig_Node_Expression_Binary_GreaterEqual
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/InBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_In');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class InBinary extends \Twig_Node_Expression_Binary_In
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/LessBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Less');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class LessBinary extends \Twig_Node_Expression_Binary_Less
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/LessEqualBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_LessEqual');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class LessEqualBinary extends \Twig_Node_Expression_Binary_LessEqual
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/MatchesBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Matches');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class MatchesBinary extends \Twig_Node_Expression_Binary_Matches
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/ModBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Mod');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ModBinary extends \Twig_Node_Expression_Binary_Mod
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/MulBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Mul');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class MulBinary extends \Twig_Node_Expression_Binary_Mul
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_NotEqual');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NotEqualBinary extends \Twig_Node_Expression_Binary_NotEqual
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/NotInBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_NotIn');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NotInBinary extends \Twig_Node_Expression_Binary_NotIn
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/OrBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Or');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class OrBinary extends \Twig_Node_Expression_Binary_Or
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/PowerBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Power');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class PowerBinary extends \Twig_Node_Expression_Binary_Power
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/RangeBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Range');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class RangeBinary extends \Twig_Node_Expression_Binary_Range
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_StartsWith');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class StartsWithBinary extends \Twig_Node_Expression_Binary_StartsWith
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Binary/SubBinary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Binary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Binary_Sub');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SubBinary extends \Twig_Node_Expression_Binary_Sub
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_BlockReference');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BlockReferenceExpression extends \Twig_Node_Expression_BlockReference
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/CallExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Call');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class CallExpression extends \Twig_Node_Expression_Call
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/ConditionalExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Conditional');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ConditionalExpression extends \Twig_Node_Expression_Conditional
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/ConstantExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Constant');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ConstantExpression extends \Twig_Node_Expression_Constant
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Filter/DefaultFilter.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Filter;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Filter_Default');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DefaultFilter extends \Twig_Node_Expression_Filter_Default
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/FilterExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Filter');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FilterExpression extends \Twig_Node_Expression_Filter
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/FunctionExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Function');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FunctionExpression extends \Twig_Node_Expression_Function
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/GetAttrExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_GetAttr');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class GetAttrExpression extends \Twig_Node_Expression_GetAttr
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/MethodCallExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_MethodCall');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class MethodCallExpression extends \Twig_Node_Expression_MethodCall
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/NameExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Name');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NameExpression extends \Twig_Node_Expression_Name
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/NullCoalesceExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_NullCoalesce');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NullCoalesceExpression extends \Twig_Node_Expression_NullCoalesce
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/ParentExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Parent');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ParentExpression extends \Twig_Node_Expression_Parent
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/TempNameExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_TempName');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TempNameExpression extends \Twig_Node_Expression_TempName
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/ConstantTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Constant');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ConstantTest extends \Twig_Node_Expression_Test_Constant
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/DefinedTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Defined');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DefinedTest extends \Twig_Node_Expression_Test_Defined
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Divisibleby');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DivisiblebyTest extends \Twig_Node_Expression_Test_Divisibleby
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/EvenTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Even');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EvenTest extends \Twig_Node_Expression_Test_Even
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/NullTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Null');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NullTest extends \Twig_Node_Expression_Test_Null
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/OddTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Odd');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class OddTest extends \Twig_Node_Expression_Test_Odd
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Test/SameasTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test_Sameas');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SameasTest extends \Twig_Node_Expression_Test_Sameas
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/TestExpression.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Test');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TestExpression extends \Twig_Node_Expression_Test
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Unary/AbstractUnary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Unary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Unary');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractUnary extends \Twig_Node_Expression_Unary
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Unary/NegUnary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Unary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Unary_Neg');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NegUnary extends \Twig_Node_Expression_Unary_Neg
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Unary/NotUnary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Unary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Unary_Not');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NotUnary extends \Twig_Node_Expression_Unary_Not
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Expression/Unary/PosUnary.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node\Expression\Unary;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Expression_Unary_Pos');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class PosUnary extends \Twig_Node_Expression_Unary_Pos
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/FlushNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Flush');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FlushNode extends \Twig_Node_Flush
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/ForLoopNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_ForLoop');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ForLoopNode extends \Twig_Node_ForLoop
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/ForNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_For');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ForNode extends \Twig_Node_For
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/IfNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_If');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class IfNode extends \Twig_Node_If
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/ImportNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Import');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ImportNode extends \Twig_Node_Import
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/IncludeNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Include');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class IncludeNode extends \Twig_Node_Include
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/MacroNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Macro');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class MacroNode extends \Twig_Node_Macro
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/ModuleNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Module');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ModuleNode extends \Twig_Node_Module
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/Node.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Node extends \Twig_Node
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/NodeCaptureInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeCaptureInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface NodeCaptureInterface extends \Twig_NodeCaptureInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/NodeOutputInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeOutputInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface NodeOutputInterface extends \Twig_NodeOutputInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/PrintNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Print');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class PrintNode extends \Twig_Node_Print
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/SandboxNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Sandbox');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SandboxNode extends \Twig_Node_Sandbox
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/SandboxedPrintNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_SandboxedPrint');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SandboxedPrintNode extends \Twig_Node_SandboxedPrint
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/SetNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Set');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SetNode extends \Twig_Node_Set
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/SetTempNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_SetTemp');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SetTempNode extends \Twig_Node_SetTemp
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/SpacelessNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Spaceless');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SpacelessNode extends \Twig_Node_Spaceless
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/TextNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_Text');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TextNode extends \Twig_Node_Text
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Node/WithNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Node_With');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class WithNode extends \Twig_Node_With
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeTraverser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeTraverser');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NodeTraverser extends \Twig_NodeTraverser
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_BaseNodeVisitor');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractNodeVisitor extends \Twig_BaseNodeVisitor
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeVisitor_Escaper');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EscaperNodeVisitor extends \Twig_NodeVisitor_Escaper
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/NodeVisitorInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeVisitorInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface NodeVisitorInterface extends \Twig_NodeVisitorInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/OptimizerNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeVisitor_Optimizer');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class OptimizerNodeVisitor extends \Twig_NodeVisitor_Optimizer
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeVisitor_SafeAnalysis');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SafeAnalysisNodeVisitor extends \Twig_NodeVisitor_SafeAnalysis
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_NodeVisitor_Sandbox');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SandboxNodeVisitor extends \Twig_NodeVisitor_Sandbox
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Parser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Parser');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Parser extends \Twig_Parser
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Dumper/BaseDumper.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Dumper;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Dumper_Base');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BaseDumper extends \Twig_Profiler_Dumper_Base
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Dumper/BlackfireDumper.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Dumper;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Dumper_Blackfire');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BlackfireDumper extends \Twig_Profiler_Dumper_Blackfire
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Dumper/HtmlDumper.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Dumper;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Dumper_Html');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class HtmlDumper extends \Twig_Profiler_Dumper_Html
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Dumper/TextDumper.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Dumper;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Dumper_Text');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TextDumper extends \Twig_Profiler_Dumper_Text
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Node/EnterProfileNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Node_EnterProfile');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EnterProfileNode extends \Twig_Profiler_Node_EnterProfile
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Node/LeaveProfileNode.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\Node;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Node_LeaveProfile');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class LeaveProfileNode extends \Twig_Profiler_Node_LeaveProfile
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler\NodeVisitor;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_NodeVisitor_Profiler');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ProfilerNodeVisitor extends \Twig_Profiler_NodeVisitor_Profiler
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Profiler/Profile.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Profiler;
|
4 |
+
|
5 |
+
class_exists('Twig_Profiler_Profile');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Profile extends \Twig_Profiler_Profile
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\RuntimeLoader;
|
4 |
+
|
5 |
+
class_exists('Twig_ContainerRuntimeLoader');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ContainerRuntimeLoader extends \Twig_ContainerRuntimeLoader
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\RuntimeLoader;
|
4 |
+
|
5 |
+
class_exists('Twig_FactoryRuntimeLoader');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FactoryRuntimeLoader extends \Twig_FactoryRuntimeLoader
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\RuntimeLoader;
|
4 |
+
|
5 |
+
class_exists('Twig_RuntimeLoaderInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface RuntimeLoaderInterface extends \Twig_RuntimeLoaderInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityError extends \Twig_Sandbox_SecurityError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityNotAllowedFilterError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityNotAllowedFilterError extends \Twig_Sandbox_SecurityNotAllowedFilterError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityNotAllowedFunctionError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityNotAllowedFunctionError extends \Twig_Sandbox_SecurityNotAllowedFunctionError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityNotAllowedMethodError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityNotAllowedMethodError extends \Twig_Sandbox_SecurityNotAllowedMethodError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityNotAllowedPropertyError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityNotAllowedPropertyError extends \Twig_Sandbox_SecurityNotAllowedPropertyError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityNotAllowedTagError');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityNotAllowedTagError extends \Twig_Sandbox_SecurityNotAllowedTagError
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityPolicy.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityPolicy');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SecurityPolicy extends \Twig_Sandbox_SecurityPolicy
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Sandbox/SecurityPolicyInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Sandbox;
|
4 |
+
|
5 |
+
class_exists('Twig_Sandbox_SecurityPolicyInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface SecurityPolicyInterface extends \Twig_Sandbox_SecurityPolicyInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Source.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Source');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Source extends \Twig_Source
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Template.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Template');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Template extends \Twig_Template
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TemplateWrapper.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_TemplateWrapper');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TemplateWrapper extends \Twig_TemplateWrapper
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Test/IntegrationTestCase.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Test_IntegrationTestCase');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class IntegrationTestCase extends \Twig_Test_IntegrationTestCase
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Test/NodeTestCase.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Test;
|
4 |
+
|
5 |
+
class_exists('Twig_Test_NodeTestCase');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class NodeTestCase extends \Twig_Test_NodeTestCase
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Token.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_Token');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class Token extends \Twig_Token
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/AbstractTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AbstractTokenParser extends \Twig_TokenParser
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/AutoEscapeTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_AutoEscape');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class AutoEscapeTokenParser extends \Twig_TokenParser_AutoEscape
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/BlockTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Block');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class BlockTokenParser extends \Twig_TokenParser_Block
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/DoTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Do');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DoTokenParser extends \Twig_TokenParser_Do
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/EmbedTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Embed');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class EmbedTokenParser extends \Twig_TokenParser_Embed
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/ExtendsTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Extends');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ExtendsTokenParser extends \Twig_TokenParser_Extends
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/FilterTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Filter');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FilterTokenParser extends \Twig_TokenParser_Filter
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/FlushTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Flush');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FlushTokenParser extends \Twig_TokenParser_Flush
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/ForTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_For');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ForTokenParser extends \Twig_TokenParser_For
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/FromTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_From');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class FromTokenParser extends \Twig_TokenParser_From
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/IfTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_If');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class IfTokenParser extends \Twig_TokenParser_If
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/ImportTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Import');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class ImportTokenParser extends \Twig_TokenParser_Import
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/IncludeTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Include');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class IncludeTokenParser extends \Twig_TokenParser_Include
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/MacroTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Macro');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class MacroTokenParser extends \Twig_TokenParser_Macro
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/SandboxTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Sandbox');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SandboxTokenParser extends \Twig_TokenParser_Sandbox
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/SetTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Set');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SetTokenParser extends \Twig_TokenParser_Set
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/SpacelessTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Spaceless');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class SpacelessTokenParser extends \Twig_TokenParser_Spaceless
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/TokenParserInterface.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParserInterface');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
interface TokenParserInterface extends \Twig_TokenParserInterface
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/UseTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_Use');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class UseTokenParser extends \Twig_TokenParser_Use
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenParser/WithTokenParser.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\TokenParser;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenParser_With');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class WithTokenParser extends \Twig_TokenParser_With
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TokenStream.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_TokenStream');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TokenStream extends \Twig_TokenStream
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TwigFilter.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_SimpleFilter');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TwigFilter extends \Twig_SimpleFilter
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TwigFunction.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_SimpleFunction');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TwigFunction extends \Twig_SimpleFunction
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/TwigTest.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig;
|
4 |
+
|
5 |
+
class_exists('Twig_SimpleTest');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TwigTest extends \Twig_SimpleTest
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Util/DeprecationCollector.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Util;
|
4 |
+
|
5 |
+
class_exists('Twig_Util_DeprecationCollector');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class DeprecationCollector extends \Twig_Util_DeprecationCollector
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/src/Util/TemplateDirIterator.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Twig\Util;
|
4 |
+
|
5 |
+
class_exists('Twig_Util_TemplateDirIterator');
|
6 |
+
|
7 |
+
if (\false) {
|
8 |
+
class TemplateDirIterator extends \Twig_Util_TemplateDirIterator
|
9 |
+
{
|
10 |
+
}
|
11 |
+
}
|
vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php
CHANGED
@@ -311,6 +311,9 @@ class Twig_Tests_EnvironmentTest extends PHPUnit_Framework_TestCase
|
|
311 |
|
312 |
$this->assertSame($ext, $twig->getExtension('Twig_Tests_EnvironmentTest_Extension'));
|
313 |
$this->assertSame($ext, $twig->getExtension('\Twig_Tests_EnvironmentTest_Extension'));
|
|
|
|
|
|
|
314 |
}
|
315 |
|
316 |
public function testAddExtension()
|
@@ -557,6 +560,7 @@ class Twig_Tests_EnvironmentTest_Extension extends Twig_Extension implements Twi
|
|
557 |
);
|
558 |
}
|
559 |
}
|
|
|
560 |
|
561 |
class Twig_Tests_EnvironmentTest_Extension_WithDeprecatedName extends Twig_Extension
|
562 |
{
|
311 |
|
312 |
$this->assertSame($ext, $twig->getExtension('Twig_Tests_EnvironmentTest_Extension'));
|
313 |
$this->assertSame($ext, $twig->getExtension('\Twig_Tests_EnvironmentTest_Extension'));
|
314 |
+
|
315 |
+
$this->assertTrue($twig->hasExtension('Twig\Tests\EnvironmentTest\Extension'));
|
316 |
+
$this->assertSame($ext, $twig->getExtension('Twig\Tests\EnvironmentTest\Extension'));
|
317 |
}
|
318 |
|
319 |
public function testAddExtension()
|
560 |
);
|
561 |
}
|
562 |
}
|
563 |
+
class_alias('Twig_Tests_EnvironmentTest_Extension', 'Twig\Tests\EnvironmentTest\Extension', false);
|
564 |
|
565 |
class Twig_Tests_EnvironmentTest_Extension_WithDeprecatedName extends Twig_Extension
|
566 |
{
|
vendor/twig/twig/test/Twig/Tests/Fixtures/filters/length.test
CHANGED
@@ -6,7 +6,9 @@
|
|
6 |
{{ number|length }}
|
7 |
{{ to_string_able|length }}
|
8 |
{{ countable|length }}
|
|
|
9 |
{{ magic|length }}
|
|
|
10 |
--DATA--
|
11 |
return array(
|
12 |
'array' => array(1, 4),
|
@@ -14,7 +16,9 @@ return array(
|
|
14 |
'number' => 1000,
|
15 |
'to_string_able' => new ToStringStub('foobar'),
|
16 |
'countable' => new CountableStub(42), /* also asserts we do *not* call __toString() */
|
17 |
-
'
|
|
|
|
|
18 |
);
|
19 |
--EXPECT--
|
20 |
2
|
@@ -22,4 +26,6 @@ return array(
|
|
22 |
4
|
23 |
6
|
24 |
42
|
|
|
|
|
25 |
1
|
6 |
{{ number|length }}
|
7 |
{{ to_string_able|length }}
|
8 |
{{ countable|length }}
|
9 |
+
{{ null|length }}
|
10 |
{{ magic|length }}
|
11 |
+
{{ non_countable|length }}
|
12 |
--DATA--
|
13 |
return array(
|
14 |
'array' => array(1, 4),
|
16 |
'number' => 1000,
|
17 |
'to_string_able' => new ToStringStub('foobar'),
|
18 |
'countable' => new CountableStub(42), /* also asserts we do *not* call __toString() */
|
19 |
+
'null' => null,
|
20 |
+
'magic' => new MagicCallStub(), /* used to assert we do *not* call __call */
|
21 |
+
'non_countable' => new \StdClass(),
|
22 |
);
|
23 |
--EXPECT--
|
24 |
2
|
26 |
4
|
27 |
6
|
28 |
42
|
29 |
+
0
|
30 |
+
1
|
31 |
1
|
vendor/twig/twig/test/Twig/Tests/Fixtures/filters/urlencode_deprecated.test
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
--TEST--
|
2 |
-
"url_encode" filter for PHP < 5.4
|
3 |
--CONDITION--
|
4 |
defined('PHP_QUERY_RFC3986')
|
5 |
--TEMPLATE--
|
1 |
--TEST--
|
2 |
+
"url_encode" filter for PHP < 5.4
|
3 |
--CONDITION--
|
4 |
defined('PHP_QUERY_RFC3986')
|
5 |
--TEMPLATE--
|
vendor/twig/twig/test/Twig/Tests/Fixtures/functions/date.test
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
{{ date(date3) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
|
8 |
{{ date(date4) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
|
9 |
{{ date(date5) == date('1964-01-02 03:04') ? 'OK' : 'KO' }}
|
|
|
10 |
--DATA--
|
11 |
date_default_timezone_set('UTC');
|
12 |
return array(
|
@@ -23,3 +24,4 @@ OK
|
|
23 |
OK
|
24 |
OK
|
25 |
OK
|
|
7 |
{{ date(date3) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
|
8 |
{{ date(date4) == date('2010-10-04 13:45') ? 'OK' : 'KO' }}
|
9 |
{{ date(date5) == date('1964-01-02 03:04') ? 'OK' : 'KO' }}
|
10 |
+
{{ date() > date('-1day') ? 'OK' : 'KO' }}
|
11 |
--DATA--
|
12 |
date_default_timezone_set('UTC');
|
13 |
return array(
|
24 |
OK
|
25 |
OK
|
26 |
OK
|
27 |
+
OK
|
vendor/twig/twig/test/Twig/Tests/NativeExtensionTest.php
CHANGED
@@ -16,10 +16,6 @@ class Twig_Tests_NativeExtensionTest extends PHPUnit_Framework_TestCase
|
|
16 |
*/
|
17 |
public function testGetProperties()
|
18 |
{
|
19 |
-
if (defined('HHVM_VERSION')) {
|
20 |
-
$this->markTestSkipped('Skip under HHVM as the behavior is not the same as plain PHP (which is an edge case anyway)');
|
21 |
-
}
|
22 |
-
|
23 |
$twig = new Twig_Environment(new Twig_Loader_Array(array('index' => '{{ d1.date }}{{ d2.date }}')), array(
|
24 |
'debug' => true,
|
25 |
'cache' => false,
|
16 |
*/
|
17 |
public function testGetProperties()
|
18 |
{
|
|
|
|
|
|
|
|
|
19 |
$twig = new Twig_Environment(new Twig_Loader_Array(array('index' => '{{ d1.date }}{{ d2.date }}')), array(
|
20 |
'debug' => true,
|
21 |
'cache' => false,
|
vendor/twig/twig/test/Twig/Tests/Node/Expression/CallTest.php
CHANGED
@@ -63,10 +63,6 @@ class Twig_Tests_Node_Expression_CallTest extends PHPUnit_Framework_TestCase
|
|
63 |
*/
|
64 |
public function testResolveArgumentsWithMissingValueForOptionalArgument()
|
65 |
{
|
66 |
-
if (defined('HHVM_VERSION')) {
|
67 |
-
$this->markTestSkipped('Skip under HHVM as the behavior is not the same as plain PHP (which is an edge case anyway)');
|
68 |
-
}
|
69 |
-
|
70 |
$node = new Twig_Tests_Node_Expression_Call(array(), array('type' => 'function', 'name' => 'substr_compare'));
|
71 |
$node->getArguments('substr_compare', array('abcd', 'bc', 'offset' => 1, 'case_sensitivity' => true));
|
72 |
}
|
63 |
*/
|
64 |
public function testResolveArgumentsWithMissingValueForOptionalArgument()
|
65 |
{
|
|
|
|
|
|
|
|
|
66 |
$node = new Twig_Tests_Node_Expression_Call(array(), array('type' => 'function', 'name' => 'substr_compare'));
|
67 |
$node->getArguments('substr_compare', array('abcd', 'bc', 'offset' => 1, 'case_sensitivity' => true));
|
68 |
}
|