Version Description
- 2017-08-15 =
- Improved: newsletter browser preview window in newsletter editor now fits correctly in any screen height;
- Improved: date shortcode displays WP time and is available to be translated into other laguages. Thanks Rik and Yves!
- Improved: rendered form body can be modified via a hook. Thanks, Vrodo;
- Fixed: subscriber export will not fail on hosts with PHP's set_time_limit() disabled. Thanks, @miguelarroyo;
Download this release
Release Info
Developer | wysija |
Plugin | MailPoet Newsletters (New) |
Version | 3.0.0-rc.1.0.3 |
Comparing to | |
See all releases |
Code changes from version 3.0.0-rc.1.0.2 to 3.0.0-rc.1.0.3
- assets/css/{admin.71690c62.css → admin.bca6d075.css} +2 -1
- assets/css/manifest.json +2 -2
- assets/css/{newsletter_editor.6d7c53db.css → newsletter_editor.6ddd17f5.css} +0 -3
- assets/js/{admin_vendor.17370ba7.js → admin_vendor.0d291531.js} +0 -0
- assets/js/{mailpoet.02188613.js → mailpoet.61d759cb.js} +642 -641
- assets/js/manifest.json +4 -4
- assets/js/{newsletter_editor.8195eca1.js → newsletter_editor.29626a1d.js} +650 -644
- assets/js/{vendor.6d57818a.js → vendor.c136ccd7.js} +1 -1
- lang/mailpoet-de_DE.mo +0 -0
- lang/mailpoet-en_GB.mo +0 -0
- lang/mailpoet-es_ES.mo +0 -0
- lang/mailpoet-fa_IR.mo +0 -0
- lang/mailpoet-fr_CA.mo +0 -0
- lang/mailpoet-fr_FR.mo +0 -0
- lang/mailpoet-it_IT.mo +0 -0
- lang/mailpoet-ja.mo +0 -0
- lang/mailpoet-nl_NL.mo +0 -0
- lang/mailpoet-pl_PL.mo +0 -0
- lang/mailpoet-pt_BR.mo +0 -0
- lang/mailpoet-pt_PT.mo +0 -0
- lang/mailpoet-ru_RU.mo +0 -0
- lang/mailpoet-tr_TR.mo +0 -0
- lang/mailpoet.pot +39 -39
- lib/Config/MP2Migrator.php +17 -18
- lib/Form/Widget.php +8 -4
- lib/Newsletter/Shortcodes/Categories/Date.php +11 -11
- lib/Newsletter/Shortcodes/ShortcodesHelper.php +2 -1
- lib/Subscribers/ImportExport/Export/Export.php +7 -4
- mailpoet.php +2 -2
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/composer/ClassLoader.php +7 -3
- vendor/composer/autoload_classmap.php +172 -1
- vendor/composer/autoload_files.php +1 -1
- vendor/composer/autoload_psr4.php +2 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +189 -10
- vendor/composer/installed.json +97 -48
- vendor/j4mie/idiorm/composer.json +2 -2
- vendor/swiftmailer/swiftmailer/.travis.yml +6 -2
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/DependencyContainer.php +9 -9
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/FailoverTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Image.php +3 -7
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/LoadBalancedTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/MailTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php +1 -3
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Attachment.php +4 -4
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/HeaderSet.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/MimePart.php +4 -4
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php +14 -11
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/MimePart.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/NullTransport.php +1 -4
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php +5 -5
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Preferences.php +8 -11
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/SendmailTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/BodySigner.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/DKIMSigner.php +8 -8
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/DomainKeySigner.php +15 -16
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/HeaderSigner.php +5 -5
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/OpenDKIMSigner.php +3 -3
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/SMimeSigner.php +6 -6
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/SpoolTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php +2 -4
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php +7 -7
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php +1 -1
- vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SpoolTransport.php +1 -1
- vendor/symfony/polyfill-mbstring/Mbstring.php +18 -4
- vendor/symfony/polyfill-mbstring/composer.json +1 -1
- vendor/symfony/{polyfill-xml/Xml.php → polyfill-php72/Php72.php} +12 -2
- vendor/symfony/polyfill-php72/bootstrap.php +23 -0
- vendor/symfony/{polyfill-xml → polyfill-php72}/composer.json +4 -7
- vendor/symfony/{polyfill-xml → polyfill-php72}/index.php +0 -0
- vendor/symfony/polyfill-xml/bootstrap.php +0 -17
- vendor/symfony/translation/DataCollectorTranslator.php +1 -1
- vendor/symfony/translation/Dumper/IcuResFileDumper.php +6 -6
- vendor/symfony/translation/Loader/FileLoader.php +1 -1
- vendor/symfony/translation/LoggingTranslator.php +1 -1
- vendor/symfony/translation/Translator.php +1 -1
- vendor/symfony/translation/phpunit.xml.dist +2 -0
- vendor/twig/twig/.php_cs.dist +1 -0
- vendor/twig/twig/.travis.yml +12 -8
- vendor/twig/twig/composer.json +6 -3
- 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 +9 -2
- 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 +4 -1
- 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 +63 -29
- 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 +3 -1
- 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 +3 -1
- 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 +10 -5
- vendor/twig/twig/lib/Twig/TemplateWrapper.php +2 -0
- vendor/twig/twig/lib/Twig/Test/IntegrationTestCase.php +23 -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/phpunit.xml.dist +1 -1
- 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/Cache/index.php +0 -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/Error/index.php +0 -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/Extension/index.php +0 -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/Loader/index.php +0 -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/Binary/index.php +0 -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/Filter/index.php +0 -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/Test/index.php +0 -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/Expression/Unary/index.php +0 -0
- vendor/twig/twig/src/Node/Expression/index.php +0 -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/Node/index.php +0 -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/NodeVisitor/index.php +0 -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/Dumper/index.php +0 -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/Node/index.php +0 -0
- vendor/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php +11 -0
- vendor/twig/twig/src/Profiler/NodeVisitor/index.php +0 -0
- vendor/twig/twig/src/Profiler/Profile.php +11 -0
- vendor/twig/twig/src/Profiler/index.php +0 -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/RuntimeLoader/index.php +0 -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/Sandbox/index.php +0 -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/Test/index.php +0 -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/TokenParser/index.php +0 -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/src/Util/index.php +0 -0
- vendor/twig/twig/src/index.php +0 -0
- views/form/widget.html +1 -0
- views/update.html +2 -2
assets/css/{admin.71690c62.css → admin.bca6d075.css}
RENAMED
@@ -1343,7 +1343,6 @@ body.mailpoet_modal_opened {
|
|
1343 |
position: absolute;
|
1344 |
z-index: 25;
|
1345 |
top: 48px;
|
1346 |
-
padding-bottom: 48px;
|
1347 |
margin: 0;
|
1348 |
}
|
1349 |
.mailpoet_popup_wrapper {
|
@@ -1352,6 +1351,7 @@ body.mailpoet_modal_opened {
|
|
1352 |
position: relative;
|
1353 |
width: 100%;
|
1354 |
z-index: 0;
|
|
|
1355 |
}
|
1356 |
.mailpoet_overlay_hidden .mailpoet_popup_wrapper {
|
1357 |
border: 1px solid #333;
|
@@ -1373,6 +1373,7 @@ body.mailpoet_modal_opened {
|
|
1373 |
}
|
1374 |
.mailpoet_popup_body {
|
1375 |
padding: 10px 10px 10px 10px;
|
|
|
1376 |
}
|
1377 |
#mailpoet_modal_overlay.mailpoet_panel_overlay {
|
1378 |
top: 32px;
|
1343 |
position: absolute;
|
1344 |
z-index: 25;
|
1345 |
top: 48px;
|
|
|
1346 |
margin: 0;
|
1347 |
}
|
1348 |
.mailpoet_popup_wrapper {
|
1351 |
position: relative;
|
1352 |
width: 100%;
|
1353 |
z-index: 0;
|
1354 |
+
height: 96%;
|
1355 |
}
|
1356 |
.mailpoet_overlay_hidden .mailpoet_popup_wrapper {
|
1357 |
border: 1px solid #333;
|
1373 |
}
|
1374 |
.mailpoet_popup_body {
|
1375 |
padding: 10px 10px 10px 10px;
|
1376 |
+
height: 92%;
|
1377 |
}
|
1378 |
#mailpoet_modal_overlay.mailpoet_panel_overlay {
|
1379 |
top: 32px;
|
assets/css/manifest.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"admin.css": "admin.
|
3 |
"importExport.css": "importExport.b3745466.css",
|
4 |
-
"newsletter_editor.css": "newsletter_editor.
|
5 |
"public.css": "public.cae357df.css",
|
6 |
"rtl.css": "rtl.d41d8cd9.css"
|
7 |
}
|
1 |
{
|
2 |
+
"admin.css": "admin.bca6d075.css",
|
3 |
"importExport.css": "importExport.b3745466.css",
|
4 |
+
"newsletter_editor.css": "newsletter_editor.6ddd17f5.css",
|
5 |
"public.css": "public.cae357df.css",
|
6 |
"rtl.css": "rtl.d41d8cd9.css"
|
7 |
}
|
assets/css/{newsletter_editor.6d7c53db.css → newsletter_editor.6ddd17f5.css}
RENAMED
@@ -2469,9 +2469,6 @@ body {
|
|
2469 |
background-color: #f8f8f8;
|
2470 |
border: 1px solid #ddd;
|
2471 |
}
|
2472 |
-
#mailpoet_modal_close {
|
2473 |
-
display: none;
|
2474 |
-
}
|
2475 |
.wrap > .mailpoet_notice,
|
2476 |
.notice,
|
2477 |
.update-nag {
|
2469 |
background-color: #f8f8f8;
|
2470 |
border: 1px solid #ddd;
|
2471 |
}
|
|
|
|
|
|
|
2472 |
.wrap > .mailpoet_notice,
|
2473 |
.notice,
|
2474 |
.update-nag {
|
assets/js/{admin_vendor.17370ba7.js → admin_vendor.0d291531.js}
RENAMED
File without changes
|
assets/js/{mailpoet.02188613.js → mailpoet.61d759cb.js}
RENAMED
@@ -18067,647 +18067,648 @@ webpackJsonp([3],[
|
|
18067 |
/* 487 */
|
18068 |
/***/ function(module, exports, __webpack_require__) {
|
18069 |
|
18070 |
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(MailPoet, jQuery) {
|
18071 |
-
'use strict';
|
18072 |
-
/***************************************************************************
|
18073 |
-
MailPoet Modal:
|
18074 |
-
|
18075 |
-
version: 0.9
|
18076 |
-
author: Jonathan Labreuille
|
18077 |
-
company: Wysija
|
18078 |
-
dependencies: jQuery
|
18079 |
-
|
18080 |
-
Usage:
|
18081 |
-
// popup mode
|
18082 |
-
MailPoet.Modal.popup(options);
|
18083 |
-
|
18084 |
-
// panel mode
|
18085 |
-
MailPoet.Modal.panel(options);
|
18086 |
-
|
18087 |
-
// loading mode
|
18088 |
-
MailPoet.Modal.loading(bool);
|
18089 |
-
***************************************************************************/
|
18090 |
-
|
18091 |
-
MailPoet.Modal = {
|
18092 |
-
version: 0.9,
|
18093 |
-
|
18094 |
-
// flags
|
18095 |
-
initialized: false,
|
18096 |
-
opened: false,
|
18097 |
-
locked: false,
|
18098 |
-
|
18099 |
-
// previously focused element
|
18100 |
-
prevFocus: null,
|
18101 |
-
|
18102 |
-
// sub panels
|
18103 |
-
subpanels: [],
|
18104 |
-
|
18105 |
-
// default values
|
18106 |
-
defaults: {
|
18107 |
-
// title
|
18108 |
-
title: null,
|
18109 |
-
|
18110 |
-
// type
|
18111 |
-
type: null,
|
18112 |
-
|
18113 |
-
// positionning
|
18114 |
-
position: 'right',
|
18115 |
-
|
18116 |
-
// data sources
|
18117 |
-
data: {},
|
18118 |
-
url: null,
|
18119 |
-
method: 'get',
|
18120 |
-
params: {},
|
18121 |
-
|
18122 |
-
// template
|
18123 |
-
template: null,
|
18124 |
-
body_template: null,
|
18125 |
-
|
18126 |
-
// dimensions
|
18127 |
-
width: 'auto',
|
18128 |
-
height: 'auto',
|
18129 |
-
|
18130 |
-
// display overlay
|
18131 |
-
overlay: false,
|
18132 |
-
|
18133 |
-
// focus upon displaying
|
18134 |
-
focus: true,
|
18135 |
-
|
18136 |
-
// highlighted elements
|
18137 |
-
highlight: null,
|
18138 |
-
|
18139 |
-
// callbacks
|
18140 |
-
onInit: null,
|
18141 |
-
onSuccess: null,
|
18142 |
-
onCancel: null
|
18143 |
-
},
|
18144 |
-
renderer: 'html',
|
18145 |
-
options: {},
|
18146 |
-
templates: {
|
18147 |
-
overlay: '<div id="mailpoet_modal_overlay" style="display:none;"></div>',
|
18148 |
-
popup: '<div id="mailpoet_popup" tabindex="-1">'+
|
18149 |
-
'<div class="mailpoet_popup_wrapper">'+
|
18150 |
-
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
18151 |
-
'<div id="mailpoet_popup_title"><h2></h2></div>'+
|
18152 |
-
'<div class="mailpoet_popup_body clearfix"></div>'+
|
18153 |
-
'</div>'+
|
18154 |
-
'</div>',
|
18155 |
-
loading: '<div id="mailpoet_loading" style="display:none;">'+
|
18156 |
-
'<div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading"></div>'+
|
18157 |
-
'<div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading"></div>'+
|
18158 |
-
'<div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading"></div>'+
|
18159 |
-
'</div>',
|
18160 |
-
panel: '<div id="mailpoet_panel">'+
|
18161 |
-
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
18162 |
-
'<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
18163 |
-
'<div class="mailpoet_panel_body clearfix"></div>'+
|
18164 |
-
'</div>'+
|
18165 |
-
'</div>',
|
18166 |
-
subpanel: '<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
18167 |
-
'<div class="mailpoet_panel_body clearfix"></div>'+
|
18168 |
-
'</div>'
|
18169 |
-
},
|
18170 |
-
getContentContainer: function() {
|
18171 |
-
return jQuery('.mailpoet_'+this.options.type+'_body');
|
18172 |
-
},
|
18173 |
-
setRenderer: function(renderer) {
|
18174 |
-
this.renderer = renderer;
|
18175 |
-
return this;
|
18176 |
-
},
|
18177 |
-
compileTemplate: function(template) {
|
18178 |
-
if(this.renderer === 'html') {
|
18179 |
-
return function() { return template; };
|
18180 |
-
} else {
|
18181 |
-
return Handlebars.compile(template);
|
18182 |
-
}
|
18183 |
-
return false;
|
18184 |
-
},
|
18185 |
-
init: function(options) {
|
18186 |
-
if(this.initialized === true) {
|
18187 |
-
this.close();
|
18188 |
-
}
|
18189 |
-
// merge options
|
18190 |
-
this.options = jQuery.extend({}, this.defaults, options);
|
18191 |
-
|
18192 |
-
// set renderer
|
18193 |
-
this.setRenderer(this.options.renderer);
|
18194 |
-
|
18195 |
-
// init overlay
|
18196 |
-
this.initOverlay();
|
18197 |
-
|
18198 |
-
// toggle overlay
|
18199 |
-
this.toggleOverlay(this.options.overlay);
|
18200 |
-
|
18201 |
-
if(this.options.type !== null) {
|
18202 |
-
// insert modal depending on its type
|
18203 |
-
if(this.options.type === 'popup') {
|
18204 |
-
var modal = this.compileTemplate(
|
18205 |
-
this.templates[this.options.type]
|
18206 |
-
);
|
18207 |
-
// create modal
|
18208 |
-
jQuery('#mailpoet_modal_overlay')
|
18209 |
-
.append(modal(this.options));
|
18210 |
-
// set title
|
18211 |
-
jQuery('#mailpoet_popup_title h2')
|
18212 |
-
.html(this.options.title);
|
18213 |
-
} else if(this.options.type === 'panel') {
|
18214 |
-
// create panel
|
18215 |
-
jQuery('#mailpoet_modal_overlay')
|
18216 |
-
.after(this.templates[this.options.type]);
|
18217 |
-
}
|
18218 |
-
|
18219 |
-
// add proper overlay class
|
18220 |
-
jQuery('#mailpoet_modal_overlay')
|
18221 |
-
.removeClass('mailpoet_popup_overlay mailpoet_panel_overlay')
|
18222 |
-
.addClass('mailpoet_'+this.options.type+'_overlay');
|
18223 |
-
}
|
18224 |
-
|
18225 |
-
// set "success" callback if specified
|
18226 |
-
if(options.onSuccess !== undefined) {
|
18227 |
-
this.options.onSuccess = options.onSuccess;
|
18228 |
-
}
|
18229 |
-
|
18230 |
-
// set "cancel" callback if specified
|
18231 |
-
if(options.onCancel !== undefined) {
|
18232 |
-
this.options.onCancel = options.onCancel;
|
18233 |
-
}
|
18234 |
-
|
18235 |
-
// compile template
|
18236 |
-
this.options.body_template = this.compileTemplate(
|
18237 |
-
this.options.template
|
18238 |
-
);
|
18239 |
-
|
18240 |
-
// setup events
|
18241 |
-
this.setupEvents();
|
18242 |
-
|
18243 |
-
// set popup as initialized
|
18244 |
-
this.initialized = true;
|
18245 |
-
|
18246 |
-
return this;
|
18247 |
-
},
|
18248 |
-
initOverlay: function(toggle) {
|
18249 |
-
if(jQuery('#mailpoet_modal_overlay').length === 0) {
|
18250 |
-
// insert overlay into the DOM
|
18251 |
-
jQuery('body').append(this.templates.overlay);
|
18252 |
-
// insert loading indicator into overlay
|
18253 |
-
jQuery('#mailpoet_modal_overlay').append(this.templates.loading);
|
18254 |
-
}
|
18255 |
-
return this;
|
18256 |
-
},
|
18257 |
-
toggleOverlay: function(toggle) {
|
18258 |
-
if(toggle === true) {
|
18259 |
-
jQuery('#mailpoet_modal_overlay')
|
18260 |
-
.removeClass('mailpoet_overlay_hidden');
|
18261 |
-
} else {
|
18262 |
-
jQuery('#mailpoet_modal_overlay')
|
18263 |
-
.addClass('mailpoet_overlay_hidden');
|
18264 |
-
}
|
18265 |
-
|
18266 |
-
return this;
|
18267 |
-
},
|
18268 |
-
setupEvents: function() {
|
18269 |
-
// close popup when user clicks on close button
|
18270 |
-
jQuery('#mailpoet_modal_close').on('click', this.cancel.bind(this));
|
18271 |
-
|
18272 |
-
// close popup when user clicks on overlay
|
18273 |
-
jQuery('#mailpoet_modal_overlay').on('click', function(e) {
|
18274 |
-
// we need to make sure that we are actually clicking on the overlay
|
18275 |
-
// because when clicking on the popup content, it will trigger
|
18276 |
-
// the click event on the overlay
|
18277 |
-
if(e.target.id === 'mailpoet_modal_overlay') { this.cancel(); }
|
18278 |
-
}.bind(this));
|
18279 |
-
|
18280 |
-
// close popup when user presses ESC key
|
18281 |
-
jQuery(document).on('keyup.mailpoet_modal', function(e) {
|
18282 |
-
if(this.opened === false) { return false; }
|
18283 |
-
if(e.keyCode === 27) { this.cancel(); }
|
18284 |
-
}.bind(this));
|
18285 |
-
|
18286 |
-
// make sure the popup is repositioned when the window is resized
|
18287 |
-
jQuery(window).on('resize.mailpoet_modal', function() {
|
18288 |
-
this.setPosition();
|
18289 |
-
}.bind(this));
|
18290 |
-
|
18291 |
-
return this;
|
18292 |
-
},
|
18293 |
-
removeEvents: function() {
|
18294 |
-
jQuery(document).unbind('keyup.mailpoet_modal');
|
18295 |
-
jQuery(window).unbind('resize.mailpoet_modal');
|
18296 |
-
jQuery('#mailpoet_modal_close').off('click');
|
18297 |
-
if(this.options.overlay === true) {
|
18298 |
-
jQuery('#mailpoet_modal_overlay').off('click');
|
18299 |
-
}
|
18300 |
-
|
18301 |
-
return this;
|
18302 |
-
},
|
18303 |
-
lock: function() {
|
18304 |
-
this.locked = true;
|
18305 |
-
|
18306 |
-
return this;
|
18307 |
-
},
|
18308 |
-
unlock: function() {
|
18309 |
-
this.locked = false;
|
18310 |
-
|
18311 |
-
return this;
|
18312 |
-
},
|
18313 |
-
isLocked: function() {
|
18314 |
-
return this.locked;
|
18315 |
-
},
|
18316 |
-
loadTemplate: function() {
|
18317 |
-
if(this.subpanels.length > 0) {
|
18318 |
-
// hide panel
|
18319 |
-
jQuery('.mailpoet_'+this.options.type+'_wrapper').hide();
|
18320 |
-
|
18321 |
-
// add sub panel wrapper
|
18322 |
-
jQuery('#mailpoet_'+this.options.type)
|
18323 |
-
.append(this.templates['subpanel']);
|
18324 |
-
|
18325 |
-
// add sub panel content
|
18326 |
-
jQuery('.mailpoet_'+this.options.type+'_body').last()
|
18327 |
-
.html(this.subpanels[(this.subpanels.length - 1)].element);
|
18328 |
-
|
18329 |
-
// focus on sub panel
|
18330 |
-
if(this.options.focus) {
|
18331 |
-
this.focus();
|
18332 |
-
}
|
18333 |
-
} else if (this.options.element) {
|
18334 |
-
jQuery('.mailpoet_'+this.options.type+'_body').empty();
|
18335 |
-
jQuery('.mailpoet_'+this.options.type+'_body')
|
18336 |
-
.append(this.options.element);
|
18337 |
-
} else {
|
18338 |
-
jQuery('.mailpoet_'+this.options.type+'_body')
|
18339 |
-
.html(
|
18340 |
-
this.options.body_template(
|
18341 |
-
this.options.data
|
18342 |
-
)
|
18343 |
-
);
|
18344 |
-
}
|
18345 |
-
|
18346 |
-
return this;
|
18347 |
-
},
|
18348 |
-
loadUrl: function() {
|
18349 |
-
if(this.options.method === 'get') {
|
18350 |
-
// make ajax request
|
18351 |
-
jQuery.getJSON(this.options.url,
|
18352 |
-
function(data) {
|
18353 |
-
this.options.data = jQuery.extend({}, this.options.data, data);
|
18354 |
-
// load template using fetched data
|
18355 |
-
this.loadTemplate();
|
18356 |
-
// show modal window
|
18357 |
-
this.showModal();
|
18358 |
-
}.bind(this)
|
18359 |
-
);
|
18360 |
-
} else if(this.options.method === 'post') {
|
18361 |
-
// make ajax request
|
18362 |
-
jQuery.post(this.options.url, JSON.stringify(this.options.params),
|
18363 |
-
function(data) {
|
18364 |
-
this.options.data = jQuery.extend({}, this.options.data, data);
|
18365 |
-
// load template using fetched data
|
18366 |
-
this.loadTemplate();
|
18367 |
-
// show modal window
|
18368 |
-
this.showModal();
|
18369 |
-
}.bind(this),
|
18370 |
-
'json'
|
18371 |
-
);
|
18372 |
-
}
|
18373 |
-
|
18374 |
-
return this;
|
18375 |
-
},
|
18376 |
-
setDimensions: function() {
|
18377 |
-
switch(this.options.type) {
|
18378 |
-
case 'popup':
|
18379 |
-
|
18380 |
-
|
18381 |
-
|
18382 |
-
|
18383 |
-
|
18384 |
-
|
18385 |
-
|
18386 |
-
|
18387 |
-
|
18388 |
-
|
18389 |
-
|
18390 |
-
|
18391 |
-
|
18392 |
-
|
18393 |
-
|
18394 |
-
|
18395 |
-
|
18396 |
-
|
18397 |
-
|
18398 |
-
|
18399 |
-
|
18400 |
-
|
18401 |
-
|
18402 |
-
|
18403 |
-
|
18404 |
-
|
18405 |
-
|
18406 |
-
|
18407 |
-
|
18408 |
-
|
18409 |
-
|
18410 |
-
|
18411 |
-
|
18412 |
-
|
18413 |
-
|
18414 |
-
|
18415 |
-
|
18416 |
-
|
18417 |
-
|
18418 |
-
|
18419 |
-
|
18420 |
-
|
18421 |
-
|
18422 |
-
|
18423 |
-
|
18424 |
-
|
18425 |
-
|
18426 |
-
|
18427 |
-
|
18428 |
-
|
18429 |
-
|
18430 |
-
|
18431 |
-
|
18432 |
-
|
18433 |
-
|
18434 |
-
|
18435 |
-
|
18436 |
-
|
18437 |
-
|
18438 |
-
|
18439 |
-
|
18440 |
-
|
18441 |
-
|
18442 |
-
|
18443 |
-
|
18444 |
-
|
18445 |
-
|
18446 |
-
|
18447 |
-
|
18448 |
-
|
18449 |
-
|
18450 |
-
|
18451 |
-
|
18452 |
-
|
18453 |
-
|
18454 |
-
|
18455 |
-
|
18456 |
-
|
18457 |
-
|
18458 |
-
|
18459 |
-
|
18460 |
-
|
18461 |
-
|
18462 |
-
|
18463 |
-
|
18464 |
-
|
18465 |
-
|
18466 |
-
|
18467 |
-
|
18468 |
-
|
18469 |
-
|
18470 |
-
|
18471 |
-
|
18472 |
-
|
18473 |
-
|
18474 |
-
|
18475 |
-
|
18476 |
-
|
18477 |
-
|
18478 |
-
|
18479 |
-
|
18480 |
-
|
18481 |
-
|
18482 |
-
|
18483 |
-
|
18484 |
-
|
18485 |
-
|
18486 |
-
|
18487 |
-
|
18488 |
-
|
18489 |
-
|
18490 |
-
|
18491 |
-
|
18492 |
-
|
18493 |
-
|
18494 |
-
|
18495 |
-
|
18496 |
-
|
18497 |
-
|
18498 |
-
|
18499 |
-
|
18500 |
-
|
18501 |
-
|
18502 |
-
|
18503 |
-
|
18504 |
-
|
18505 |
-
|
18506 |
-
|
18507 |
-
|
18508 |
-
|
18509 |
-
|
18510 |
-
|
18511 |
-
|
18512 |
-
|
18513 |
-
|
18514 |
-
|
18515 |
-
|
18516 |
-
|
18517 |
-
|
18518 |
-
|
18519 |
-
|
18520 |
-
|
18521 |
-
|
18522 |
-
|
18523 |
-
|
18524 |
-
|
18525 |
-
|
18526 |
-
|
18527 |
-
|
18528 |
-
|
18529 |
-
|
18530 |
-
|
18531 |
-
|
18532 |
-
|
18533 |
-
|
18534 |
-
|
18535 |
-
|
18536 |
-
|
18537 |
-
|
18538 |
-
|
18539 |
-
|
18540 |
-
|
18541 |
-
|
18542 |
-
|
18543 |
-
|
18544 |
-
|
18545 |
-
|
18546 |
-
|
18547 |
-
|
18548 |
-
|
18549 |
-
|
18550 |
-
|
18551 |
-
|
18552 |
-
|
18553 |
-
|
18554 |
-
|
18555 |
-
|
18556 |
-
options.
|
18557 |
-
|
18558 |
-
|
18559 |
-
|
18560 |
-
|
18561 |
-
|
18562 |
-
|
18563 |
-
|
18564 |
-
|
18565 |
-
|
18566 |
-
|
18567 |
-
|
18568 |
-
|
18569 |
-
|
18570 |
-
|
18571 |
-
this.
|
18572 |
-
|
18573 |
-
|
18574 |
-
|
18575 |
-
|
18576 |
-
|
18577 |
-
|
18578 |
-
|
18579 |
-
|
18580 |
-
|
18581 |
-
|
18582 |
-
|
18583 |
-
|
18584 |
-
|
18585 |
-
|
18586 |
-
|
18587 |
-
|
18588 |
-
|
18589 |
-
|
18590 |
-
|
18591 |
-
|
18592 |
-
|
18593 |
-
|
18594 |
-
|
18595 |
-
|
18596 |
-
|
18597 |
-
|
18598 |
-
|
18599 |
-
|
18600 |
-
|
18601 |
-
|
18602 |
-
|
18603 |
-
|
18604 |
-
|
18605 |
-
|
18606 |
-
|
18607 |
-
|
18608 |
-
|
18609 |
-
|
18610 |
-
if
|
18611 |
-
|
18612 |
-
|
18613 |
-
|
18614 |
-
|
18615 |
-
|
18616 |
-
|
18617 |
-
|
18618 |
-
|
18619 |
-
|
18620 |
-
|
18621 |
-
|
18622 |
-
|
18623 |
-
|
18624 |
-
|
18625 |
-
|
18626 |
-
|
18627 |
-
|
18628 |
-
|
18629 |
-
|
18630 |
-
|
18631 |
-
|
18632 |
-
|
18633 |
-
|
18634 |
-
|
18635 |
-
|
18636 |
-
|
18637 |
-
|
18638 |
-
|
18639 |
-
|
18640 |
-
|
18641 |
-
|
18642 |
-
|
18643 |
-
|
18644 |
-
|
18645 |
-
|
18646 |
-
|
18647 |
-
|
18648 |
-
|
18649 |
-
|
18650 |
-
|
18651 |
-
|
18652 |
-
|
18653 |
-
|
18654 |
-
|
18655 |
-
|
18656 |
-
|
18657 |
-
|
18658 |
-
|
18659 |
-
|
18660 |
-
|
18661 |
-
|
18662 |
-
|
18663 |
-
|
18664 |
-
|
18665 |
-
|
18666 |
-
|
18667 |
-
|
18668 |
-
|
18669 |
-
|
18670 |
-
|
18671 |
-
|
18672 |
-
|
18673 |
-
|
18674 |
-
|
18675 |
-
|
18676 |
-
|
18677 |
-
|
18678 |
-
|
18679 |
-
|
18680 |
-
|
18681 |
-
|
18682 |
-
|
18683 |
-
|
18684 |
-
|
18685 |
-
|
18686 |
-
|
18687 |
-
|
18688 |
-
|
18689 |
-
|
18690 |
-
|
18691 |
-
|
18692 |
-
|
18693 |
-
|
18694 |
-
|
18695 |
-
|
18696 |
-
|
18697 |
-
|
18698 |
-
|
18699 |
-
|
18700 |
-
|
18701 |
-
|
18702 |
-
|
18703 |
-
|
18704 |
-
|
18705 |
-
|
18706 |
-
|
18707 |
-
|
18708 |
-
|
18709 |
-
|
18710 |
-
|
|
|
18711 |
|
18712 |
|
18713 |
/***/ },
|
18067 |
/* 487 */
|
18068 |
/***/ function(module, exports, __webpack_require__) {
|
18069 |
|
18070 |
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(MailPoet, jQuery) {
|
18071 |
+
'use strict';
|
18072 |
+
/***************************************************************************
|
18073 |
+
MailPoet Modal:
|
18074 |
+
|
18075 |
+
version: 0.9
|
18076 |
+
author: Jonathan Labreuille
|
18077 |
+
company: Wysija
|
18078 |
+
dependencies: jQuery
|
18079 |
+
|
18080 |
+
Usage:
|
18081 |
+
// popup mode
|
18082 |
+
MailPoet.Modal.popup(options);
|
18083 |
+
|
18084 |
+
// panel mode
|
18085 |
+
MailPoet.Modal.panel(options);
|
18086 |
+
|
18087 |
+
// loading mode
|
18088 |
+
MailPoet.Modal.loading(bool);
|
18089 |
+
***************************************************************************/
|
18090 |
+
|
18091 |
+
MailPoet.Modal = {
|
18092 |
+
version: 0.9,
|
18093 |
+
|
18094 |
+
// flags
|
18095 |
+
initialized: false,
|
18096 |
+
opened: false,
|
18097 |
+
locked: false,
|
18098 |
+
|
18099 |
+
// previously focused element
|
18100 |
+
prevFocus: null,
|
18101 |
+
|
18102 |
+
// sub panels
|
18103 |
+
subpanels: [],
|
18104 |
+
|
18105 |
+
// default values
|
18106 |
+
defaults: {
|
18107 |
+
// title
|
18108 |
+
title: null,
|
18109 |
+
|
18110 |
+
// type
|
18111 |
+
type: null,
|
18112 |
+
|
18113 |
+
// positionning
|
18114 |
+
position: 'right',
|
18115 |
+
|
18116 |
+
// data sources
|
18117 |
+
data: {},
|
18118 |
+
url: null,
|
18119 |
+
method: 'get',
|
18120 |
+
params: {},
|
18121 |
+
|
18122 |
+
// template
|
18123 |
+
template: null,
|
18124 |
+
body_template: null,
|
18125 |
+
|
18126 |
+
// dimensions
|
18127 |
+
width: 'auto',
|
18128 |
+
height: 'auto',
|
18129 |
+
|
18130 |
+
// display overlay
|
18131 |
+
overlay: false,
|
18132 |
+
|
18133 |
+
// focus upon displaying
|
18134 |
+
focus: true,
|
18135 |
+
|
18136 |
+
// highlighted elements
|
18137 |
+
highlight: null,
|
18138 |
+
|
18139 |
+
// callbacks
|
18140 |
+
onInit: null,
|
18141 |
+
onSuccess: null,
|
18142 |
+
onCancel: null
|
18143 |
+
},
|
18144 |
+
renderer: 'html',
|
18145 |
+
options: {},
|
18146 |
+
templates: {
|
18147 |
+
overlay: '<div id="mailpoet_modal_overlay" style="display:none;"></div>',
|
18148 |
+
popup: '<div id="mailpoet_popup" tabindex="-1">'+
|
18149 |
+
'<div class="mailpoet_popup_wrapper">'+
|
18150 |
+
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
18151 |
+
'<div id="mailpoet_popup_title"><h2></h2></div>'+
|
18152 |
+
'<div class="mailpoet_popup_body clearfix"></div>'+
|
18153 |
+
'</div>'+
|
18154 |
+
'</div>',
|
18155 |
+
loading: '<div id="mailpoet_loading" style="display:none;">'+
|
18156 |
+
'<div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading"></div>'+
|
18157 |
+
'<div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading"></div>'+
|
18158 |
+
'<div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading"></div>'+
|
18159 |
+
'</div>',
|
18160 |
+
panel: '<div id="mailpoet_panel">'+
|
18161 |
+
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
18162 |
+
'<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
18163 |
+
'<div class="mailpoet_panel_body clearfix"></div>'+
|
18164 |
+
'</div>'+
|
18165 |
+
'</div>',
|
18166 |
+
subpanel: '<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
18167 |
+
'<div class="mailpoet_panel_body clearfix"></div>'+
|
18168 |
+
'</div>'
|
18169 |
+
},
|
18170 |
+
getContentContainer: function() {
|
18171 |
+
return jQuery('.mailpoet_'+this.options.type+'_body');
|
18172 |
+
},
|
18173 |
+
setRenderer: function(renderer) {
|
18174 |
+
this.renderer = renderer;
|
18175 |
+
return this;
|
18176 |
+
},
|
18177 |
+
compileTemplate: function(template) {
|
18178 |
+
if(this.renderer === 'html') {
|
18179 |
+
return function() { return template; };
|
18180 |
+
} else {
|
18181 |
+
return Handlebars.compile(template);
|
18182 |
+
}
|
18183 |
+
return false;
|
18184 |
+
},
|
18185 |
+
init: function(options) {
|
18186 |
+
if(this.initialized === true) {
|
18187 |
+
this.close();
|
18188 |
+
}
|
18189 |
+
// merge options
|
18190 |
+
this.options = jQuery.extend({}, this.defaults, options);
|
18191 |
+
|
18192 |
+
// set renderer
|
18193 |
+
this.setRenderer(this.options.renderer);
|
18194 |
+
|
18195 |
+
// init overlay
|
18196 |
+
this.initOverlay();
|
18197 |
+
|
18198 |
+
// toggle overlay
|
18199 |
+
this.toggleOverlay(this.options.overlay);
|
18200 |
+
|
18201 |
+
if(this.options.type !== null) {
|
18202 |
+
// insert modal depending on its type
|
18203 |
+
if(this.options.type === 'popup') {
|
18204 |
+
var modal = this.compileTemplate(
|
18205 |
+
this.templates[this.options.type]
|
18206 |
+
);
|
18207 |
+
// create modal
|
18208 |
+
jQuery('#mailpoet_modal_overlay')
|
18209 |
+
.append(modal(this.options));
|
18210 |
+
// set title
|
18211 |
+
jQuery('#mailpoet_popup_title h2')
|
18212 |
+
.html(this.options.title);
|
18213 |
+
} else if(this.options.type === 'panel') {
|
18214 |
+
// create panel
|
18215 |
+
jQuery('#mailpoet_modal_overlay')
|
18216 |
+
.after(this.templates[this.options.type]);
|
18217 |
+
}
|
18218 |
+
|
18219 |
+
// add proper overlay class
|
18220 |
+
jQuery('#mailpoet_modal_overlay')
|
18221 |
+
.removeClass('mailpoet_popup_overlay mailpoet_panel_overlay')
|
18222 |
+
.addClass('mailpoet_'+this.options.type+'_overlay');
|
18223 |
+
}
|
18224 |
+
|
18225 |
+
// set "success" callback if specified
|
18226 |
+
if(options.onSuccess !== undefined) {
|
18227 |
+
this.options.onSuccess = options.onSuccess;
|
18228 |
+
}
|
18229 |
+
|
18230 |
+
// set "cancel" callback if specified
|
18231 |
+
if(options.onCancel !== undefined) {
|
18232 |
+
this.options.onCancel = options.onCancel;
|
18233 |
+
}
|
18234 |
+
|
18235 |
+
// compile template
|
18236 |
+
this.options.body_template = this.compileTemplate(
|
18237 |
+
this.options.template
|
18238 |
+
);
|
18239 |
+
|
18240 |
+
// setup events
|
18241 |
+
this.setupEvents();
|
18242 |
+
|
18243 |
+
// set popup as initialized
|
18244 |
+
this.initialized = true;
|
18245 |
+
|
18246 |
+
return this;
|
18247 |
+
},
|
18248 |
+
initOverlay: function(toggle) {
|
18249 |
+
if(jQuery('#mailpoet_modal_overlay').length === 0) {
|
18250 |
+
// insert overlay into the DOM
|
18251 |
+
jQuery('body').append(this.templates.overlay);
|
18252 |
+
// insert loading indicator into overlay
|
18253 |
+
jQuery('#mailpoet_modal_overlay').append(this.templates.loading);
|
18254 |
+
}
|
18255 |
+
return this;
|
18256 |
+
},
|
18257 |
+
toggleOverlay: function(toggle) {
|
18258 |
+
if(toggle === true) {
|
18259 |
+
jQuery('#mailpoet_modal_overlay')
|
18260 |
+
.removeClass('mailpoet_overlay_hidden');
|
18261 |
+
} else {
|
18262 |
+
jQuery('#mailpoet_modal_overlay')
|
18263 |
+
.addClass('mailpoet_overlay_hidden');
|
18264 |
+
}
|
18265 |
+
|
18266 |
+
return this;
|
18267 |
+
},
|
18268 |
+
setupEvents: function() {
|
18269 |
+
// close popup when user clicks on close button
|
18270 |
+
jQuery('#mailpoet_modal_close').on('click', this.cancel.bind(this));
|
18271 |
+
|
18272 |
+
// close popup when user clicks on overlay
|
18273 |
+
jQuery('#mailpoet_modal_overlay').on('click', function(e) {
|
18274 |
+
// we need to make sure that we are actually clicking on the overlay
|
18275 |
+
// because when clicking on the popup content, it will trigger
|
18276 |
+
// the click event on the overlay
|
18277 |
+
if(e.target.id === 'mailpoet_modal_overlay') { this.cancel(); }
|
18278 |
+
}.bind(this));
|
18279 |
+
|
18280 |
+
// close popup when user presses ESC key
|
18281 |
+
jQuery(document).on('keyup.mailpoet_modal', function(e) {
|
18282 |
+
if(this.opened === false) { return false; }
|
18283 |
+
if(e.keyCode === 27) { this.cancel(); }
|
18284 |
+
}.bind(this));
|
18285 |
+
|
18286 |
+
// make sure the popup is repositioned when the window is resized
|
18287 |
+
jQuery(window).on('resize.mailpoet_modal', function() {
|
18288 |
+
this.setPosition();
|
18289 |
+
}.bind(this));
|
18290 |
+
|
18291 |
+
return this;
|
18292 |
+
},
|
18293 |
+
removeEvents: function() {
|
18294 |
+
jQuery(document).unbind('keyup.mailpoet_modal');
|
18295 |
+
jQuery(window).unbind('resize.mailpoet_modal');
|
18296 |
+
jQuery('#mailpoet_modal_close').off('click');
|
18297 |
+
if(this.options.overlay === true) {
|
18298 |
+
jQuery('#mailpoet_modal_overlay').off('click');
|
18299 |
+
}
|
18300 |
+
|
18301 |
+
return this;
|
18302 |
+
},
|
18303 |
+
lock: function() {
|
18304 |
+
this.locked = true;
|
18305 |
+
|
18306 |
+
return this;
|
18307 |
+
},
|
18308 |
+
unlock: function() {
|
18309 |
+
this.locked = false;
|
18310 |
+
|
18311 |
+
return this;
|
18312 |
+
},
|
18313 |
+
isLocked: function() {
|
18314 |
+
return this.locked;
|
18315 |
+
},
|
18316 |
+
loadTemplate: function() {
|
18317 |
+
if(this.subpanels.length > 0) {
|
18318 |
+
// hide panel
|
18319 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').hide();
|
18320 |
+
|
18321 |
+
// add sub panel wrapper
|
18322 |
+
jQuery('#mailpoet_'+this.options.type)
|
18323 |
+
.append(this.templates['subpanel']);
|
18324 |
+
|
18325 |
+
// add sub panel content
|
18326 |
+
jQuery('.mailpoet_'+this.options.type+'_body').last()
|
18327 |
+
.html(this.subpanels[(this.subpanels.length - 1)].element);
|
18328 |
+
|
18329 |
+
// focus on sub panel
|
18330 |
+
if(this.options.focus) {
|
18331 |
+
this.focus();
|
18332 |
+
}
|
18333 |
+
} else if (this.options.element) {
|
18334 |
+
jQuery('.mailpoet_'+this.options.type+'_body').empty();
|
18335 |
+
jQuery('.mailpoet_'+this.options.type+'_body')
|
18336 |
+
.append(this.options.element);
|
18337 |
+
} else {
|
18338 |
+
jQuery('.mailpoet_'+this.options.type+'_body')
|
18339 |
+
.html(
|
18340 |
+
this.options.body_template(
|
18341 |
+
this.options.data
|
18342 |
+
)
|
18343 |
+
);
|
18344 |
+
}
|
18345 |
+
|
18346 |
+
return this;
|
18347 |
+
},
|
18348 |
+
loadUrl: function() {
|
18349 |
+
if(this.options.method === 'get') {
|
18350 |
+
// make ajax request
|
18351 |
+
jQuery.getJSON(this.options.url,
|
18352 |
+
function(data) {
|
18353 |
+
this.options.data = jQuery.extend({}, this.options.data, data);
|
18354 |
+
// load template using fetched data
|
18355 |
+
this.loadTemplate();
|
18356 |
+
// show modal window
|
18357 |
+
this.showModal();
|
18358 |
+
}.bind(this)
|
18359 |
+
);
|
18360 |
+
} else if(this.options.method === 'post') {
|
18361 |
+
// make ajax request
|
18362 |
+
jQuery.post(this.options.url, JSON.stringify(this.options.params),
|
18363 |
+
function(data) {
|
18364 |
+
this.options.data = jQuery.extend({}, this.options.data, data);
|
18365 |
+
// load template using fetched data
|
18366 |
+
this.loadTemplate();
|
18367 |
+
// show modal window
|
18368 |
+
this.showModal();
|
18369 |
+
}.bind(this),
|
18370 |
+
'json'
|
18371 |
+
);
|
18372 |
+
}
|
18373 |
+
|
18374 |
+
return this;
|
18375 |
+
},
|
18376 |
+
setDimensions: function() {
|
18377 |
+
switch(this.options.type) {
|
18378 |
+
case 'popup':
|
18379 |
+
console.log(this.options)
|
18380 |
+
// set popup dimensions
|
18381 |
+
jQuery('#mailpoet_popup').css({
|
18382 |
+
width: this.options.width,
|
18383 |
+
height: this.options.height
|
18384 |
+
});
|
18385 |
+
// set popup wrapper height
|
18386 |
+
jQuery('#mailpoet_popup_wrapper').css({
|
18387 |
+
height: this.options.height
|
18388 |
+
});
|
18389 |
+
break;
|
18390 |
+
case 'panel':
|
18391 |
+
// set dimensions
|
18392 |
+
if(this.options.position === 'right') {
|
18393 |
+
jQuery('#mailpoet_panel').css({
|
18394 |
+
width: this.options.width,
|
18395 |
+
right: 0,
|
18396 |
+
marginRight: '-' + this.options.width,
|
18397 |
+
left: 'auto'
|
18398 |
+
});
|
18399 |
+
} else if(this.options.position === 'left') {
|
18400 |
+
jQuery('#mailpoet_panel').css({
|
18401 |
+
width: this.options.width,
|
18402 |
+
left: 0,
|
18403 |
+
marginLeft: '-' + this.options.width,
|
18404 |
+
right: 'auto'
|
18405 |
+
});
|
18406 |
+
}
|
18407 |
+
jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
|
18408 |
+
break;
|
18409 |
+
}
|
18410 |
+
|
18411 |
+
return this;
|
18412 |
+
},
|
18413 |
+
setPosition: function() {
|
18414 |
+
switch(this.options.type) {
|
18415 |
+
case 'popup':
|
18416 |
+
var screenWidth = jQuery(window).width(),
|
18417 |
+
screenHeight = jQuery(window).height(),
|
18418 |
+
modalWidth = jQuery('.mailpoet_'+ this.options.type +'_wrapper').width(),
|
18419 |
+
modalHeight = jQuery('.mailpoet_'+ this.options.type +'_wrapper').height();
|
18420 |
+
|
18421 |
+
var top = Math.max(48, parseInt((screenHeight / 2) - (modalHeight / 2))),
|
18422 |
+
left = Math.max(0, parseInt((screenWidth / 2) - (modalWidth / 2)));
|
18423 |
+
|
18424 |
+
// set position of popup depending on screen dimensions.
|
18425 |
+
jQuery('#mailpoet_popup').css({
|
18426 |
+
top: top,
|
18427 |
+
left: left
|
18428 |
+
});
|
18429 |
+
break;
|
18430 |
+
case 'panel':
|
18431 |
+
setTimeout(function() {
|
18432 |
+
// set position of popup depending on screen dimensions.
|
18433 |
+
if(this.options.position === 'right') {
|
18434 |
+
jQuery('#mailpoet_panel').css({
|
18435 |
+
marginRight: 0
|
18436 |
+
});
|
18437 |
+
} else if(this.options.position === 'left') {
|
18438 |
+
jQuery('#mailpoet_panel').css({
|
18439 |
+
marginLeft: 0
|
18440 |
+
});
|
18441 |
+
}
|
18442 |
+
}.bind(this), 0);
|
18443 |
+
break;
|
18444 |
+
}
|
18445 |
+
|
18446 |
+
return this;
|
18447 |
+
},
|
18448 |
+
showModal: function() {
|
18449 |
+
// set modal dimensions
|
18450 |
+
this.setDimensions();
|
18451 |
+
|
18452 |
+
// remember the previously focused element
|
18453 |
+
this.prevFocus = jQuery(':focus');
|
18454 |
+
|
18455 |
+
// add a flag on the body so that we can prevent scrolling
|
18456 |
+
jQuery('body').addClass('mailpoet_modal_opened');
|
18457 |
+
|
18458 |
+
// show popup
|
18459 |
+
jQuery('#mailpoet_'+this.options.type).show();
|
18460 |
+
|
18461 |
+
// display overlay
|
18462 |
+
this.showOverlay();
|
18463 |
+
|
18464 |
+
// set modal position
|
18465 |
+
this.setPosition();
|
18466 |
+
|
18467 |
+
// add class on highlighted elements
|
18468 |
+
if(this.options.highlight !== null) {
|
18469 |
+
if(this.options.highlight.length > 0) {
|
18470 |
+
this.highlightOn(this.options.highlight);
|
18471 |
+
}
|
18472 |
+
}
|
18473 |
+
|
18474 |
+
if(this.options.focus) {
|
18475 |
+
this.focus();
|
18476 |
+
}
|
18477 |
+
|
18478 |
+
// set popup as opened
|
18479 |
+
this.opened = true;
|
18480 |
+
|
18481 |
+
// trigger init event if specified
|
18482 |
+
if(this.options.onInit !== null) {
|
18483 |
+
this.options.onInit(this);
|
18484 |
+
}
|
18485 |
+
|
18486 |
+
return this;
|
18487 |
+
},
|
18488 |
+
focus: function() {
|
18489 |
+
if(this.options.type == 'popup') {
|
18490 |
+
jQuery('#mailpoet_'+this.options.type).focus();
|
18491 |
+
} else {
|
18492 |
+
// panel and subpanel
|
18493 |
+
jQuery('#mailpoet_'+this.options.type+' .mailpoet_panel_wrapper')
|
18494 |
+
.filter(':visible').focus();
|
18495 |
+
}
|
18496 |
+
return this;
|
18497 |
+
},
|
18498 |
+
highlightOn: function(element) {
|
18499 |
+
jQuery(element).addClass('mailpoet_modal_highlight');
|
18500 |
+
return this;
|
18501 |
+
},
|
18502 |
+
highlightOff: function() {
|
18503 |
+
jQuery('.mailpoet_modal_highlight')
|
18504 |
+
.removeClass('mailpoet_modal_highlight');
|
18505 |
+
return this;
|
18506 |
+
},
|
18507 |
+
hideModal: function(callback) {
|
18508 |
+
// set modal as closed
|
18509 |
+
this.opened = false;
|
18510 |
+
|
18511 |
+
// hide modal
|
18512 |
+
jQuery('#mailpoet_'+this.options.type).hide();
|
18513 |
+
|
18514 |
+
// remove class on highlighted elements
|
18515 |
+
this.highlightOff();
|
18516 |
+
|
18517 |
+
// remove class from body to let it be scrollable
|
18518 |
+
jQuery('body').removeClass('mailpoet_modal_opened');
|
18519 |
+
|
18520 |
+
return this;
|
18521 |
+
},
|
18522 |
+
showOverlay: function(force) {
|
18523 |
+
jQuery('#mailpoet_modal_overlay').show();
|
18524 |
+
return this;
|
18525 |
+
},
|
18526 |
+
hideOverlay: function() {
|
18527 |
+
jQuery('#mailpoet_modal_overlay').hide();
|
18528 |
+
return this;
|
18529 |
+
},
|
18530 |
+
popup: function(options) {
|
18531 |
+
// get options
|
18532 |
+
options = options || {};
|
18533 |
+
// set modal type
|
18534 |
+
options.type = 'popup';
|
18535 |
+
// set overlay state
|
18536 |
+
options.overlay = options.overlay || true;
|
18537 |
+
// initialize modal
|
18538 |
+
this.init(options);
|
18539 |
+
// open modal
|
18540 |
+
this.open();
|
18541 |
+
|
18542 |
+
return this;
|
18543 |
+
},
|
18544 |
+
panel: function(options) {
|
18545 |
+
// get options
|
18546 |
+
options = options || {};
|
18547 |
+
// reset subpanels
|
18548 |
+
this.subpanels = [];
|
18549 |
+
// set modal type
|
18550 |
+
options.type = 'panel';
|
18551 |
+
// set overlay state
|
18552 |
+
options.overlay = options.overlay || false;
|
18553 |
+
// set highlighted element
|
18554 |
+
options.highlight = options.highlight || null;
|
18555 |
+
// set modal dimensions
|
18556 |
+
options.width = options.width || '40%';
|
18557 |
+
options.height = options.height || 'auto';
|
18558 |
+
// initialize modal
|
18559 |
+
this.init(options);
|
18560 |
+
// open modal
|
18561 |
+
this.open();
|
18562 |
+
|
18563 |
+
return this;
|
18564 |
+
},
|
18565 |
+
subpanel: function(options) {
|
18566 |
+
if(this.opened === false) {
|
18567 |
+
// if no panel is already opened, let's create one instead
|
18568 |
+
this.panel(options);
|
18569 |
+
} else {
|
18570 |
+
// if a panel is already opened, add a sub panel to it
|
18571 |
+
this.subpanels.push(options);
|
18572 |
+
this.loadTemplate();
|
18573 |
+
}
|
18574 |
+
|
18575 |
+
return this;
|
18576 |
+
},
|
18577 |
+
loading: function(toggle) {
|
18578 |
+
// make sure the overlay is initialized and that it's visible
|
18579 |
+
this.initOverlay(true);
|
18580 |
+
|
18581 |
+
if(toggle === true) {
|
18582 |
+
this.showLoading();
|
18583 |
+
} else {
|
18584 |
+
this.hideLoading();
|
18585 |
+
}
|
18586 |
+
|
18587 |
+
return this;
|
18588 |
+
},
|
18589 |
+
showLoading: function() {
|
18590 |
+
jQuery('#mailpoet_loading').show();
|
18591 |
+
|
18592 |
+
// add loading class to overlay
|
18593 |
+
jQuery('#mailpoet_modal_overlay')
|
18594 |
+
.addClass('mailpoet_overlay_loading');
|
18595 |
+
|
18596 |
+
return this;
|
18597 |
+
},
|
18598 |
+
hideLoading: function() {
|
18599 |
+
jQuery('#mailpoet_loading').hide();
|
18600 |
+
|
18601 |
+
// remove loading class from overlay
|
18602 |
+
jQuery('#mailpoet_modal_overlay')
|
18603 |
+
.removeClass('mailpoet_overlay_loading');
|
18604 |
+
|
18605 |
+
return this;
|
18606 |
+
},
|
18607 |
+
open: function() {
|
18608 |
+
// load template if specified
|
18609 |
+
if(this.options.template !== null) {
|
18610 |
+
// check if a url was specified to get extra data
|
18611 |
+
if(this.options.url !== null) {
|
18612 |
+
this.loadUrl();
|
18613 |
+
} else {
|
18614 |
+
// load template
|
18615 |
+
this.loadTemplate();
|
18616 |
+
|
18617 |
+
// show modal window
|
18618 |
+
this.showModal();
|
18619 |
+
}
|
18620 |
+
} else {
|
18621 |
+
this.cancel();
|
18622 |
+
}
|
18623 |
+
|
18624 |
+
return this;
|
18625 |
+
},
|
18626 |
+
success: function() {
|
18627 |
+
if(this.subpanels.length > 0) {
|
18628 |
+
if(this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
|
18629 |
+
this.subpanels[(this.subpanels.length - 1)].onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
|
18630 |
+
}
|
18631 |
+
} else {
|
18632 |
+
if(this.options.onSuccess !== null) {
|
18633 |
+
this.options.onSuccess(this.options.data);
|
18634 |
+
}
|
18635 |
+
}
|
18636 |
+
this.close();
|
18637 |
+
|
18638 |
+
return this;
|
18639 |
+
},
|
18640 |
+
cancel: function() {
|
18641 |
+
if(this.subpanels.length > 0) {
|
18642 |
+
if(this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
|
18643 |
+
this.subpanels[(this.subpanels.length - 1)].onCancel(this.subpanels[(this.subpanels.length - 1)].data);
|
18644 |
+
}
|
18645 |
+
} else {
|
18646 |
+
if(this.options.onCancel !== null) {
|
18647 |
+
this.options.onCancel(this.options.data);
|
18648 |
+
}
|
18649 |
+
}
|
18650 |
+
this.close();
|
18651 |
+
|
18652 |
+
return this;
|
18653 |
+
},
|
18654 |
+
destroy: function() {
|
18655 |
+
this.hideOverlay();
|
18656 |
+
|
18657 |
+
// remove extra modal
|
18658 |
+
if(jQuery('#mailpoet_'+this.options.type).length > 0) {
|
18659 |
+
jQuery('#mailpoet_'+this.options.type).remove();
|
18660 |
+
}
|
18661 |
+
|
18662 |
+
this.initialized = false;
|
18663 |
+
|
18664 |
+
return this;
|
18665 |
+
},
|
18666 |
+
close: function() {
|
18667 |
+
if(this.isLocked() === true) { return this; }
|
18668 |
+
|
18669 |
+
if(this.subpanels.length > 0) {
|
18670 |
+
// close subpanel
|
18671 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').last().remove();
|
18672 |
+
|
18673 |
+
// show previous panel
|
18674 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').last().show();
|
18675 |
+
|
18676 |
+
// remove last subpanels
|
18677 |
+
this.subpanels.pop();
|
18678 |
+
|
18679 |
+
// focus on previous panel
|
18680 |
+
if(this.options.focus) {
|
18681 |
+
this.focus();
|
18682 |
+
}
|
18683 |
+
|
18684 |
+
return this;
|
18685 |
+
}
|
18686 |
+
|
18687 |
+
// remove event handlers
|
18688 |
+
this.removeEvents();
|
18689 |
+
|
18690 |
+
// hide modal window
|
18691 |
+
this.hideModal();
|
18692 |
+
|
18693 |
+
// destroy modal element
|
18694 |
+
this.destroy();
|
18695 |
+
|
18696 |
+
// restore the previously focused element
|
18697 |
+
if(this.prevFocus !== undefined){
|
18698 |
+
this.prevFocus.focus();
|
18699 |
+
}
|
18700 |
+
|
18701 |
+
// reset options
|
18702 |
+
this.options = {
|
18703 |
+
onSuccess: null,
|
18704 |
+
onCancel: null
|
18705 |
+
};
|
18706 |
+
|
18707 |
+
return this;
|
18708 |
+
}
|
18709 |
+
};
|
18710 |
+
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
18711 |
+
|
18712 |
|
18713 |
|
18714 |
/***/ },
|
assets/js/manifest.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
"mp2migrator.js": "mp2migrator.f7fa3be5.js",
|
3 |
"public.js": "public.0bba05b8.js",
|
4 |
"admin.js": "admin.54487ca1.js",
|
5 |
-
"admin_vendor.js": "admin_vendor.
|
6 |
"form_editor.js": "form_editor.4ee01c41.js",
|
7 |
-
"mailpoet.js": "mailpoet.
|
8 |
-
"newsletter_editor.js": "newsletter_editor.
|
9 |
-
"vendor.js": "vendor.
|
10 |
}
|
2 |
"mp2migrator.js": "mp2migrator.f7fa3be5.js",
|
3 |
"public.js": "public.0bba05b8.js",
|
4 |
"admin.js": "admin.54487ca1.js",
|
5 |
+
"admin_vendor.js": "admin_vendor.0d291531.js",
|
6 |
"form_editor.js": "form_editor.4ee01c41.js",
|
7 |
+
"mailpoet.js": "mailpoet.61d759cb.js",
|
8 |
+
"newsletter_editor.js": "newsletter_editor.29626a1d.js",
|
9 |
+
"vendor.js": "vendor.c136ccd7.js"
|
10 |
}
|
assets/js/{newsletter_editor.8195eca1.js → newsletter_editor.29626a1d.js}
RENAMED
@@ -9505,647 +9505,648 @@ webpackJsonp([4],{
|
|
9505 |
/***/ 487:
|
9506 |
/***/ function(module, exports, __webpack_require__) {
|
9507 |
|
9508 |
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(MailPoet, jQuery) {
|
9509 |
-
'use strict';
|
9510 |
-
/***************************************************************************
|
9511 |
-
MailPoet Modal:
|
9512 |
-
|
9513 |
-
version: 0.9
|
9514 |
-
author: Jonathan Labreuille
|
9515 |
-
company: Wysija
|
9516 |
-
dependencies: jQuery
|
9517 |
-
|
9518 |
-
Usage:
|
9519 |
-
// popup mode
|
9520 |
-
MailPoet.Modal.popup(options);
|
9521 |
-
|
9522 |
-
// panel mode
|
9523 |
-
MailPoet.Modal.panel(options);
|
9524 |
-
|
9525 |
-
// loading mode
|
9526 |
-
MailPoet.Modal.loading(bool);
|
9527 |
-
***************************************************************************/
|
9528 |
-
|
9529 |
-
MailPoet.Modal = {
|
9530 |
-
version: 0.9,
|
9531 |
-
|
9532 |
-
// flags
|
9533 |
-
initialized: false,
|
9534 |
-
opened: false,
|
9535 |
-
locked: false,
|
9536 |
-
|
9537 |
-
// previously focused element
|
9538 |
-
prevFocus: null,
|
9539 |
-
|
9540 |
-
// sub panels
|
9541 |
-
subpanels: [],
|
9542 |
-
|
9543 |
-
// default values
|
9544 |
-
defaults: {
|
9545 |
-
// title
|
9546 |
-
title: null,
|
9547 |
-
|
9548 |
-
// type
|
9549 |
-
type: null,
|
9550 |
-
|
9551 |
-
// positionning
|
9552 |
-
position: 'right',
|
9553 |
-
|
9554 |
-
// data sources
|
9555 |
-
data: {},
|
9556 |
-
url: null,
|
9557 |
-
method: 'get',
|
9558 |
-
params: {},
|
9559 |
-
|
9560 |
-
// template
|
9561 |
-
template: null,
|
9562 |
-
body_template: null,
|
9563 |
-
|
9564 |
-
// dimensions
|
9565 |
-
width: 'auto',
|
9566 |
-
height: 'auto',
|
9567 |
-
|
9568 |
-
// display overlay
|
9569 |
-
overlay: false,
|
9570 |
-
|
9571 |
-
// focus upon displaying
|
9572 |
-
focus: true,
|
9573 |
-
|
9574 |
-
// highlighted elements
|
9575 |
-
highlight: null,
|
9576 |
-
|
9577 |
-
// callbacks
|
9578 |
-
onInit: null,
|
9579 |
-
onSuccess: null,
|
9580 |
-
onCancel: null
|
9581 |
-
},
|
9582 |
-
renderer: 'html',
|
9583 |
-
options: {},
|
9584 |
-
templates: {
|
9585 |
-
overlay: '<div id="mailpoet_modal_overlay" style="display:none;"></div>',
|
9586 |
-
popup: '<div id="mailpoet_popup" tabindex="-1">'+
|
9587 |
-
'<div class="mailpoet_popup_wrapper">'+
|
9588 |
-
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
9589 |
-
'<div id="mailpoet_popup_title"><h2></h2></div>'+
|
9590 |
-
'<div class="mailpoet_popup_body clearfix"></div>'+
|
9591 |
-
'</div>'+
|
9592 |
-
'</div>',
|
9593 |
-
loading: '<div id="mailpoet_loading" style="display:none;">'+
|
9594 |
-
'<div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading"></div>'+
|
9595 |
-
'<div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading"></div>'+
|
9596 |
-
'<div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading"></div>'+
|
9597 |
-
'</div>',
|
9598 |
-
panel: '<div id="mailpoet_panel">'+
|
9599 |
-
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
9600 |
-
'<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
9601 |
-
'<div class="mailpoet_panel_body clearfix"></div>'+
|
9602 |
-
'</div>'+
|
9603 |
-
'</div>',
|
9604 |
-
subpanel: '<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
9605 |
-
'<div class="mailpoet_panel_body clearfix"></div>'+
|
9606 |
-
'</div>'
|
9607 |
-
},
|
9608 |
-
getContentContainer: function() {
|
9609 |
-
return jQuery('.mailpoet_'+this.options.type+'_body');
|
9610 |
-
},
|
9611 |
-
setRenderer: function(renderer) {
|
9612 |
-
this.renderer = renderer;
|
9613 |
-
return this;
|
9614 |
-
},
|
9615 |
-
compileTemplate: function(template) {
|
9616 |
-
if(this.renderer === 'html') {
|
9617 |
-
return function() { return template; };
|
9618 |
-
} else {
|
9619 |
-
return Handlebars.compile(template);
|
9620 |
-
}
|
9621 |
-
return false;
|
9622 |
-
},
|
9623 |
-
init: function(options) {
|
9624 |
-
if(this.initialized === true) {
|
9625 |
-
this.close();
|
9626 |
-
}
|
9627 |
-
// merge options
|
9628 |
-
this.options = jQuery.extend({}, this.defaults, options);
|
9629 |
-
|
9630 |
-
// set renderer
|
9631 |
-
this.setRenderer(this.options.renderer);
|
9632 |
-
|
9633 |
-
// init overlay
|
9634 |
-
this.initOverlay();
|
9635 |
-
|
9636 |
-
// toggle overlay
|
9637 |
-
this.toggleOverlay(this.options.overlay);
|
9638 |
-
|
9639 |
-
if(this.options.type !== null) {
|
9640 |
-
// insert modal depending on its type
|
9641 |
-
if(this.options.type === 'popup') {
|
9642 |
-
var modal = this.compileTemplate(
|
9643 |
-
this.templates[this.options.type]
|
9644 |
-
);
|
9645 |
-
// create modal
|
9646 |
-
jQuery('#mailpoet_modal_overlay')
|
9647 |
-
.append(modal(this.options));
|
9648 |
-
// set title
|
9649 |
-
jQuery('#mailpoet_popup_title h2')
|
9650 |
-
.html(this.options.title);
|
9651 |
-
} else if(this.options.type === 'panel') {
|
9652 |
-
// create panel
|
9653 |
-
jQuery('#mailpoet_modal_overlay')
|
9654 |
-
.after(this.templates[this.options.type]);
|
9655 |
-
}
|
9656 |
-
|
9657 |
-
// add proper overlay class
|
9658 |
-
jQuery('#mailpoet_modal_overlay')
|
9659 |
-
.removeClass('mailpoet_popup_overlay mailpoet_panel_overlay')
|
9660 |
-
.addClass('mailpoet_'+this.options.type+'_overlay');
|
9661 |
-
}
|
9662 |
-
|
9663 |
-
// set "success" callback if specified
|
9664 |
-
if(options.onSuccess !== undefined) {
|
9665 |
-
this.options.onSuccess = options.onSuccess;
|
9666 |
-
}
|
9667 |
-
|
9668 |
-
// set "cancel" callback if specified
|
9669 |
-
if(options.onCancel !== undefined) {
|
9670 |
-
this.options.onCancel = options.onCancel;
|
9671 |
-
}
|
9672 |
-
|
9673 |
-
// compile template
|
9674 |
-
this.options.body_template = this.compileTemplate(
|
9675 |
-
this.options.template
|
9676 |
-
);
|
9677 |
-
|
9678 |
-
// setup events
|
9679 |
-
this.setupEvents();
|
9680 |
-
|
9681 |
-
// set popup as initialized
|
9682 |
-
this.initialized = true;
|
9683 |
-
|
9684 |
-
return this;
|
9685 |
-
},
|
9686 |
-
initOverlay: function(toggle) {
|
9687 |
-
if(jQuery('#mailpoet_modal_overlay').length === 0) {
|
9688 |
-
// insert overlay into the DOM
|
9689 |
-
jQuery('body').append(this.templates.overlay);
|
9690 |
-
// insert loading indicator into overlay
|
9691 |
-
jQuery('#mailpoet_modal_overlay').append(this.templates.loading);
|
9692 |
-
}
|
9693 |
-
return this;
|
9694 |
-
},
|
9695 |
-
toggleOverlay: function(toggle) {
|
9696 |
-
if(toggle === true) {
|
9697 |
-
jQuery('#mailpoet_modal_overlay')
|
9698 |
-
.removeClass('mailpoet_overlay_hidden');
|
9699 |
-
} else {
|
9700 |
-
jQuery('#mailpoet_modal_overlay')
|
9701 |
-
.addClass('mailpoet_overlay_hidden');
|
9702 |
-
}
|
9703 |
-
|
9704 |
-
return this;
|
9705 |
-
},
|
9706 |
-
setupEvents: function() {
|
9707 |
-
// close popup when user clicks on close button
|
9708 |
-
jQuery('#mailpoet_modal_close').on('click', this.cancel.bind(this));
|
9709 |
-
|
9710 |
-
// close popup when user clicks on overlay
|
9711 |
-
jQuery('#mailpoet_modal_overlay').on('click', function(e) {
|
9712 |
-
// we need to make sure that we are actually clicking on the overlay
|
9713 |
-
// because when clicking on the popup content, it will trigger
|
9714 |
-
// the click event on the overlay
|
9715 |
-
if(e.target.id === 'mailpoet_modal_overlay') { this.cancel(); }
|
9716 |
-
}.bind(this));
|
9717 |
-
|
9718 |
-
// close popup when user presses ESC key
|
9719 |
-
jQuery(document).on('keyup.mailpoet_modal', function(e) {
|
9720 |
-
if(this.opened === false) { return false; }
|
9721 |
-
if(e.keyCode === 27) { this.cancel(); }
|
9722 |
-
}.bind(this));
|
9723 |
-
|
9724 |
-
// make sure the popup is repositioned when the window is resized
|
9725 |
-
jQuery(window).on('resize.mailpoet_modal', function() {
|
9726 |
-
this.setPosition();
|
9727 |
-
}.bind(this));
|
9728 |
-
|
9729 |
-
return this;
|
9730 |
-
},
|
9731 |
-
removeEvents: function() {
|
9732 |
-
jQuery(document).unbind('keyup.mailpoet_modal');
|
9733 |
-
jQuery(window).unbind('resize.mailpoet_modal');
|
9734 |
-
jQuery('#mailpoet_modal_close').off('click');
|
9735 |
-
if(this.options.overlay === true) {
|
9736 |
-
jQuery('#mailpoet_modal_overlay').off('click');
|
9737 |
-
}
|
9738 |
-
|
9739 |
-
return this;
|
9740 |
-
},
|
9741 |
-
lock: function() {
|
9742 |
-
this.locked = true;
|
9743 |
-
|
9744 |
-
return this;
|
9745 |
-
},
|
9746 |
-
unlock: function() {
|
9747 |
-
this.locked = false;
|
9748 |
-
|
9749 |
-
return this;
|
9750 |
-
},
|
9751 |
-
isLocked: function() {
|
9752 |
-
return this.locked;
|
9753 |
-
},
|
9754 |
-
loadTemplate: function() {
|
9755 |
-
if(this.subpanels.length > 0) {
|
9756 |
-
// hide panel
|
9757 |
-
jQuery('.mailpoet_'+this.options.type+'_wrapper').hide();
|
9758 |
-
|
9759 |
-
// add sub panel wrapper
|
9760 |
-
jQuery('#mailpoet_'+this.options.type)
|
9761 |
-
.append(this.templates['subpanel']);
|
9762 |
-
|
9763 |
-
// add sub panel content
|
9764 |
-
jQuery('.mailpoet_'+this.options.type+'_body').last()
|
9765 |
-
.html(this.subpanels[(this.subpanels.length - 1)].element);
|
9766 |
-
|
9767 |
-
// focus on sub panel
|
9768 |
-
if(this.options.focus) {
|
9769 |
-
this.focus();
|
9770 |
-
}
|
9771 |
-
} else if (this.options.element) {
|
9772 |
-
jQuery('.mailpoet_'+this.options.type+'_body').empty();
|
9773 |
-
jQuery('.mailpoet_'+this.options.type+'_body')
|
9774 |
-
.append(this.options.element);
|
9775 |
-
} else {
|
9776 |
-
jQuery('.mailpoet_'+this.options.type+'_body')
|
9777 |
-
.html(
|
9778 |
-
this.options.body_template(
|
9779 |
-
this.options.data
|
9780 |
-
)
|
9781 |
-
);
|
9782 |
-
}
|
9783 |
-
|
9784 |
-
return this;
|
9785 |
-
},
|
9786 |
-
loadUrl: function() {
|
9787 |
-
if(this.options.method === 'get') {
|
9788 |
-
// make ajax request
|
9789 |
-
jQuery.getJSON(this.options.url,
|
9790 |
-
function(data) {
|
9791 |
-
this.options.data = jQuery.extend({}, this.options.data, data);
|
9792 |
-
// load template using fetched data
|
9793 |
-
this.loadTemplate();
|
9794 |
-
// show modal window
|
9795 |
-
this.showModal();
|
9796 |
-
}.bind(this)
|
9797 |
-
);
|
9798 |
-
} else if(this.options.method === 'post') {
|
9799 |
-
// make ajax request
|
9800 |
-
jQuery.post(this.options.url, JSON.stringify(this.options.params),
|
9801 |
-
function(data) {
|
9802 |
-
this.options.data = jQuery.extend({}, this.options.data, data);
|
9803 |
-
// load template using fetched data
|
9804 |
-
this.loadTemplate();
|
9805 |
-
// show modal window
|
9806 |
-
this.showModal();
|
9807 |
-
}.bind(this),
|
9808 |
-
'json'
|
9809 |
-
);
|
9810 |
-
}
|
9811 |
-
|
9812 |
-
return this;
|
9813 |
-
},
|
9814 |
-
setDimensions: function() {
|
9815 |
-
switch(this.options.type) {
|
9816 |
-
case 'popup':
|
9817 |
-
|
9818 |
-
|
9819 |
-
|
9820 |
-
|
9821 |
-
|
9822 |
-
|
9823 |
-
|
9824 |
-
|
9825 |
-
|
9826 |
-
|
9827 |
-
|
9828 |
-
|
9829 |
-
|
9830 |
-
|
9831 |
-
|
9832 |
-
|
9833 |
-
|
9834 |
-
|
9835 |
-
|
9836 |
-
|
9837 |
-
|
9838 |
-
|
9839 |
-
|
9840 |
-
|
9841 |
-
|
9842 |
-
|
9843 |
-
|
9844 |
-
|
9845 |
-
|
9846 |
-
|
9847 |
-
|
9848 |
-
|
9849 |
-
|
9850 |
-
|
9851 |
-
|
9852 |
-
|
9853 |
-
|
9854 |
-
|
9855 |
-
|
9856 |
-
|
9857 |
-
|
9858 |
-
|
9859 |
-
|
9860 |
-
|
9861 |
-
|
9862 |
-
|
9863 |
-
|
9864 |
-
|
9865 |
-
|
9866 |
-
|
9867 |
-
|
9868 |
-
|
9869 |
-
|
9870 |
-
|
9871 |
-
|
9872 |
-
|
9873 |
-
|
9874 |
-
|
9875 |
-
|
9876 |
-
|
9877 |
-
|
9878 |
-
|
9879 |
-
|
9880 |
-
|
9881 |
-
|
9882 |
-
|
9883 |
-
|
9884 |
-
|
9885 |
-
|
9886 |
-
|
9887 |
-
|
9888 |
-
|
9889 |
-
|
9890 |
-
|
9891 |
-
|
9892 |
-
|
9893 |
-
|
9894 |
-
|
9895 |
-
|
9896 |
-
|
9897 |
-
|
9898 |
-
|
9899 |
-
|
9900 |
-
|
9901 |
-
|
9902 |
-
|
9903 |
-
|
9904 |
-
|
9905 |
-
|
9906 |
-
|
9907 |
-
|
9908 |
-
|
9909 |
-
|
9910 |
-
|
9911 |
-
|
9912 |
-
|
9913 |
-
|
9914 |
-
|
9915 |
-
|
9916 |
-
|
9917 |
-
|
9918 |
-
|
9919 |
-
|
9920 |
-
|
9921 |
-
|
9922 |
-
|
9923 |
-
|
9924 |
-
|
9925 |
-
|
9926 |
-
|
9927 |
-
|
9928 |
-
|
9929 |
-
|
9930 |
-
|
9931 |
-
|
9932 |
-
|
9933 |
-
|
9934 |
-
|
9935 |
-
|
9936 |
-
|
9937 |
-
|
9938 |
-
|
9939 |
-
|
9940 |
-
|
9941 |
-
|
9942 |
-
|
9943 |
-
|
9944 |
-
|
9945 |
-
|
9946 |
-
|
9947 |
-
|
9948 |
-
|
9949 |
-
|
9950 |
-
|
9951 |
-
|
9952 |
-
|
9953 |
-
|
9954 |
-
|
9955 |
-
|
9956 |
-
|
9957 |
-
|
9958 |
-
|
9959 |
-
|
9960 |
-
|
9961 |
-
|
9962 |
-
|
9963 |
-
|
9964 |
-
|
9965 |
-
|
9966 |
-
|
9967 |
-
|
9968 |
-
|
9969 |
-
|
9970 |
-
|
9971 |
-
|
9972 |
-
|
9973 |
-
|
9974 |
-
|
9975 |
-
|
9976 |
-
|
9977 |
-
|
9978 |
-
|
9979 |
-
|
9980 |
-
|
9981 |
-
|
9982 |
-
|
9983 |
-
|
9984 |
-
|
9985 |
-
|
9986 |
-
|
9987 |
-
|
9988 |
-
|
9989 |
-
|
9990 |
-
|
9991 |
-
|
9992 |
-
|
9993 |
-
|
9994 |
-
options.
|
9995 |
-
|
9996 |
-
|
9997 |
-
|
9998 |
-
|
9999 |
-
|
10000 |
-
|
10001 |
-
|
10002 |
-
|
10003 |
-
|
10004 |
-
|
10005 |
-
|
10006 |
-
|
10007 |
-
|
10008 |
-
|
10009 |
-
this.
|
10010 |
-
|
10011 |
-
|
10012 |
-
|
10013 |
-
|
10014 |
-
|
10015 |
-
|
10016 |
-
|
10017 |
-
|
10018 |
-
|
10019 |
-
|
10020 |
-
|
10021 |
-
|
10022 |
-
|
10023 |
-
|
10024 |
-
|
10025 |
-
|
10026 |
-
|
10027 |
-
|
10028 |
-
|
10029 |
-
|
10030 |
-
|
10031 |
-
|
10032 |
-
|
10033 |
-
|
10034 |
-
|
10035 |
-
|
10036 |
-
|
10037 |
-
|
10038 |
-
|
10039 |
-
|
10040 |
-
|
10041 |
-
|
10042 |
-
|
10043 |
-
|
10044 |
-
|
10045 |
-
|
10046 |
-
|
10047 |
-
|
10048 |
-
if
|
10049 |
-
|
10050 |
-
|
10051 |
-
|
10052 |
-
|
10053 |
-
|
10054 |
-
|
10055 |
-
|
10056 |
-
|
10057 |
-
|
10058 |
-
|
10059 |
-
|
10060 |
-
|
10061 |
-
|
10062 |
-
|
10063 |
-
|
10064 |
-
|
10065 |
-
|
10066 |
-
|
10067 |
-
|
10068 |
-
|
10069 |
-
|
10070 |
-
|
10071 |
-
|
10072 |
-
|
10073 |
-
|
10074 |
-
|
10075 |
-
|
10076 |
-
|
10077 |
-
|
10078 |
-
|
10079 |
-
|
10080 |
-
|
10081 |
-
|
10082 |
-
|
10083 |
-
|
10084 |
-
|
10085 |
-
|
10086 |
-
|
10087 |
-
|
10088 |
-
|
10089 |
-
|
10090 |
-
|
10091 |
-
|
10092 |
-
|
10093 |
-
|
10094 |
-
|
10095 |
-
|
10096 |
-
|
10097 |
-
|
10098 |
-
|
10099 |
-
|
10100 |
-
|
10101 |
-
|
10102 |
-
|
10103 |
-
|
10104 |
-
|
10105 |
-
|
10106 |
-
|
10107 |
-
|
10108 |
-
|
10109 |
-
|
10110 |
-
|
10111 |
-
|
10112 |
-
|
10113 |
-
|
10114 |
-
|
10115 |
-
|
10116 |
-
|
10117 |
-
|
10118 |
-
|
10119 |
-
|
10120 |
-
|
10121 |
-
|
10122 |
-
|
10123 |
-
|
10124 |
-
|
10125 |
-
|
10126 |
-
|
10127 |
-
|
10128 |
-
|
10129 |
-
|
10130 |
-
|
10131 |
-
|
10132 |
-
|
10133 |
-
|
10134 |
-
|
10135 |
-
|
10136 |
-
|
10137 |
-
|
10138 |
-
|
10139 |
-
|
10140 |
-
|
10141 |
-
|
10142 |
-
|
10143 |
-
|
10144 |
-
|
10145 |
-
|
10146 |
-
|
10147 |
-
|
10148 |
-
|
|
|
10149 |
|
10150 |
|
10151 |
/***/ },
|
@@ -28061,10 +28062,13 @@ webpackJsonp([4],{
|
|
28061 |
});
|
28062 |
|
28063 |
var view = this.previewView.render();
|
28064 |
-
|
|
|
28065 |
MailPoet.Modal.popup({
|
28066 |
template: '',
|
28067 |
element: this.previewView.$el,
|
|
|
|
|
28068 |
title: MailPoet.I18n.t('newsletterPreview'),
|
28069 |
onCancel: function() {
|
28070 |
this.previewView.destroy();
|
@@ -28129,8 +28133,10 @@ webpackJsonp([4],{
|
|
28129 |
getTemplate: function() { return templates.newsletterPreview; },
|
28130 |
initialize: function(options) {
|
28131 |
this.previewUrl = options.previewUrl;
|
28132 |
-
this.width =
|
28133 |
-
this.height =
|
|
|
|
|
28134 |
},
|
28135 |
templateContext: function() {
|
28136 |
return {
|
9505 |
/***/ 487:
|
9506 |
/***/ function(module, exports, __webpack_require__) {
|
9507 |
|
9508 |
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(MailPoet, jQuery) {
|
9509 |
+
'use strict';
|
9510 |
+
/***************************************************************************
|
9511 |
+
MailPoet Modal:
|
9512 |
+
|
9513 |
+
version: 0.9
|
9514 |
+
author: Jonathan Labreuille
|
9515 |
+
company: Wysija
|
9516 |
+
dependencies: jQuery
|
9517 |
+
|
9518 |
+
Usage:
|
9519 |
+
// popup mode
|
9520 |
+
MailPoet.Modal.popup(options);
|
9521 |
+
|
9522 |
+
// panel mode
|
9523 |
+
MailPoet.Modal.panel(options);
|
9524 |
+
|
9525 |
+
// loading mode
|
9526 |
+
MailPoet.Modal.loading(bool);
|
9527 |
+
***************************************************************************/
|
9528 |
+
|
9529 |
+
MailPoet.Modal = {
|
9530 |
+
version: 0.9,
|
9531 |
+
|
9532 |
+
// flags
|
9533 |
+
initialized: false,
|
9534 |
+
opened: false,
|
9535 |
+
locked: false,
|
9536 |
+
|
9537 |
+
// previously focused element
|
9538 |
+
prevFocus: null,
|
9539 |
+
|
9540 |
+
// sub panels
|
9541 |
+
subpanels: [],
|
9542 |
+
|
9543 |
+
// default values
|
9544 |
+
defaults: {
|
9545 |
+
// title
|
9546 |
+
title: null,
|
9547 |
+
|
9548 |
+
// type
|
9549 |
+
type: null,
|
9550 |
+
|
9551 |
+
// positionning
|
9552 |
+
position: 'right',
|
9553 |
+
|
9554 |
+
// data sources
|
9555 |
+
data: {},
|
9556 |
+
url: null,
|
9557 |
+
method: 'get',
|
9558 |
+
params: {},
|
9559 |
+
|
9560 |
+
// template
|
9561 |
+
template: null,
|
9562 |
+
body_template: null,
|
9563 |
+
|
9564 |
+
// dimensions
|
9565 |
+
width: 'auto',
|
9566 |
+
height: 'auto',
|
9567 |
+
|
9568 |
+
// display overlay
|
9569 |
+
overlay: false,
|
9570 |
+
|
9571 |
+
// focus upon displaying
|
9572 |
+
focus: true,
|
9573 |
+
|
9574 |
+
// highlighted elements
|
9575 |
+
highlight: null,
|
9576 |
+
|
9577 |
+
// callbacks
|
9578 |
+
onInit: null,
|
9579 |
+
onSuccess: null,
|
9580 |
+
onCancel: null
|
9581 |
+
},
|
9582 |
+
renderer: 'html',
|
9583 |
+
options: {},
|
9584 |
+
templates: {
|
9585 |
+
overlay: '<div id="mailpoet_modal_overlay" style="display:none;"></div>',
|
9586 |
+
popup: '<div id="mailpoet_popup" tabindex="-1">'+
|
9587 |
+
'<div class="mailpoet_popup_wrapper">'+
|
9588 |
+
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
9589 |
+
'<div id="mailpoet_popup_title"><h2></h2></div>'+
|
9590 |
+
'<div class="mailpoet_popup_body clearfix"></div>'+
|
9591 |
+
'</div>'+
|
9592 |
+
'</div>',
|
9593 |
+
loading: '<div id="mailpoet_loading" style="display:none;">'+
|
9594 |
+
'<div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading"></div>'+
|
9595 |
+
'<div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading"></div>'+
|
9596 |
+
'<div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading"></div>'+
|
9597 |
+
'</div>',
|
9598 |
+
panel: '<div id="mailpoet_panel">'+
|
9599 |
+
'<a href="javascript:;" id="mailpoet_modal_close"></a>'+
|
9600 |
+
'<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
9601 |
+
'<div class="mailpoet_panel_body clearfix"></div>'+
|
9602 |
+
'</div>'+
|
9603 |
+
'</div>',
|
9604 |
+
subpanel: '<div class="mailpoet_panel_wrapper" tabindex="-1">'+
|
9605 |
+
'<div class="mailpoet_panel_body clearfix"></div>'+
|
9606 |
+
'</div>'
|
9607 |
+
},
|
9608 |
+
getContentContainer: function() {
|
9609 |
+
return jQuery('.mailpoet_'+this.options.type+'_body');
|
9610 |
+
},
|
9611 |
+
setRenderer: function(renderer) {
|
9612 |
+
this.renderer = renderer;
|
9613 |
+
return this;
|
9614 |
+
},
|
9615 |
+
compileTemplate: function(template) {
|
9616 |
+
if(this.renderer === 'html') {
|
9617 |
+
return function() { return template; };
|
9618 |
+
} else {
|
9619 |
+
return Handlebars.compile(template);
|
9620 |
+
}
|
9621 |
+
return false;
|
9622 |
+
},
|
9623 |
+
init: function(options) {
|
9624 |
+
if(this.initialized === true) {
|
9625 |
+
this.close();
|
9626 |
+
}
|
9627 |
+
// merge options
|
9628 |
+
this.options = jQuery.extend({}, this.defaults, options);
|
9629 |
+
|
9630 |
+
// set renderer
|
9631 |
+
this.setRenderer(this.options.renderer);
|
9632 |
+
|
9633 |
+
// init overlay
|
9634 |
+
this.initOverlay();
|
9635 |
+
|
9636 |
+
// toggle overlay
|
9637 |
+
this.toggleOverlay(this.options.overlay);
|
9638 |
+
|
9639 |
+
if(this.options.type !== null) {
|
9640 |
+
// insert modal depending on its type
|
9641 |
+
if(this.options.type === 'popup') {
|
9642 |
+
var modal = this.compileTemplate(
|
9643 |
+
this.templates[this.options.type]
|
9644 |
+
);
|
9645 |
+
// create modal
|
9646 |
+
jQuery('#mailpoet_modal_overlay')
|
9647 |
+
.append(modal(this.options));
|
9648 |
+
// set title
|
9649 |
+
jQuery('#mailpoet_popup_title h2')
|
9650 |
+
.html(this.options.title);
|
9651 |
+
} else if(this.options.type === 'panel') {
|
9652 |
+
// create panel
|
9653 |
+
jQuery('#mailpoet_modal_overlay')
|
9654 |
+
.after(this.templates[this.options.type]);
|
9655 |
+
}
|
9656 |
+
|
9657 |
+
// add proper overlay class
|
9658 |
+
jQuery('#mailpoet_modal_overlay')
|
9659 |
+
.removeClass('mailpoet_popup_overlay mailpoet_panel_overlay')
|
9660 |
+
.addClass('mailpoet_'+this.options.type+'_overlay');
|
9661 |
+
}
|
9662 |
+
|
9663 |
+
// set "success" callback if specified
|
9664 |
+
if(options.onSuccess !== undefined) {
|
9665 |
+
this.options.onSuccess = options.onSuccess;
|
9666 |
+
}
|
9667 |
+
|
9668 |
+
// set "cancel" callback if specified
|
9669 |
+
if(options.onCancel !== undefined) {
|
9670 |
+
this.options.onCancel = options.onCancel;
|
9671 |
+
}
|
9672 |
+
|
9673 |
+
// compile template
|
9674 |
+
this.options.body_template = this.compileTemplate(
|
9675 |
+
this.options.template
|
9676 |
+
);
|
9677 |
+
|
9678 |
+
// setup events
|
9679 |
+
this.setupEvents();
|
9680 |
+
|
9681 |
+
// set popup as initialized
|
9682 |
+
this.initialized = true;
|
9683 |
+
|
9684 |
+
return this;
|
9685 |
+
},
|
9686 |
+
initOverlay: function(toggle) {
|
9687 |
+
if(jQuery('#mailpoet_modal_overlay').length === 0) {
|
9688 |
+
// insert overlay into the DOM
|
9689 |
+
jQuery('body').append(this.templates.overlay);
|
9690 |
+
// insert loading indicator into overlay
|
9691 |
+
jQuery('#mailpoet_modal_overlay').append(this.templates.loading);
|
9692 |
+
}
|
9693 |
+
return this;
|
9694 |
+
},
|
9695 |
+
toggleOverlay: function(toggle) {
|
9696 |
+
if(toggle === true) {
|
9697 |
+
jQuery('#mailpoet_modal_overlay')
|
9698 |
+
.removeClass('mailpoet_overlay_hidden');
|
9699 |
+
} else {
|
9700 |
+
jQuery('#mailpoet_modal_overlay')
|
9701 |
+
.addClass('mailpoet_overlay_hidden');
|
9702 |
+
}
|
9703 |
+
|
9704 |
+
return this;
|
9705 |
+
},
|
9706 |
+
setupEvents: function() {
|
9707 |
+
// close popup when user clicks on close button
|
9708 |
+
jQuery('#mailpoet_modal_close').on('click', this.cancel.bind(this));
|
9709 |
+
|
9710 |
+
// close popup when user clicks on overlay
|
9711 |
+
jQuery('#mailpoet_modal_overlay').on('click', function(e) {
|
9712 |
+
// we need to make sure that we are actually clicking on the overlay
|
9713 |
+
// because when clicking on the popup content, it will trigger
|
9714 |
+
// the click event on the overlay
|
9715 |
+
if(e.target.id === 'mailpoet_modal_overlay') { this.cancel(); }
|
9716 |
+
}.bind(this));
|
9717 |
+
|
9718 |
+
// close popup when user presses ESC key
|
9719 |
+
jQuery(document).on('keyup.mailpoet_modal', function(e) {
|
9720 |
+
if(this.opened === false) { return false; }
|
9721 |
+
if(e.keyCode === 27) { this.cancel(); }
|
9722 |
+
}.bind(this));
|
9723 |
+
|
9724 |
+
// make sure the popup is repositioned when the window is resized
|
9725 |
+
jQuery(window).on('resize.mailpoet_modal', function() {
|
9726 |
+
this.setPosition();
|
9727 |
+
}.bind(this));
|
9728 |
+
|
9729 |
+
return this;
|
9730 |
+
},
|
9731 |
+
removeEvents: function() {
|
9732 |
+
jQuery(document).unbind('keyup.mailpoet_modal');
|
9733 |
+
jQuery(window).unbind('resize.mailpoet_modal');
|
9734 |
+
jQuery('#mailpoet_modal_close').off('click');
|
9735 |
+
if(this.options.overlay === true) {
|
9736 |
+
jQuery('#mailpoet_modal_overlay').off('click');
|
9737 |
+
}
|
9738 |
+
|
9739 |
+
return this;
|
9740 |
+
},
|
9741 |
+
lock: function() {
|
9742 |
+
this.locked = true;
|
9743 |
+
|
9744 |
+
return this;
|
9745 |
+
},
|
9746 |
+
unlock: function() {
|
9747 |
+
this.locked = false;
|
9748 |
+
|
9749 |
+
return this;
|
9750 |
+
},
|
9751 |
+
isLocked: function() {
|
9752 |
+
return this.locked;
|
9753 |
+
},
|
9754 |
+
loadTemplate: function() {
|
9755 |
+
if(this.subpanels.length > 0) {
|
9756 |
+
// hide panel
|
9757 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').hide();
|
9758 |
+
|
9759 |
+
// add sub panel wrapper
|
9760 |
+
jQuery('#mailpoet_'+this.options.type)
|
9761 |
+
.append(this.templates['subpanel']);
|
9762 |
+
|
9763 |
+
// add sub panel content
|
9764 |
+
jQuery('.mailpoet_'+this.options.type+'_body').last()
|
9765 |
+
.html(this.subpanels[(this.subpanels.length - 1)].element);
|
9766 |
+
|
9767 |
+
// focus on sub panel
|
9768 |
+
if(this.options.focus) {
|
9769 |
+
this.focus();
|
9770 |
+
}
|
9771 |
+
} else if (this.options.element) {
|
9772 |
+
jQuery('.mailpoet_'+this.options.type+'_body').empty();
|
9773 |
+
jQuery('.mailpoet_'+this.options.type+'_body')
|
9774 |
+
.append(this.options.element);
|
9775 |
+
} else {
|
9776 |
+
jQuery('.mailpoet_'+this.options.type+'_body')
|
9777 |
+
.html(
|
9778 |
+
this.options.body_template(
|
9779 |
+
this.options.data
|
9780 |
+
)
|
9781 |
+
);
|
9782 |
+
}
|
9783 |
+
|
9784 |
+
return this;
|
9785 |
+
},
|
9786 |
+
loadUrl: function() {
|
9787 |
+
if(this.options.method === 'get') {
|
9788 |
+
// make ajax request
|
9789 |
+
jQuery.getJSON(this.options.url,
|
9790 |
+
function(data) {
|
9791 |
+
this.options.data = jQuery.extend({}, this.options.data, data);
|
9792 |
+
// load template using fetched data
|
9793 |
+
this.loadTemplate();
|
9794 |
+
// show modal window
|
9795 |
+
this.showModal();
|
9796 |
+
}.bind(this)
|
9797 |
+
);
|
9798 |
+
} else if(this.options.method === 'post') {
|
9799 |
+
// make ajax request
|
9800 |
+
jQuery.post(this.options.url, JSON.stringify(this.options.params),
|
9801 |
+
function(data) {
|
9802 |
+
this.options.data = jQuery.extend({}, this.options.data, data);
|
9803 |
+
// load template using fetched data
|
9804 |
+
this.loadTemplate();
|
9805 |
+
// show modal window
|
9806 |
+
this.showModal();
|
9807 |
+
}.bind(this),
|
9808 |
+
'json'
|
9809 |
+
);
|
9810 |
+
}
|
9811 |
+
|
9812 |
+
return this;
|
9813 |
+
},
|
9814 |
+
setDimensions: function() {
|
9815 |
+
switch(this.options.type) {
|
9816 |
+
case 'popup':
|
9817 |
+
console.log(this.options)
|
9818 |
+
// set popup dimensions
|
9819 |
+
jQuery('#mailpoet_popup').css({
|
9820 |
+
width: this.options.width,
|
9821 |
+
height: this.options.height
|
9822 |
+
});
|
9823 |
+
// set popup wrapper height
|
9824 |
+
jQuery('#mailpoet_popup_wrapper').css({
|
9825 |
+
height: this.options.height
|
9826 |
+
});
|
9827 |
+
break;
|
9828 |
+
case 'panel':
|
9829 |
+
// set dimensions
|
9830 |
+
if(this.options.position === 'right') {
|
9831 |
+
jQuery('#mailpoet_panel').css({
|
9832 |
+
width: this.options.width,
|
9833 |
+
right: 0,
|
9834 |
+
marginRight: '-' + this.options.width,
|
9835 |
+
left: 'auto'
|
9836 |
+
});
|
9837 |
+
} else if(this.options.position === 'left') {
|
9838 |
+
jQuery('#mailpoet_panel').css({
|
9839 |
+
width: this.options.width,
|
9840 |
+
left: 0,
|
9841 |
+
marginLeft: '-' + this.options.width,
|
9842 |
+
right: 'auto'
|
9843 |
+
});
|
9844 |
+
}
|
9845 |
+
jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
|
9846 |
+
break;
|
9847 |
+
}
|
9848 |
+
|
9849 |
+
return this;
|
9850 |
+
},
|
9851 |
+
setPosition: function() {
|
9852 |
+
switch(this.options.type) {
|
9853 |
+
case 'popup':
|
9854 |
+
var screenWidth = jQuery(window).width(),
|
9855 |
+
screenHeight = jQuery(window).height(),
|
9856 |
+
modalWidth = jQuery('.mailpoet_'+ this.options.type +'_wrapper').width(),
|
9857 |
+
modalHeight = jQuery('.mailpoet_'+ this.options.type +'_wrapper').height();
|
9858 |
+
|
9859 |
+
var top = Math.max(48, parseInt((screenHeight / 2) - (modalHeight / 2))),
|
9860 |
+
left = Math.max(0, parseInt((screenWidth / 2) - (modalWidth / 2)));
|
9861 |
+
|
9862 |
+
// set position of popup depending on screen dimensions.
|
9863 |
+
jQuery('#mailpoet_popup').css({
|
9864 |
+
top: top,
|
9865 |
+
left: left
|
9866 |
+
});
|
9867 |
+
break;
|
9868 |
+
case 'panel':
|
9869 |
+
setTimeout(function() {
|
9870 |
+
// set position of popup depending on screen dimensions.
|
9871 |
+
if(this.options.position === 'right') {
|
9872 |
+
jQuery('#mailpoet_panel').css({
|
9873 |
+
marginRight: 0
|
9874 |
+
});
|
9875 |
+
} else if(this.options.position === 'left') {
|
9876 |
+
jQuery('#mailpoet_panel').css({
|
9877 |
+
marginLeft: 0
|
9878 |
+
});
|
9879 |
+
}
|
9880 |
+
}.bind(this), 0);
|
9881 |
+
break;
|
9882 |
+
}
|
9883 |
+
|
9884 |
+
return this;
|
9885 |
+
},
|
9886 |
+
showModal: function() {
|
9887 |
+
// set modal dimensions
|
9888 |
+
this.setDimensions();
|
9889 |
+
|
9890 |
+
// remember the previously focused element
|
9891 |
+
this.prevFocus = jQuery(':focus');
|
9892 |
+
|
9893 |
+
// add a flag on the body so that we can prevent scrolling
|
9894 |
+
jQuery('body').addClass('mailpoet_modal_opened');
|
9895 |
+
|
9896 |
+
// show popup
|
9897 |
+
jQuery('#mailpoet_'+this.options.type).show();
|
9898 |
+
|
9899 |
+
// display overlay
|
9900 |
+
this.showOverlay();
|
9901 |
+
|
9902 |
+
// set modal position
|
9903 |
+
this.setPosition();
|
9904 |
+
|
9905 |
+
// add class on highlighted elements
|
9906 |
+
if(this.options.highlight !== null) {
|
9907 |
+
if(this.options.highlight.length > 0) {
|
9908 |
+
this.highlightOn(this.options.highlight);
|
9909 |
+
}
|
9910 |
+
}
|
9911 |
+
|
9912 |
+
if(this.options.focus) {
|
9913 |
+
this.focus();
|
9914 |
+
}
|
9915 |
+
|
9916 |
+
// set popup as opened
|
9917 |
+
this.opened = true;
|
9918 |
+
|
9919 |
+
// trigger init event if specified
|
9920 |
+
if(this.options.onInit !== null) {
|
9921 |
+
this.options.onInit(this);
|
9922 |
+
}
|
9923 |
+
|
9924 |
+
return this;
|
9925 |
+
},
|
9926 |
+
focus: function() {
|
9927 |
+
if(this.options.type == 'popup') {
|
9928 |
+
jQuery('#mailpoet_'+this.options.type).focus();
|
9929 |
+
} else {
|
9930 |
+
// panel and subpanel
|
9931 |
+
jQuery('#mailpoet_'+this.options.type+' .mailpoet_panel_wrapper')
|
9932 |
+
.filter(':visible').focus();
|
9933 |
+
}
|
9934 |
+
return this;
|
9935 |
+
},
|
9936 |
+
highlightOn: function(element) {
|
9937 |
+
jQuery(element).addClass('mailpoet_modal_highlight');
|
9938 |
+
return this;
|
9939 |
+
},
|
9940 |
+
highlightOff: function() {
|
9941 |
+
jQuery('.mailpoet_modal_highlight')
|
9942 |
+
.removeClass('mailpoet_modal_highlight');
|
9943 |
+
return this;
|
9944 |
+
},
|
9945 |
+
hideModal: function(callback) {
|
9946 |
+
// set modal as closed
|
9947 |
+
this.opened = false;
|
9948 |
+
|
9949 |
+
// hide modal
|
9950 |
+
jQuery('#mailpoet_'+this.options.type).hide();
|
9951 |
+
|
9952 |
+
// remove class on highlighted elements
|
9953 |
+
this.highlightOff();
|
9954 |
+
|
9955 |
+
// remove class from body to let it be scrollable
|
9956 |
+
jQuery('body').removeClass('mailpoet_modal_opened');
|
9957 |
+
|
9958 |
+
return this;
|
9959 |
+
},
|
9960 |
+
showOverlay: function(force) {
|
9961 |
+
jQuery('#mailpoet_modal_overlay').show();
|
9962 |
+
return this;
|
9963 |
+
},
|
9964 |
+
hideOverlay: function() {
|
9965 |
+
jQuery('#mailpoet_modal_overlay').hide();
|
9966 |
+
return this;
|
9967 |
+
},
|
9968 |
+
popup: function(options) {
|
9969 |
+
// get options
|
9970 |
+
options = options || {};
|
9971 |
+
// set modal type
|
9972 |
+
options.type = 'popup';
|
9973 |
+
// set overlay state
|
9974 |
+
options.overlay = options.overlay || true;
|
9975 |
+
// initialize modal
|
9976 |
+
this.init(options);
|
9977 |
+
// open modal
|
9978 |
+
this.open();
|
9979 |
+
|
9980 |
+
return this;
|
9981 |
+
},
|
9982 |
+
panel: function(options) {
|
9983 |
+
// get options
|
9984 |
+
options = options || {};
|
9985 |
+
// reset subpanels
|
9986 |
+
this.subpanels = [];
|
9987 |
+
// set modal type
|
9988 |
+
options.type = 'panel';
|
9989 |
+
// set overlay state
|
9990 |
+
options.overlay = options.overlay || false;
|
9991 |
+
// set highlighted element
|
9992 |
+
options.highlight = options.highlight || null;
|
9993 |
+
// set modal dimensions
|
9994 |
+
options.width = options.width || '40%';
|
9995 |
+
options.height = options.height || 'auto';
|
9996 |
+
// initialize modal
|
9997 |
+
this.init(options);
|
9998 |
+
// open modal
|
9999 |
+
this.open();
|
10000 |
+
|
10001 |
+
return this;
|
10002 |
+
},
|
10003 |
+
subpanel: function(options) {
|
10004 |
+
if(this.opened === false) {
|
10005 |
+
// if no panel is already opened, let's create one instead
|
10006 |
+
this.panel(options);
|
10007 |
+
} else {
|
10008 |
+
// if a panel is already opened, add a sub panel to it
|
10009 |
+
this.subpanels.push(options);
|
10010 |
+
this.loadTemplate();
|
10011 |
+
}
|
10012 |
+
|
10013 |
+
return this;
|
10014 |
+
},
|
10015 |
+
loading: function(toggle) {
|
10016 |
+
// make sure the overlay is initialized and that it's visible
|
10017 |
+
this.initOverlay(true);
|
10018 |
+
|
10019 |
+
if(toggle === true) {
|
10020 |
+
this.showLoading();
|
10021 |
+
} else {
|
10022 |
+
this.hideLoading();
|
10023 |
+
}
|
10024 |
+
|
10025 |
+
return this;
|
10026 |
+
},
|
10027 |
+
showLoading: function() {
|
10028 |
+
jQuery('#mailpoet_loading').show();
|
10029 |
+
|
10030 |
+
// add loading class to overlay
|
10031 |
+
jQuery('#mailpoet_modal_overlay')
|
10032 |
+
.addClass('mailpoet_overlay_loading');
|
10033 |
+
|
10034 |
+
return this;
|
10035 |
+
},
|
10036 |
+
hideLoading: function() {
|
10037 |
+
jQuery('#mailpoet_loading').hide();
|
10038 |
+
|
10039 |
+
// remove loading class from overlay
|
10040 |
+
jQuery('#mailpoet_modal_overlay')
|
10041 |
+
.removeClass('mailpoet_overlay_loading');
|
10042 |
+
|
10043 |
+
return this;
|
10044 |
+
},
|
10045 |
+
open: function() {
|
10046 |
+
// load template if specified
|
10047 |
+
if(this.options.template !== null) {
|
10048 |
+
// check if a url was specified to get extra data
|
10049 |
+
if(this.options.url !== null) {
|
10050 |
+
this.loadUrl();
|
10051 |
+
} else {
|
10052 |
+
// load template
|
10053 |
+
this.loadTemplate();
|
10054 |
+
|
10055 |
+
// show modal window
|
10056 |
+
this.showModal();
|
10057 |
+
}
|
10058 |
+
} else {
|
10059 |
+
this.cancel();
|
10060 |
+
}
|
10061 |
+
|
10062 |
+
return this;
|
10063 |
+
},
|
10064 |
+
success: function() {
|
10065 |
+
if(this.subpanels.length > 0) {
|
10066 |
+
if(this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
|
10067 |
+
this.subpanels[(this.subpanels.length - 1)].onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
|
10068 |
+
}
|
10069 |
+
} else {
|
10070 |
+
if(this.options.onSuccess !== null) {
|
10071 |
+
this.options.onSuccess(this.options.data);
|
10072 |
+
}
|
10073 |
+
}
|
10074 |
+
this.close();
|
10075 |
+
|
10076 |
+
return this;
|
10077 |
+
},
|
10078 |
+
cancel: function() {
|
10079 |
+
if(this.subpanels.length > 0) {
|
10080 |
+
if(this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
|
10081 |
+
this.subpanels[(this.subpanels.length - 1)].onCancel(this.subpanels[(this.subpanels.length - 1)].data);
|
10082 |
+
}
|
10083 |
+
} else {
|
10084 |
+
if(this.options.onCancel !== null) {
|
10085 |
+
this.options.onCancel(this.options.data);
|
10086 |
+
}
|
10087 |
+
}
|
10088 |
+
this.close();
|
10089 |
+
|
10090 |
+
return this;
|
10091 |
+
},
|
10092 |
+
destroy: function() {
|
10093 |
+
this.hideOverlay();
|
10094 |
+
|
10095 |
+
// remove extra modal
|
10096 |
+
if(jQuery('#mailpoet_'+this.options.type).length > 0) {
|
10097 |
+
jQuery('#mailpoet_'+this.options.type).remove();
|
10098 |
+
}
|
10099 |
+
|
10100 |
+
this.initialized = false;
|
10101 |
+
|
10102 |
+
return this;
|
10103 |
+
},
|
10104 |
+
close: function() {
|
10105 |
+
if(this.isLocked() === true) { return this; }
|
10106 |
+
|
10107 |
+
if(this.subpanels.length > 0) {
|
10108 |
+
// close subpanel
|
10109 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').last().remove();
|
10110 |
+
|
10111 |
+
// show previous panel
|
10112 |
+
jQuery('.mailpoet_'+this.options.type+'_wrapper').last().show();
|
10113 |
+
|
10114 |
+
// remove last subpanels
|
10115 |
+
this.subpanels.pop();
|
10116 |
+
|
10117 |
+
// focus on previous panel
|
10118 |
+
if(this.options.focus) {
|
10119 |
+
this.focus();
|
10120 |
+
}
|
10121 |
+
|
10122 |
+
return this;
|
10123 |
+
}
|
10124 |
+
|
10125 |
+
// remove event handlers
|
10126 |
+
this.removeEvents();
|
10127 |
+
|
10128 |
+
// hide modal window
|
10129 |
+
this.hideModal();
|
10130 |
+
|
10131 |
+
// destroy modal element
|
10132 |
+
this.destroy();
|
10133 |
+
|
10134 |
+
// restore the previously focused element
|
10135 |
+
if(this.prevFocus !== undefined){
|
10136 |
+
this.prevFocus.focus();
|
10137 |
+
}
|
10138 |
+
|
10139 |
+
// reset options
|
10140 |
+
this.options = {
|
10141 |
+
onSuccess: null,
|
10142 |
+
onCancel: null
|
10143 |
+
};
|
10144 |
+
|
10145 |
+
return this;
|
10146 |
+
}
|
10147 |
+
};
|
10148 |
+
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
10149 |
+
|
10150 |
|
10151 |
|
10152 |
/***/ },
|
28062 |
});
|
28063 |
|
28064 |
var view = this.previewView.render();
|
28065 |
+
this.previewView.$el.css('height', '100%');
|
28066 |
+
|
28067 |
MailPoet.Modal.popup({
|
28068 |
template: '',
|
28069 |
element: this.previewView.$el,
|
28070 |
+
width: '95%',
|
28071 |
+
height: '94%',
|
28072 |
title: MailPoet.I18n.t('newsletterPreview'),
|
28073 |
onCancel: function() {
|
28074 |
this.previewView.destroy();
|
28133 |
getTemplate: function() { return templates.newsletterPreview; },
|
28134 |
initialize: function(options) {
|
28135 |
this.previewUrl = options.previewUrl;
|
28136 |
+
this.width = '100%';
|
28137 |
+
this.height = '100%';
|
28138 |
+
// this.width = App.getConfig().get('newsletterPreview.width');
|
28139 |
+
// this.height = App.getConfig().get('newsletterPreview.height')
|
28140 |
},
|
28141 |
templateContext: function() {
|
28142 |
return {
|
assets/js/{vendor.6d57818a.js → vendor.c136ccd7.js}
RENAMED
@@ -76,7 +76,7 @@
|
|
76 |
/******/ script.charset = 'utf-8';
|
77 |
/******/ script.async = true;
|
78 |
|
79 |
-
/******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"54487ca1","1":"
|
80 |
/******/ head.appendChild(script);
|
81 |
/******/ }
|
82 |
/******/ };
|
76 |
/******/ script.charset = 'utf-8';
|
77 |
/******/ script.async = true;
|
78 |
|
79 |
+
/******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"54487ca1","1":"0d291531","2":"4ee01c41","3":"61d759cb","4":"29626a1d"}[chunkId] + ".chunk.js";
|
80 |
/******/ head.appendChild(script);
|
81 |
/******/ }
|
82 |
/******/ };
|
lang/mailpoet-de_DE.mo
CHANGED
Binary file
|
lang/mailpoet-en_GB.mo
CHANGED
Binary file
|
lang/mailpoet-es_ES.mo
CHANGED
Binary file
|
lang/mailpoet-fa_IR.mo
CHANGED
Binary file
|
lang/mailpoet-fr_CA.mo
CHANGED
Binary file
|
lang/mailpoet-fr_FR.mo
CHANGED
Binary file
|
lang/mailpoet-it_IT.mo
CHANGED
Binary file
|
lang/mailpoet-ja.mo
CHANGED
Binary file
|
lang/mailpoet-nl_NL.mo
CHANGED
Binary file
|
lang/mailpoet-pl_PL.mo
CHANGED
Binary file
|
lang/mailpoet-pt_BR.mo
CHANGED
Binary file
|
lang/mailpoet-pt_PT.mo
CHANGED
Binary file
|
lang/mailpoet-ru_RU.mo
CHANGED
Binary file
|
lang/mailpoet-tr_TR.mo
ADDED
Binary file
|
lang/mailpoet.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
|
7 |
-
"POT-Creation-Date: 2017-08-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -382,7 +382,7 @@ msgstr ""
|
|
382 |
msgid "Form Editor"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: lib/Config/Menu.php:270 lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
386 |
#: views/newsletter/templates/components/sidebar/styles.hbs:74
|
387 |
#: views/newsletters.html:120
|
388 |
msgid "Newsletter"
|
@@ -1072,7 +1072,7 @@ msgstr ""
|
|
1072 |
|
1073 |
#: lib/Form/Block/Date.php:95 lib/Form/Block/Date.php:111
|
1074 |
#: lib/Form/Block/Date.php:173
|
1075 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1076 |
#: views/form/templates/blocks/date_years.hbs:5
|
1077 |
#: views/subscribers/subscribers.html:90
|
1078 |
msgid "Year"
|
@@ -1158,23 +1158,23 @@ msgstr ""
|
|
1158 |
msgid "END Scripts"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#: lib/Form/Widget.php:
|
1162 |
msgid "MailPoet Form"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: lib/Form/Widget.php:
|
1166 |
msgid "Add a newsletter subscription form"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#: lib/Form/Widget.php:
|
1170 |
msgid "Subscribe to Our Newsletter"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
-
#: lib/Form/Widget.php:
|
1174 |
msgid "Title:"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: lib/Form/Widget.php:
|
1178 |
msgid "Create a new form"
|
1179 |
msgstr ""
|
1180 |
|
@@ -1254,7 +1254,7 @@ msgid "Deleted list"
|
|
1254 |
msgstr ""
|
1255 |
|
1256 |
#: lib/Models/Newsletter.php:541 lib/Models/Subscriber.php:278
|
1257 |
-
#: lib/Subscribers/ImportExport/Export/Export.php:
|
1258 |
msgid "All Lists"
|
1259 |
msgstr ""
|
1260 |
|
@@ -1368,108 +1368,108 @@ msgstr ""
|
|
1368 |
msgid "Click here to view media."
|
1369 |
msgstr ""
|
1370 |
|
1371 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1372 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:107
|
1373 |
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:108
|
|
|
1374 |
#: views/subscribers/subscribers.html:64
|
1375 |
msgid "Subscriber"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1379 |
msgid "First Name"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1383 |
msgid "Last Name"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1387 |
msgid "Email Address"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1391 |
msgid "WordPress User Display Name"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1395 |
msgid "Total Number of Subscribers"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1399 |
msgid "Newsletter Subject"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1403 |
msgid "Post Notifications"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1407 |
msgid "Total Number of Posts or Pages"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1411 |
msgid "Most Recent Post Title"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1415 |
msgid "Issue Number"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1419 |
#: views/form/templates/settings/field_form.hbs:41
|
1420 |
msgid "Date"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1424 |
msgid "Current day of the month number"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1428 |
msgid "Current day of the month in ordinal form, i.e. 2nd, 3rd, 4th, etc."
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1432 |
msgid "Full name of current day"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1436 |
msgid "Current month number"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1440 |
msgid "Full name of current month"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1444 |
#: views/newsletter/templates/blocks/footer/settings.hbs:22
|
1445 |
#: views/newsletter/templates/blocks/header/settings.hbs:22
|
1446 |
#: views/newsletter/templates/components/sidebar/styles.hbs:68
|
1447 |
msgid "Links"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1451 |
msgid "Unsubscribe link"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1455 |
#: views/newsletter/editor.html:1045
|
1456 |
msgid "Unsubscribe"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1460 |
msgid "Edit subscription page link"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1464 |
#: views/newsletter/editor.html:1045
|
1465 |
msgid "Manage subscription"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1469 |
msgid "View in browser link"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:
|
1473 |
msgid "View in your browser"
|
1474 |
msgstr ""
|
1475 |
|
@@ -1486,19 +1486,19 @@ msgstr ""
|
|
1486 |
msgid "MailPoet Page"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: lib/Subscribers/ImportExport/Export/Export.php:
|
1490 |
msgid "The export file could not be saved on the server."
|
1491 |
msgstr ""
|
1492 |
|
1493 |
-
#: lib/Subscribers/ImportExport/Export/Export.php:
|
1494 |
msgid "Export requires a ZIP extension to be installed on the host."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: lib/Subscribers/ImportExport/Export/Export.php:
|
1498 |
msgid "List"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: lib/Subscribers/ImportExport/Export/Export.php:
|
1502 |
msgid "Not In Segment"
|
1503 |
msgstr ""
|
1504 |
|
@@ -1999,7 +1999,7 @@ msgstr ""
|
|
1999 |
msgid "Delete field"
|
2000 |
msgstr ""
|
2001 |
|
2002 |
-
#: views/form/widget.html:
|
2003 |
msgid "An error occurred, make sure you have filled all the required fields."
|
2004 |
msgstr ""
|
2005 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
|
7 |
+
"POT-Creation-Date: 2017-08-15 09:25:21+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
382 |
msgid "Form Editor"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: lib/Config/Menu.php:270 lib/Newsletter/Shortcodes/ShortcodesHelper.php:33
|
386 |
#: views/newsletter/templates/components/sidebar/styles.hbs:74
|
387 |
#: views/newsletters.html:120
|
388 |
msgid "Newsletter"
|
1072 |
|
1073 |
#: lib/Form/Block/Date.php:95 lib/Form/Block/Date.php:111
|
1074 |
#: lib/Form/Block/Date.php:173
|
1075 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:75
|
1076 |
#: views/form/templates/blocks/date_years.hbs:5
|
1077 |
#: views/subscribers/subscribers.html:90
|
1078 |
msgid "Year"
|
1158 |
msgid "END Scripts"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: lib/Form/Widget.php:18
|
1162 |
msgid "MailPoet Form"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: lib/Form/Widget.php:20
|
1166 |
msgid "Add a newsletter subscription form"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: lib/Form/Widget.php:43
|
1170 |
msgid "Subscribe to Our Newsletter"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: lib/Form/Widget.php:58
|
1174 |
msgid "Title:"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: lib/Form/Widget.php:78
|
1178 |
msgid "Create a new form"
|
1179 |
msgstr ""
|
1180 |
|
1254 |
msgstr ""
|
1255 |
|
1256 |
#: lib/Models/Newsletter.php:541 lib/Models/Subscriber.php:278
|
1257 |
+
#: lib/Subscribers/ImportExport/Export/Export.php:173
|
1258 |
msgid "All Lists"
|
1259 |
msgstr ""
|
1260 |
|
1368 |
msgid "Click here to view media."
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:11
|
|
|
1372 |
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:108
|
1373 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:109
|
1374 |
#: views/subscribers/subscribers.html:64
|
1375 |
msgid "Subscriber"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:13
|
1379 |
msgid "First Name"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:17
|
1383 |
msgid "Last Name"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:21
|
1387 |
msgid "Email Address"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:25
|
1391 |
msgid "WordPress User Display Name"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:29
|
1395 |
msgid "Total Number of Subscribers"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:35
|
1399 |
msgid "Newsletter Subject"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:39 views/newsletters.html:27
|
1403 |
msgid "Post Notifications"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:41
|
1407 |
msgid "Total Number of Posts or Pages"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:45
|
1411 |
msgid "Most Recent Post Title"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:49
|
1415 |
msgid "Issue Number"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:53
|
1419 |
#: views/form/templates/settings/field_form.hbs:41
|
1420 |
msgid "Date"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:55
|
1424 |
msgid "Current day of the month number"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:59
|
1428 |
msgid "Current day of the month in ordinal form, i.e. 2nd, 3rd, 4th, etc."
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:63
|
1432 |
msgid "Full name of current day"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:67
|
1436 |
msgid "Current month number"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:71
|
1440 |
msgid "Full name of current month"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:79
|
1444 |
#: views/newsletter/templates/blocks/footer/settings.hbs:22
|
1445 |
#: views/newsletter/templates/blocks/header/settings.hbs:22
|
1446 |
#: views/newsletter/templates/components/sidebar/styles.hbs:68
|
1447 |
msgid "Links"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:81
|
1451 |
msgid "Unsubscribe link"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:85
|
1455 |
#: views/newsletter/editor.html:1045
|
1456 |
msgid "Unsubscribe"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:89
|
1460 |
msgid "Edit subscription page link"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:93
|
1464 |
#: views/newsletter/editor.html:1045
|
1465 |
msgid "Manage subscription"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:97
|
1469 |
msgid "View in browser link"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:101
|
1473 |
msgid "View in your browser"
|
1474 |
msgstr ""
|
1475 |
|
1486 |
msgid "MailPoet Page"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
+
#: lib/Subscribers/ImportExport/Export/Export.php:53
|
1490 |
msgid "The export file could not be saved on the server."
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: lib/Subscribers/ImportExport/Export/Export.php:56
|
1494 |
msgid "Export requires a ZIP extension to be installed on the host."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: lib/Subscribers/ImportExport/Export/Export.php:85 views/segments.html:29
|
1498 |
msgid "List"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
+
#: lib/Subscribers/ImportExport/Export/Export.php:206
|
1502 |
msgid "Not In Segment"
|
1503 |
msgstr ""
|
1504 |
|
1999 |
msgid "Delete field"
|
2000 |
msgstr ""
|
2001 |
|
2002 |
+
#: views/form/widget.html:36
|
2003 |
msgid "An error occurred, make sure you have filled all the required fields."
|
2004 |
msgstr ""
|
2005 |
|
lib/Config/MP2Migrator.php
CHANGED
@@ -2,21 +2,19 @@
|
|
2 |
|
3 |
namespace MailPoet\Config;
|
4 |
|
5 |
-
use MailPoet\
|
6 |
use MailPoet\Models\Form;
|
7 |
-
use MailPoet\Models\
|
8 |
use MailPoet\Models\Segment;
|
|
|
9 |
use MailPoet\Models\Subscriber;
|
10 |
-
use MailPoet\Models\CustomField;
|
11 |
-
use MailPoet\Models\SubscriberSegment;
|
12 |
use MailPoet\Models\SubscriberCustomField;
|
13 |
-
use MailPoet\Models\
|
14 |
-
use MailPoet\
|
15 |
|
16 |
if(!defined('ABSPATH')) exit;
|
17 |
|
18 |
class MP2Migrator {
|
19 |
-
|
20 |
const IMPORT_TIMEOUT_IN_SECONDS = 7200; // Timeout = 2 hours
|
21 |
const CHUNK_SIZE = 10; // To import the data by batch
|
22 |
|
@@ -145,7 +143,9 @@ class MP2Migrator {
|
|
145 |
* @return string Result
|
146 |
*/
|
147 |
public function import() {
|
148 |
-
|
|
|
|
|
149 |
ob_start();
|
150 |
$datetime = new \MailPoet\WP\DateTime();
|
151 |
$this->log(sprintf('=== ' . __('START IMPORT', 'mailpoet') . ' %s ===', $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)));
|
@@ -867,10 +867,10 @@ class MP2Migrator {
|
|
867 |
'type' => $type,
|
868 |
'name' => $field['name'],
|
869 |
'id' => $field_id,
|
870 |
-
'unique' => !in_array($field['type'], array('html', 'divider', 'email', 'submit'))? "1" : "0",
|
871 |
-
'static' => in_array($field_id, array('email', 'submit'))? "1" : "0",
|
872 |
'params' => $params,
|
873 |
-
'position' => isset($field['position'])? $field['position'] : '',
|
874 |
);
|
875 |
}
|
876 |
|
@@ -956,7 +956,7 @@ class MP2Migrator {
|
|
956 |
|
957 |
/**
|
958 |
* Import the settings
|
959 |
-
*
|
960 |
*/
|
961 |
private function importSettings() {
|
962 |
$encoded_options = get_option('wysija');
|
@@ -988,10 +988,10 @@ class MP2Migrator {
|
|
988 |
$subscribe = Setting::getValue('subscribe');
|
989 |
$subscribe['on_comment']['enabled'] = isset($options['commentform']) ? $options['commentform'] : '0';
|
990 |
$subscribe['on_comment']['label'] = isset($options['commentform_linkname']) ? $options['commentform_linkname'] : '';
|
991 |
-
$subscribe['on_comment']['segments'] = isset($options['commentform_lists'])? $this->getMappedSegmentIds($options['commentform_lists']) : array();
|
992 |
$subscribe['on_register']['enabled'] = isset($options['registerform']) ? $options['registerform'] : '0';
|
993 |
$subscribe['on_register']['label'] = isset($options['registerform_linkname']) ? $options['registerform_linkname'] : '';
|
994 |
-
$subscribe['on_register']['segments'] = isset($options['registerform_lists'])? $this->getMappedSegmentIds($options['registerform_lists']) : array();
|
995 |
Setting::setValue('subscribe', $subscribe);
|
996 |
|
997 |
// Subscription
|
@@ -999,7 +999,7 @@ class MP2Migrator {
|
|
999 |
$subscription['pages']['unsubscribe'] = isset($options['unsubscribe_page']) ? $options['unsubscribe_page'] : '';
|
1000 |
$subscription['pages']['confirmation'] = isset($options['confirmation_page']) ? $options['confirmation_page'] : '';
|
1001 |
$subscription['pages']['manage'] = isset($options['subscriptions_page']) ? $options['subscriptions_page'] : '';
|
1002 |
-
$subscription['segments'] = isset($options['manage_subscriptions_lists'])? $this->getMappedSegmentIds($options['manage_subscriptions_lists']) : array();
|
1003 |
Setting::setValue('subscription', $subscription);
|
1004 |
|
1005 |
// Confirmation email
|
@@ -1047,7 +1047,7 @@ class MP2Migrator {
|
|
1047 |
if($mta['method'] == 'SendGrid') {
|
1048 |
Setting::setValue('smtp_provider', 'SendGrid');
|
1049 |
}
|
1050 |
-
|
1051 |
// Installation date
|
1052 |
if(isset($options['installed_time'])) {
|
1053 |
$datetime = new \MailPoet\WP\DateTime();
|
@@ -1139,5 +1139,4 @@ class MP2Migrator {
|
|
1139 |
}
|
1140 |
return $emails_number;
|
1141 |
}
|
1142 |
-
|
1143 |
-
}
|
2 |
|
3 |
namespace MailPoet\Config;
|
4 |
|
5 |
+
use MailPoet\Models\CustomField;
|
6 |
use MailPoet\Models\Form;
|
7 |
+
use MailPoet\Models\MappingToExternalEntities;
|
8 |
use MailPoet\Models\Segment;
|
9 |
+
use MailPoet\Models\Setting;
|
10 |
use MailPoet\Models\Subscriber;
|
|
|
|
|
11 |
use MailPoet\Models\SubscriberCustomField;
|
12 |
+
use MailPoet\Models\SubscriberSegment;
|
13 |
+
use MailPoet\Util\ProgressBar;
|
14 |
|
15 |
if(!defined('ABSPATH')) exit;
|
16 |
|
17 |
class MP2Migrator {
|
|
|
18 |
const IMPORT_TIMEOUT_IN_SECONDS = 7200; // Timeout = 2 hours
|
19 |
const CHUNK_SIZE = 10; // To import the data by batch
|
20 |
|
143 |
* @return string Result
|
144 |
*/
|
145 |
public function import() {
|
146 |
+
if(strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
|
147 |
+
@set_time_limit(3600);
|
148 |
+
}
|
149 |
ob_start();
|
150 |
$datetime = new \MailPoet\WP\DateTime();
|
151 |
$this->log(sprintf('=== ' . __('START IMPORT', 'mailpoet') . ' %s ===', $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)));
|
867 |
'type' => $type,
|
868 |
'name' => $field['name'],
|
869 |
'id' => $field_id,
|
870 |
+
'unique' => !in_array($field['type'], array('html', 'divider', 'email', 'submit')) ? "1" : "0",
|
871 |
+
'static' => in_array($field_id, array('email', 'submit')) ? "1" : "0",
|
872 |
'params' => $params,
|
873 |
+
'position' => isset($field['position']) ? $field['position'] : '',
|
874 |
);
|
875 |
}
|
876 |
|
956 |
|
957 |
/**
|
958 |
* Import the settings
|
959 |
+
*
|
960 |
*/
|
961 |
private function importSettings() {
|
962 |
$encoded_options = get_option('wysija');
|
988 |
$subscribe = Setting::getValue('subscribe');
|
989 |
$subscribe['on_comment']['enabled'] = isset($options['commentform']) ? $options['commentform'] : '0';
|
990 |
$subscribe['on_comment']['label'] = isset($options['commentform_linkname']) ? $options['commentform_linkname'] : '';
|
991 |
+
$subscribe['on_comment']['segments'] = isset($options['commentform_lists']) ? $this->getMappedSegmentIds($options['commentform_lists']) : array();
|
992 |
$subscribe['on_register']['enabled'] = isset($options['registerform']) ? $options['registerform'] : '0';
|
993 |
$subscribe['on_register']['label'] = isset($options['registerform_linkname']) ? $options['registerform_linkname'] : '';
|
994 |
+
$subscribe['on_register']['segments'] = isset($options['registerform_lists']) ? $this->getMappedSegmentIds($options['registerform_lists']) : array();
|
995 |
Setting::setValue('subscribe', $subscribe);
|
996 |
|
997 |
// Subscription
|
999 |
$subscription['pages']['unsubscribe'] = isset($options['unsubscribe_page']) ? $options['unsubscribe_page'] : '';
|
1000 |
$subscription['pages']['confirmation'] = isset($options['confirmation_page']) ? $options['confirmation_page'] : '';
|
1001 |
$subscription['pages']['manage'] = isset($options['subscriptions_page']) ? $options['subscriptions_page'] : '';
|
1002 |
+
$subscription['segments'] = isset($options['manage_subscriptions_lists']) ? $this->getMappedSegmentIds($options['manage_subscriptions_lists']) : array();
|
1003 |
Setting::setValue('subscription', $subscription);
|
1004 |
|
1005 |
// Confirmation email
|
1047 |
if($mta['method'] == 'SendGrid') {
|
1048 |
Setting::setValue('smtp_provider', 'SendGrid');
|
1049 |
}
|
1050 |
+
|
1051 |
// Installation date
|
1052 |
if(isset($options['installed_time'])) {
|
1053 |
$datetime = new \MailPoet\WP\DateTime();
|
1139 |
}
|
1140 |
return $emails_number;
|
1141 |
}
|
1142 |
+
}
|
|
lib/Form/Widget.php
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
<?php
|
|
|
2 |
namespace MailPoet\Form;
|
|
|
3 |
use MailPoet\API\JSON\API;
|
4 |
use MailPoet\Config\Renderer;
|
5 |
-
use MailPoet\Models\Form;
|
6 |
use MailPoet\Form\Renderer as FormRenderer;
|
|
|
7 |
use MailPoet\Util\Security;
|
|
|
8 |
|
9 |
if(!defined('ABSPATH')) exit;
|
10 |
|
@@ -37,7 +40,7 @@ class Widget extends \WP_Widget {
|
|
37 |
$instance = wp_parse_args(
|
38 |
(array)$instance,
|
39 |
array(
|
40 |
-
'title' => __(
|
41 |
)
|
42 |
);
|
43 |
|
@@ -109,7 +112,7 @@ class Widget extends \WP_Widget {
|
|
109 |
$instance = $args;
|
110 |
}
|
111 |
|
112 |
-
$title =
|
113 |
'widget_title',
|
114 |
!empty($instance['title']) ? $instance['title'] : '',
|
115 |
$instance,
|
@@ -119,7 +122,7 @@ class Widget extends \WP_Widget {
|
|
119 |
// get form
|
120 |
$form = Form::getPublished()->findOne($instance['form']);
|
121 |
|
122 |
-
// if the form was not found, return nothing
|
123 |
if($form === false) {
|
124 |
return '';
|
125 |
} else {
|
@@ -175,6 +178,7 @@ class Widget extends \WP_Widget {
|
|
175 |
try {
|
176 |
$output = $renderer->render('form/widget.html', $data);
|
177 |
$output = do_shortcode($output);
|
|
|
178 |
} catch(\Exception $e) {
|
179 |
$output = $e->getMessage();
|
180 |
}
|
1 |
<?php
|
2 |
+
|
3 |
namespace MailPoet\Form;
|
4 |
+
|
5 |
use MailPoet\API\JSON\API;
|
6 |
use MailPoet\Config\Renderer;
|
|
|
7 |
use MailPoet\Form\Renderer as FormRenderer;
|
8 |
+
use MailPoet\Models\Form;
|
9 |
use MailPoet\Util\Security;
|
10 |
+
use MailPoet\WP\Hooks;
|
11 |
|
12 |
if(!defined('ABSPATH')) exit;
|
13 |
|
40 |
$instance = wp_parse_args(
|
41 |
(array)$instance,
|
42 |
array(
|
43 |
+
'title' => __('Subscribe to Our Newsletter', 'mailpoet')
|
44 |
)
|
45 |
);
|
46 |
|
112 |
$instance = $args;
|
113 |
}
|
114 |
|
115 |
+
$title = Hooks::applyFilters(
|
116 |
'widget_title',
|
117 |
!empty($instance['title']) ? $instance['title'] : '',
|
118 |
$instance,
|
122 |
// get form
|
123 |
$form = Form::getPublished()->findOne($instance['form']);
|
124 |
|
125 |
+
// if the form was not found, return nothing
|
126 |
if($form === false) {
|
127 |
return '';
|
128 |
} else {
|
178 |
try {
|
179 |
$output = $renderer->render('form/widget.html', $data);
|
180 |
$output = do_shortcode($output);
|
181 |
+
$output = Hooks::applyFilters('mailpoet_form_widget_post_process', $output);
|
182 |
} catch(\Exception $e) {
|
183 |
$output = $e->getMessage();
|
184 |
}
|
lib/Newsletter/Shortcodes/Categories/Date.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
namespace MailPoet\Newsletter\Shortcodes\Categories;
|
3 |
|
4 |
class Date {
|
@@ -7,20 +8,19 @@ class Date {
|
|
7 |
$action_argument = false,
|
8 |
$action_argument_value = false
|
9 |
) {
|
10 |
-
$
|
11 |
-
|
12 |
-
'
|
13 |
-
'
|
14 |
-
'
|
15 |
-
'
|
16 |
-
'
|
17 |
-
'y' => $date->format('Y')
|
18 |
);
|
19 |
-
if(!empty($
|
20 |
-
return $
|
21 |
}
|
22 |
return ($action === 'custom' && $action_argument === 'format') ?
|
23 |
-
|
24 |
false;
|
25 |
}
|
26 |
}
|
1 |
<?php
|
2 |
+
|
3 |
namespace MailPoet\Newsletter\Shortcodes\Categories;
|
4 |
|
5 |
class Date {
|
8 |
$action_argument = false,
|
9 |
$action_argument_value = false
|
10 |
) {
|
11 |
+
$action_mapping = array(
|
12 |
+
'd' => 'd',
|
13 |
+
'dordinal' => 'dS',
|
14 |
+
'dtext' => 'l',
|
15 |
+
'm' => 'm',
|
16 |
+
'mtext' => 'F',
|
17 |
+
'y' => 'Y'
|
|
|
18 |
);
|
19 |
+
if(!empty($action_mapping[$action])) {
|
20 |
+
return date_i18n($action_mapping[$action], current_time('timestamp'));
|
21 |
}
|
22 |
return ($action === 'custom' && $action_argument === 'format') ?
|
23 |
+
date_i18n($action_argument_value, current_time('timestamp')) :
|
24 |
false;
|
25 |
}
|
26 |
}
|
lib/Newsletter/Shortcodes/ShortcodesHelper.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
namespace MailPoet\Newsletter\Shortcodes;
|
3 |
|
4 |
use MailPoet\Models\CustomField;
|
@@ -115,7 +116,7 @@ class ShortcodesHelper {
|
|
115 |
static function getCustomFields() {
|
116 |
$custom_fields = CustomField::findMany();
|
117 |
if(!$custom_fields) return false;
|
118 |
-
return array_map(function
|
119 |
return array(
|
120 |
'text' => $custom_field->name,
|
121 |
'shortcode' => '[subscriber:cf_' . $custom_field->id . ']'
|
1 |
<?php
|
2 |
+
|
3 |
namespace MailPoet\Newsletter\Shortcodes;
|
4 |
|
5 |
use MailPoet\Models\CustomField;
|
116 |
static function getCustomFields() {
|
117 |
$custom_fields = CustomField::findMany();
|
118 |
if(!$custom_fields) return false;
|
119 |
+
return array_map(function($custom_field) {
|
120 |
return array(
|
121 |
'text' => $custom_field->name,
|
122 |
'shortcode' => '[subscriber:cf_' . $custom_field->id . ']'
|
lib/Subscribers/ImportExport/Export/Export.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
namespace MailPoet\Subscribers\ImportExport\Export;
|
3 |
|
4 |
use MailPoet\Config\Env;
|
@@ -26,7 +27,9 @@ class Export {
|
|
26 |
public $subscriber_batch_size;
|
27 |
|
28 |
public function __construct($data) {
|
29 |
-
|
|
|
|
|
30 |
$this->export_confirmed_option = $data['export_confirmed_option'];
|
31 |
$this->export_format_option = $data['export_format_option'];
|
32 |
$this->group_by_segment_option = $data['group_by_segment_option'];
|
@@ -47,7 +50,7 @@ class Export {
|
|
47 |
function process() {
|
48 |
try {
|
49 |
if(is_writable($this->export_path) === false) {
|
50 |
-
throw new \Exception(__(
|
51 |
}
|
52 |
if(!extension_loaded('zip')) {
|
53 |
throw new \Exception(__('Export requires a ZIP extension to be installed on the host.', 'mailpoet'));
|
@@ -211,7 +214,7 @@ class Export {
|
|
211 |
} else {
|
212 |
// if all subscribers belong to at least one segment, select the segment name
|
213 |
$subscribers = $subscribers
|
214 |
-
->selectExpr('MAX('.Segment::$_table . '.name) as segment_name')
|
215 |
->whereIn(SubscriberSegment::$_table . '.segment_id', $this->segments);
|
216 |
}
|
217 |
if($this->group_by_segment_option) {
|
@@ -273,4 +276,4 @@ class Export {
|
|
273 |
return $subscriber[$field];
|
274 |
}, $this->subscriber_fields);
|
275 |
}
|
276 |
-
}
|
1 |
<?php
|
2 |
+
|
3 |
namespace MailPoet\Subscribers\ImportExport\Export;
|
4 |
|
5 |
use MailPoet\Config\Env;
|
27 |
public $subscriber_batch_size;
|
28 |
|
29 |
public function __construct($data) {
|
30 |
+
if(strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
|
31 |
+
set_time_limit(0);
|
32 |
+
}
|
33 |
$this->export_confirmed_option = $data['export_confirmed_option'];
|
34 |
$this->export_format_option = $data['export_format_option'];
|
35 |
$this->group_by_segment_option = $data['group_by_segment_option'];
|
50 |
function process() {
|
51 |
try {
|
52 |
if(is_writable($this->export_path) === false) {
|
53 |
+
throw new \Exception(__('The export file could not be saved on the server.', 'mailpoet'));
|
54 |
}
|
55 |
if(!extension_loaded('zip')) {
|
56 |
throw new \Exception(__('Export requires a ZIP extension to be installed on the host.', 'mailpoet'));
|
214 |
} else {
|
215 |
// if all subscribers belong to at least one segment, select the segment name
|
216 |
$subscribers = $subscribers
|
217 |
+
->selectExpr('MAX(' . Segment::$_table . '.name) as segment_name')
|
218 |
->whereIn(SubscriberSegment::$_table . '.segment_id', $this->segments);
|
219 |
}
|
220 |
if($this->group_by_segment_option) {
|
276 |
return $subscriber[$field];
|
277 |
}, $this->subscriber_fields);
|
278 |
}
|
279 |
+
}
|
mailpoet.php
CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
|
|
4 |
|
5 |
/*
|
6 |
* Plugin Name: MailPoet 3 (new)
|
7 |
-
* Version: 3.0.0-rc.1.0.
|
8 |
* Plugin URI: http://www.mailpoet.com
|
9 |
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
|
10 |
* Author: MailPoet
|
@@ -21,7 +21,7 @@ if(!defined('ABSPATH')) exit;
|
|
21 |
*/
|
22 |
|
23 |
$mailpoet_plugin = array(
|
24 |
-
'version' => '3.0.0-rc.1.0.
|
25 |
'filename' => __FILE__,
|
26 |
'path' => dirname(__FILE__),
|
27 |
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
4 |
|
5 |
/*
|
6 |
* Plugin Name: MailPoet 3 (new)
|
7 |
+
* Version: 3.0.0-rc.1.0.3
|
8 |
* Plugin URI: http://www.mailpoet.com
|
9 |
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
|
10 |
* Author: MailPoet
|
21 |
*/
|
22 |
|
23 |
$mailpoet_plugin = array(
|
24 |
+
'version' => '3.0.0-rc.1.0.3',
|
25 |
'filename' => __FILE__,
|
26 |
'path' => dirname(__FILE__),
|
27 |
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: mailpoet, wysija
|
|
3 |
Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.8
|
6 |
-
Stable tag: 3.0.0-rc.1.0.
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
@@ -93,6 +93,12 @@ Our [support site](https://beta.docs.mailpoet.com) has plenty of articles. You c
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
= 3.0.0-rc.1.0.2 - 2017-08-08 =
|
97 |
* Fixed: correct error notice is displayed when using IIS server. Thanks @flauer!
|
98 |
|
3 |
Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.8
|
6 |
+
Stable tag: 3.0.0-rc.1.0.3
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 3.0.0-rc.1.0.3 - 2017-08-15 =
|
97 |
+
* Improved: newsletter browser preview window in newsletter editor now fits correctly in any screen height;
|
98 |
+
* Improved: date shortcode displays WP time and is available to be translated into other laguages. Thanks Rik and Yves!
|
99 |
+
* Improved: rendered form body can be modified via a hook. Thanks, Vrodo;
|
100 |
+
* Fixed: subscriber export will not fail on hosts with PHP's set_time_limit() disabled. Thanks, @miguelarroyo;
|
101 |
+
|
102 |
= 3.0.0-rc.1.0.2 - 2017-08-08 =
|
103 |
* Fixed: correct error notice is displayed when using IIS server. Thanks @flauer!
|
104 |
|
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 ComposerAutoloaderInit263e354a79a63e1728c582cd98105c8a::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -374,9 +374,13 @@ class ClassLoader
|
|
374 |
|
375 |
$first = $class[0];
|
376 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
-
|
378 |
-
|
379 |
-
|
|
|
|
|
|
|
|
|
380 |
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
381 |
return $file;
|
382 |
}
|
374 |
|
375 |
$first = $class[0];
|
376 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
+
$subPath = $class;
|
378 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
+
$subPath = substr($subPath, 0, $lastPos);
|
380 |
+
$search = $subPath.'\\';
|
381 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
383 |
+
$length = $this->prefixLengthsPsr4[$first][$search];
|
384 |
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
385 |
return $file;
|
386 |
}
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -342,8 +342,178 @@ return array(
|
|
342 |
'Symfony\\Component\\Translation\\Util\\ArrayConverter' => $vendorDir . '/symfony/translation/Util/ArrayConverter.php',
|
343 |
'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => $vendorDir . '/symfony/translation/Writer/TranslationWriter.php',
|
344 |
'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php',
|
345 |
-
'Symfony\\Polyfill\\
|
346 |
'Text_Diff_Renderer_parallel' => $vendorDir . '/cerdic/css-tidy/testing/unit-tests/class.Text_Diff_Renderer_parallel.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
'Twig_Autoloader' => $vendorDir . '/twig/twig/lib/Twig/Autoloader.php',
|
348 |
'Twig_BaseNodeVisitor' => $vendorDir . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
349 |
'Twig_CacheInterface' => $vendorDir . '/twig/twig/lib/Twig/CacheInterface.php',
|
@@ -483,6 +653,7 @@ return array(
|
|
483 |
'Twig_Node_With' => $vendorDir . '/twig/twig/lib/Twig/Node/With.php',
|
484 |
'Twig_Parser' => $vendorDir . '/twig/twig/lib/Twig/Parser.php',
|
485 |
'Twig_ParserInterface' => $vendorDir . '/twig/twig/lib/Twig/ParserInterface.php',
|
|
|
486 |
'Twig_Profiler_Dumper_Blackfire' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
487 |
'Twig_Profiler_Dumper_Html' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
488 |
'Twig_Profiler_Dumper_Text' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
342 |
'Symfony\\Component\\Translation\\Util\\ArrayConverter' => $vendorDir . '/symfony/translation/Util/ArrayConverter.php',
|
343 |
'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => $vendorDir . '/symfony/translation/Writer/TranslationWriter.php',
|
344 |
'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php',
|
345 |
+
'Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php',
|
346 |
'Text_Diff_Renderer_parallel' => $vendorDir . '/cerdic/css-tidy/testing/unit-tests/class.Text_Diff_Renderer_parallel.php',
|
347 |
+
'Twig\\Cache\\CacheInterface' => $vendorDir . '/twig/twig/src/Cache/CacheInterface.php',
|
348 |
+
'Twig\\Cache\\FilesystemCache' => $vendorDir . '/twig/twig/src/Cache/FilesystemCache.php',
|
349 |
+
'Twig\\Cache\\NullCache' => $vendorDir . '/twig/twig/src/Cache/NullCache.php',
|
350 |
+
'Twig\\Compiler' => $vendorDir . '/twig/twig/src/Compiler.php',
|
351 |
+
'Twig\\Environment' => $vendorDir . '/twig/twig/src/Environment.php',
|
352 |
+
'Twig\\Error\\Error' => $vendorDir . '/twig/twig/src/Error/Error.php',
|
353 |
+
'Twig\\Error\\LoaderError' => $vendorDir . '/twig/twig/src/Error/LoaderError.php',
|
354 |
+
'Twig\\Error\\RuntimeError' => $vendorDir . '/twig/twig/src/Error/RuntimeError.php',
|
355 |
+
'Twig\\Error\\SyntaxError' => $vendorDir . '/twig/twig/src/Error/SyntaxError.php',
|
356 |
+
'Twig\\ExpressionParser' => $vendorDir . '/twig/twig/src/ExpressionParser.php',
|
357 |
+
'Twig\\Extension\\AbstractExtension' => $vendorDir . '/twig/twig/src/Extension/AbstractExtension.php',
|
358 |
+
'Twig\\Extension\\CoreExtension' => $vendorDir . '/twig/twig/src/Extension/CoreExtension.php',
|
359 |
+
'Twig\\Extension\\DebugExtension' => $vendorDir . '/twig/twig/src/Extension/DebugExtension.php',
|
360 |
+
'Twig\\Extension\\EscaperExtension' => $vendorDir . '/twig/twig/src/Extension/EscaperExtension.php',
|
361 |
+
'Twig\\Extension\\ExtensionInterface' => $vendorDir . '/twig/twig/src/Extension/ExtensionInterface.php',
|
362 |
+
'Twig\\Extension\\GlobalsInterface' => $vendorDir . '/twig/twig/src/Extension/GlobalsInterface.php',
|
363 |
+
'Twig\\Extension\\InitRuntimeInterface' => $vendorDir . '/twig/twig/src/Extension/InitRuntimeInterface.php',
|
364 |
+
'Twig\\Extension\\OptimizerExtension' => $vendorDir . '/twig/twig/src/Extension/OptimizerExtension.php',
|
365 |
+
'Twig\\Extension\\ProfilerExtension' => $vendorDir . '/twig/twig/src/Extension/ProfilerExtension.php',
|
366 |
+
'Twig\\Extension\\SandboxExtension' => $vendorDir . '/twig/twig/src/Extension/SandboxExtension.php',
|
367 |
+
'Twig\\Extension\\StagingExtension' => $vendorDir . '/twig/twig/src/Extension/StagingExtension.php',
|
368 |
+
'Twig\\Extension\\StringLoaderExtension' => $vendorDir . '/twig/twig/src/Extension/StringLoaderExtension.php',
|
369 |
+
'Twig\\FileExtensionEscapingStrategy' => $vendorDir . '/twig/twig/src/FileExtensionEscapingStrategy.php',
|
370 |
+
'Twig\\Lexer' => $vendorDir . '/twig/twig/src/Lexer.php',
|
371 |
+
'Twig\\Loader\\ArrayLoader' => $vendorDir . '/twig/twig/src/Loader/ArrayLoader.php',
|
372 |
+
'Twig\\Loader\\ChainLoader' => $vendorDir . '/twig/twig/src/Loader/ChainLoader.php',
|
373 |
+
'Twig\\Loader\\ExistsLoaderInterface' => $vendorDir . '/twig/twig/src/Loader/ExistsLoaderInterface.php',
|
374 |
+
'Twig\\Loader\\FilesystemLoader' => $vendorDir . '/twig/twig/src/Loader/FilesystemLoader.php',
|
375 |
+
'Twig\\Loader\\LoaderInterface' => $vendorDir . '/twig/twig/src/Loader/LoaderInterface.php',
|
376 |
+
'Twig\\Loader\\SourceContextLoaderInterface' => $vendorDir . '/twig/twig/src/Loader/SourceContextLoaderInterface.php',
|
377 |
+
'Twig\\Markup' => $vendorDir . '/twig/twig/src/Markup.php',
|
378 |
+
'Twig\\NodeTraverser' => $vendorDir . '/twig/twig/src/NodeTraverser.php',
|
379 |
+
'Twig\\NodeVisitor\\AbstractNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php',
|
380 |
+
'Twig\\NodeVisitor\\EscaperNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php',
|
381 |
+
'Twig\\NodeVisitor\\NodeVisitorInterface' => $vendorDir . '/twig/twig/src/NodeVisitor/NodeVisitorInterface.php',
|
382 |
+
'Twig\\NodeVisitor\\OptimizerNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/OptimizerNodeVisitor.php',
|
383 |
+
'Twig\\NodeVisitor\\SafeAnalysisNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php',
|
384 |
+
'Twig\\NodeVisitor\\SandboxNodeVisitor' => $vendorDir . '/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php',
|
385 |
+
'Twig\\Node\\AutoEscapeNode' => $vendorDir . '/twig/twig/src/Node/AutoEscapeNode.php',
|
386 |
+
'Twig\\Node\\BlockNode' => $vendorDir . '/twig/twig/src/Node/BlockNode.php',
|
387 |
+
'Twig\\Node\\BlockReferenceNode' => $vendorDir . '/twig/twig/src/Node/BlockReferenceNode.php',
|
388 |
+
'Twig\\Node\\BodyNode' => $vendorDir . '/twig/twig/src/Node/BodyNode.php',
|
389 |
+
'Twig\\Node\\CheckSecurityNode' => $vendorDir . '/twig/twig/src/Node/CheckSecurityNode.php',
|
390 |
+
'Twig\\Node\\DoNode' => $vendorDir . '/twig/twig/src/Node/DoNode.php',
|
391 |
+
'Twig\\Node\\EmbedNode' => $vendorDir . '/twig/twig/src/Node/EmbedNode.php',
|
392 |
+
'Twig\\Node\\Expression\\AbstractExpression' => $vendorDir . '/twig/twig/src/Node/Expression/AbstractExpression.php',
|
393 |
+
'Twig\\Node\\Expression\\ArrayExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ArrayExpression.php',
|
394 |
+
'Twig\\Node\\Expression\\AssignNameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/AssignNameExpression.php',
|
395 |
+
'Twig\\Node\\Expression\\Binary\\AbstractBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AbstractBinary.php',
|
396 |
+
'Twig\\Node\\Expression\\Binary\\AddBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AddBinary.php',
|
397 |
+
'Twig\\Node\\Expression\\Binary\\AndBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/AndBinary.php',
|
398 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseAndBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php',
|
399 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseOrBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php',
|
400 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseXorBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php',
|
401 |
+
'Twig\\Node\\Expression\\Binary\\ConcatBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/ConcatBinary.php',
|
402 |
+
'Twig\\Node\\Expression\\Binary\\DivBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/DivBinary.php',
|
403 |
+
'Twig\\Node\\Expression\\Binary\\EndsWithBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php',
|
404 |
+
'Twig\\Node\\Expression\\Binary\\EqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/EqualBinary.php',
|
405 |
+
'Twig\\Node\\Expression\\Binary\\FloorDivBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/FloorDivBinary.php',
|
406 |
+
'Twig\\Node\\Expression\\Binary\\GreaterBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/GreaterBinary.php',
|
407 |
+
'Twig\\Node\\Expression\\Binary\\GreaterEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php',
|
408 |
+
'Twig\\Node\\Expression\\Binary\\InBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/InBinary.php',
|
409 |
+
'Twig\\Node\\Expression\\Binary\\LessBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/LessBinary.php',
|
410 |
+
'Twig\\Node\\Expression\\Binary\\LessEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/LessEqualBinary.php',
|
411 |
+
'Twig\\Node\\Expression\\Binary\\MatchesBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/MatchesBinary.php',
|
412 |
+
'Twig\\Node\\Expression\\Binary\\ModBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/ModBinary.php',
|
413 |
+
'Twig\\Node\\Expression\\Binary\\MulBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/MulBinary.php',
|
414 |
+
'Twig\\Node\\Expression\\Binary\\NotEqualBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php',
|
415 |
+
'Twig\\Node\\Expression\\Binary\\NotInBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/NotInBinary.php',
|
416 |
+
'Twig\\Node\\Expression\\Binary\\OrBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/OrBinary.php',
|
417 |
+
'Twig\\Node\\Expression\\Binary\\PowerBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/PowerBinary.php',
|
418 |
+
'Twig\\Node\\Expression\\Binary\\RangeBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/RangeBinary.php',
|
419 |
+
'Twig\\Node\\Expression\\Binary\\StartsWithBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php',
|
420 |
+
'Twig\\Node\\Expression\\Binary\\SubBinary' => $vendorDir . '/twig/twig/src/Node/Expression/Binary/SubBinary.php',
|
421 |
+
'Twig\\Node\\Expression\\BlockReferenceExpression' => $vendorDir . '/twig/twig/src/Node/Expression/BlockReferenceExpression.php',
|
422 |
+
'Twig\\Node\\Expression\\CallExpression' => $vendorDir . '/twig/twig/src/Node/Expression/CallExpression.php',
|
423 |
+
'Twig\\Node\\Expression\\ConditionalExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ConditionalExpression.php',
|
424 |
+
'Twig\\Node\\Expression\\ConstantExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ConstantExpression.php',
|
425 |
+
'Twig\\Node\\Expression\\FilterExpression' => $vendorDir . '/twig/twig/src/Node/Expression/FilterExpression.php',
|
426 |
+
'Twig\\Node\\Expression\\Filter\\DefaultFilter' => $vendorDir . '/twig/twig/src/Node/Expression/Filter/DefaultFilter.php',
|
427 |
+
'Twig\\Node\\Expression\\FunctionExpression' => $vendorDir . '/twig/twig/src/Node/Expression/FunctionExpression.php',
|
428 |
+
'Twig\\Node\\Expression\\GetAttrExpression' => $vendorDir . '/twig/twig/src/Node/Expression/GetAttrExpression.php',
|
429 |
+
'Twig\\Node\\Expression\\MethodCallExpression' => $vendorDir . '/twig/twig/src/Node/Expression/MethodCallExpression.php',
|
430 |
+
'Twig\\Node\\Expression\\NameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/NameExpression.php',
|
431 |
+
'Twig\\Node\\Expression\\NullCoalesceExpression' => $vendorDir . '/twig/twig/src/Node/Expression/NullCoalesceExpression.php',
|
432 |
+
'Twig\\Node\\Expression\\ParentExpression' => $vendorDir . '/twig/twig/src/Node/Expression/ParentExpression.php',
|
433 |
+
'Twig\\Node\\Expression\\TempNameExpression' => $vendorDir . '/twig/twig/src/Node/Expression/TempNameExpression.php',
|
434 |
+
'Twig\\Node\\Expression\\TestExpression' => $vendorDir . '/twig/twig/src/Node/Expression/TestExpression.php',
|
435 |
+
'Twig\\Node\\Expression\\Test\\ConstantTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/ConstantTest.php',
|
436 |
+
'Twig\\Node\\Expression\\Test\\DefinedTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/DefinedTest.php',
|
437 |
+
'Twig\\Node\\Expression\\Test\\DivisiblebyTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php',
|
438 |
+
'Twig\\Node\\Expression\\Test\\EvenTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/EvenTest.php',
|
439 |
+
'Twig\\Node\\Expression\\Test\\NullTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/NullTest.php',
|
440 |
+
'Twig\\Node\\Expression\\Test\\OddTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/OddTest.php',
|
441 |
+
'Twig\\Node\\Expression\\Test\\SameasTest' => $vendorDir . '/twig/twig/src/Node/Expression/Test/SameasTest.php',
|
442 |
+
'Twig\\Node\\Expression\\Unary\\AbstractUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/AbstractUnary.php',
|
443 |
+
'Twig\\Node\\Expression\\Unary\\NegUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/NegUnary.php',
|
444 |
+
'Twig\\Node\\Expression\\Unary\\NotUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/NotUnary.php',
|
445 |
+
'Twig\\Node\\Expression\\Unary\\PosUnary' => $vendorDir . '/twig/twig/src/Node/Expression/Unary/PosUnary.php',
|
446 |
+
'Twig\\Node\\FlushNode' => $vendorDir . '/twig/twig/src/Node/FlushNode.php',
|
447 |
+
'Twig\\Node\\ForLoopNode' => $vendorDir . '/twig/twig/src/Node/ForLoopNode.php',
|
448 |
+
'Twig\\Node\\ForNode' => $vendorDir . '/twig/twig/src/Node/ForNode.php',
|
449 |
+
'Twig\\Node\\IfNode' => $vendorDir . '/twig/twig/src/Node/IfNode.php',
|
450 |
+
'Twig\\Node\\ImportNode' => $vendorDir . '/twig/twig/src/Node/ImportNode.php',
|
451 |
+
'Twig\\Node\\IncludeNode' => $vendorDir . '/twig/twig/src/Node/IncludeNode.php',
|
452 |
+
'Twig\\Node\\MacroNode' => $vendorDir . '/twig/twig/src/Node/MacroNode.php',
|
453 |
+
'Twig\\Node\\ModuleNode' => $vendorDir . '/twig/twig/src/Node/ModuleNode.php',
|
454 |
+
'Twig\\Node\\Node' => $vendorDir . '/twig/twig/src/Node/Node.php',
|
455 |
+
'Twig\\Node\\NodeCaptureInterface' => $vendorDir . '/twig/twig/src/Node/NodeCaptureInterface.php',
|
456 |
+
'Twig\\Node\\NodeOutputInterface' => $vendorDir . '/twig/twig/src/Node/NodeOutputInterface.php',
|
457 |
+
'Twig\\Node\\PrintNode' => $vendorDir . '/twig/twig/src/Node/PrintNode.php',
|
458 |
+
'Twig\\Node\\SandboxNode' => $vendorDir . '/twig/twig/src/Node/SandboxNode.php',
|
459 |
+
'Twig\\Node\\SandboxedPrintNode' => $vendorDir . '/twig/twig/src/Node/SandboxedPrintNode.php',
|
460 |
+
'Twig\\Node\\SetNode' => $vendorDir . '/twig/twig/src/Node/SetNode.php',
|
461 |
+
'Twig\\Node\\SetTempNode' => $vendorDir . '/twig/twig/src/Node/SetTempNode.php',
|
462 |
+
'Twig\\Node\\SpacelessNode' => $vendorDir . '/twig/twig/src/Node/SpacelessNode.php',
|
463 |
+
'Twig\\Node\\TextNode' => $vendorDir . '/twig/twig/src/Node/TextNode.php',
|
464 |
+
'Twig\\Node\\WithNode' => $vendorDir . '/twig/twig/src/Node/WithNode.php',
|
465 |
+
'Twig\\Parser' => $vendorDir . '/twig/twig/src/Parser.php',
|
466 |
+
'Twig\\Profiler\\Dumper\\BaseDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/BaseDumper.php',
|
467 |
+
'Twig\\Profiler\\Dumper\\BlackfireDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/BlackfireDumper.php',
|
468 |
+
'Twig\\Profiler\\Dumper\\HtmlDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/HtmlDumper.php',
|
469 |
+
'Twig\\Profiler\\Dumper\\TextDumper' => $vendorDir . '/twig/twig/src/Profiler/Dumper/TextDumper.php',
|
470 |
+
'Twig\\Profiler\\NodeVisitor\\ProfilerNodeVisitor' => $vendorDir . '/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php',
|
471 |
+
'Twig\\Profiler\\Node\\EnterProfileNode' => $vendorDir . '/twig/twig/src/Profiler/Node/EnterProfileNode.php',
|
472 |
+
'Twig\\Profiler\\Node\\LeaveProfileNode' => $vendorDir . '/twig/twig/src/Profiler/Node/LeaveProfileNode.php',
|
473 |
+
'Twig\\Profiler\\Profile' => $vendorDir . '/twig/twig/src/Profiler/Profile.php',
|
474 |
+
'Twig\\RuntimeLoader\\ContainerRuntimeLoader' => $vendorDir . '/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php',
|
475 |
+
'Twig\\RuntimeLoader\\FactoryRuntimeLoader' => $vendorDir . '/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php',
|
476 |
+
'Twig\\RuntimeLoader\\RuntimeLoaderInterface' => $vendorDir . '/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php',
|
477 |
+
'Twig\\Sandbox\\SecurityError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityError.php',
|
478 |
+
'Twig\\Sandbox\\SecurityNotAllowedFilterError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php',
|
479 |
+
'Twig\\Sandbox\\SecurityNotAllowedFunctionError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php',
|
480 |
+
'Twig\\Sandbox\\SecurityNotAllowedMethodError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php',
|
481 |
+
'Twig\\Sandbox\\SecurityNotAllowedPropertyError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php',
|
482 |
+
'Twig\\Sandbox\\SecurityNotAllowedTagError' => $vendorDir . '/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php',
|
483 |
+
'Twig\\Sandbox\\SecurityPolicy' => $vendorDir . '/twig/twig/src/Sandbox/SecurityPolicy.php',
|
484 |
+
'Twig\\Sandbox\\SecurityPolicyInterface' => $vendorDir . '/twig/twig/src/Sandbox/SecurityPolicyInterface.php',
|
485 |
+
'Twig\\Source' => $vendorDir . '/twig/twig/src/Source.php',
|
486 |
+
'Twig\\Template' => $vendorDir . '/twig/twig/src/Template.php',
|
487 |
+
'Twig\\TemplateWrapper' => $vendorDir . '/twig/twig/src/TemplateWrapper.php',
|
488 |
+
'Twig\\Test\\IntegrationTestCase' => $vendorDir . '/twig/twig/src/Test/IntegrationTestCase.php',
|
489 |
+
'Twig\\Test\\NodeTestCase' => $vendorDir . '/twig/twig/src/Test/NodeTestCase.php',
|
490 |
+
'Twig\\Token' => $vendorDir . '/twig/twig/src/Token.php',
|
491 |
+
'Twig\\TokenParser\\AbstractTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/AbstractTokenParser.php',
|
492 |
+
'Twig\\TokenParser\\AutoEscapeTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/AutoEscapeTokenParser.php',
|
493 |
+
'Twig\\TokenParser\\BlockTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/BlockTokenParser.php',
|
494 |
+
'Twig\\TokenParser\\DoTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/DoTokenParser.php',
|
495 |
+
'Twig\\TokenParser\\EmbedTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/EmbedTokenParser.php',
|
496 |
+
'Twig\\TokenParser\\ExtendsTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ExtendsTokenParser.php',
|
497 |
+
'Twig\\TokenParser\\FilterTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FilterTokenParser.php',
|
498 |
+
'Twig\\TokenParser\\FlushTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FlushTokenParser.php',
|
499 |
+
'Twig\\TokenParser\\ForTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ForTokenParser.php',
|
500 |
+
'Twig\\TokenParser\\FromTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/FromTokenParser.php',
|
501 |
+
'Twig\\TokenParser\\IfTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/IfTokenParser.php',
|
502 |
+
'Twig\\TokenParser\\ImportTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/ImportTokenParser.php',
|
503 |
+
'Twig\\TokenParser\\IncludeTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/IncludeTokenParser.php',
|
504 |
+
'Twig\\TokenParser\\MacroTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/MacroTokenParser.php',
|
505 |
+
'Twig\\TokenParser\\SandboxTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SandboxTokenParser.php',
|
506 |
+
'Twig\\TokenParser\\SetTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SetTokenParser.php',
|
507 |
+
'Twig\\TokenParser\\SpacelessTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/SpacelessTokenParser.php',
|
508 |
+
'Twig\\TokenParser\\TokenParserInterface' => $vendorDir . '/twig/twig/src/TokenParser/TokenParserInterface.php',
|
509 |
+
'Twig\\TokenParser\\UseTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/UseTokenParser.php',
|
510 |
+
'Twig\\TokenParser\\WithTokenParser' => $vendorDir . '/twig/twig/src/TokenParser/WithTokenParser.php',
|
511 |
+
'Twig\\TokenStream' => $vendorDir . '/twig/twig/src/TokenStream.php',
|
512 |
+
'Twig\\TwigFilter' => $vendorDir . '/twig/twig/src/TwigFilter.php',
|
513 |
+
'Twig\\TwigFunction' => $vendorDir . '/twig/twig/src/TwigFunction.php',
|
514 |
+
'Twig\\TwigTest' => $vendorDir . '/twig/twig/src/TwigTest.php',
|
515 |
+
'Twig\\Util\\DeprecationCollector' => $vendorDir . '/twig/twig/src/Util/DeprecationCollector.php',
|
516 |
+
'Twig\\Util\\TemplateDirIterator' => $vendorDir . '/twig/twig/src/Util/TemplateDirIterator.php',
|
517 |
'Twig_Autoloader' => $vendorDir . '/twig/twig/lib/Twig/Autoloader.php',
|
518 |
'Twig_BaseNodeVisitor' => $vendorDir . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
519 |
'Twig_CacheInterface' => $vendorDir . '/twig/twig/lib/Twig/CacheInterface.php',
|
653 |
'Twig_Node_With' => $vendorDir . '/twig/twig/lib/Twig/Node/With.php',
|
654 |
'Twig_Parser' => $vendorDir . '/twig/twig/lib/Twig/Parser.php',
|
655 |
'Twig_ParserInterface' => $vendorDir . '/twig/twig/lib/Twig/ParserInterface.php',
|
656 |
+
'Twig_Profiler_Dumper_Base' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Base.php',
|
657 |
'Twig_Profiler_Dumper_Blackfire' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
658 |
'Twig_Profiler_Dumper_Html' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
659 |
'Twig_Profiler_Dumper_Text' => $vendorDir . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
vendor/composer/autoload_files.php
CHANGED
@@ -7,6 +7,6 @@ $baseDir = dirname($vendorDir);
|
|
7 |
|
8 |
return array(
|
9 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
|
|
10 |
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
11 |
-
'a7bea2b758e2dc42e25f476fd498182e' => $vendorDir . '/symfony/polyfill-xml/bootstrap.php',
|
12 |
);
|
7 |
|
8 |
return array(
|
9 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
10 |
+
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
|
11 |
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
|
|
12 |
);
|
vendor/composer/autoload_psr4.php
CHANGED
@@ -6,7 +6,8 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
-
'
|
|
|
10 |
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
|
11 |
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
|
12 |
'Sudzy\\' => array($baseDir . '/lib/Util/Sudzy'),
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'Twig\\' => array($vendorDir . '/twig/twig/src'),
|
10 |
+
'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
|
11 |
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
|
12 |
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
|
13 |
'Sudzy\\' => array($baseDir . '/lib/Util/Sudzy'),
|
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,15 +19,15 @@ class ComposerAutoloaderInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
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 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit263e354a79a63e1728c582cd98105c8a
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit263e354a79a63e1728c582cd98105c8a', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit263e354a79a63e1728c582cd98105c8a', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit263e354a79a63e1728c582cd98105c8a::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit263e354a79a63e1728c582cd98105c8a::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire263e354a79a63e1728c582cd98105c8a($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire263e354a79a63e1728c582cd98105c8a($fileIdentifier, $file)
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,18 +4,22 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
|
|
11 |
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
12 |
-
'a7bea2b758e2dc42e25f476fd498182e' => __DIR__ . '/..' . '/symfony/polyfill-xml/bootstrap.php',
|
13 |
);
|
14 |
|
15 |
public static $prefixLengthsPsr4 = array (
|
|
|
|
|
|
|
|
|
16 |
'S' =>
|
17 |
array (
|
18 |
-
'Symfony\\Polyfill\\
|
19 |
'Symfony\\Polyfill\\Mbstring\\' => 26,
|
20 |
'Symfony\\Component\\Translation\\' => 30,
|
21 |
'Sudzy\\' => 6,
|
@@ -36,9 +40,13 @@ class ComposerStaticInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
36 |
);
|
37 |
|
38 |
public static $prefixDirsPsr4 = array (
|
39 |
-
'
|
|
|
|
|
|
|
|
|
40 |
array (
|
41 |
-
0 => __DIR__ . '/..' . '/symfony/polyfill-
|
42 |
),
|
43 |
'Symfony\\Polyfill\\Mbstring\\' =>
|
44 |
array (
|
@@ -424,8 +432,178 @@ class ComposerStaticInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
424 |
'Symfony\\Component\\Translation\\Util\\ArrayConverter' => __DIR__ . '/..' . '/symfony/translation/Util/ArrayConverter.php',
|
425 |
'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => __DIR__ . '/..' . '/symfony/translation/Writer/TranslationWriter.php',
|
426 |
'Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php',
|
427 |
-
'Symfony\\Polyfill\\
|
428 |
'Text_Diff_Renderer_parallel' => __DIR__ . '/..' . '/cerdic/css-tidy/testing/unit-tests/class.Text_Diff_Renderer_parallel.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
'Twig_Autoloader' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Autoloader.php',
|
430 |
'Twig_BaseNodeVisitor' => __DIR__ . '/..' . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
431 |
'Twig_CacheInterface' => __DIR__ . '/..' . '/twig/twig/lib/Twig/CacheInterface.php',
|
@@ -565,6 +743,7 @@ class ComposerStaticInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
565 |
'Twig_Node_With' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Node/With.php',
|
566 |
'Twig_Parser' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Parser.php',
|
567 |
'Twig_ParserInterface' => __DIR__ . '/..' . '/twig/twig/lib/Twig/ParserInterface.php',
|
|
|
568 |
'Twig_Profiler_Dumper_Blackfire' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
569 |
'Twig_Profiler_Dumper_Html' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
570 |
'Twig_Profiler_Dumper_Text' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
@@ -654,10 +833,10 @@ class ComposerStaticInit45fe8fac98c7b1d06ff49464a9b9351d
|
|
654 |
public static function getInitializer(ClassLoader $loader)
|
655 |
{
|
656 |
return \Closure::bind(function () use ($loader) {
|
657 |
-
$loader->prefixLengthsPsr4 =
|
658 |
-
$loader->prefixDirsPsr4 =
|
659 |
-
$loader->prefixesPsr0 =
|
660 |
-
$loader->classMap =
|
661 |
|
662 |
}, null, ClassLoader::class);
|
663 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit263e354a79a63e1728c582cd98105c8a
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
11 |
+
'25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
|
12 |
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
|
|
13 |
);
|
14 |
|
15 |
public static $prefixLengthsPsr4 = array (
|
16 |
+
'T' =>
|
17 |
+
array (
|
18 |
+
'Twig\\' => 5,
|
19 |
+
),
|
20 |
'S' =>
|
21 |
array (
|
22 |
+
'Symfony\\Polyfill\\Php72\\' => 23,
|
23 |
'Symfony\\Polyfill\\Mbstring\\' => 26,
|
24 |
'Symfony\\Component\\Translation\\' => 30,
|
25 |
'Sudzy\\' => 6,
|
40 |
);
|
41 |
|
42 |
public static $prefixDirsPsr4 = array (
|
43 |
+
'Twig\\' =>
|
44 |
+
array (
|
45 |
+
0 => __DIR__ . '/..' . '/twig/twig/src',
|
46 |
+
),
|
47 |
+
'Symfony\\Polyfill\\Php72\\' =>
|
48 |
array (
|
49 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
|
50 |
),
|
51 |
'Symfony\\Polyfill\\Mbstring\\' =>
|
52 |
array (
|
432 |
'Symfony\\Component\\Translation\\Util\\ArrayConverter' => __DIR__ . '/..' . '/symfony/translation/Util/ArrayConverter.php',
|
433 |
'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => __DIR__ . '/..' . '/symfony/translation/Writer/TranslationWriter.php',
|
434 |
'Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php',
|
435 |
+
'Symfony\\Polyfill\\Php72\\Php72' => __DIR__ . '/..' . '/symfony/polyfill-php72/Php72.php',
|
436 |
'Text_Diff_Renderer_parallel' => __DIR__ . '/..' . '/cerdic/css-tidy/testing/unit-tests/class.Text_Diff_Renderer_parallel.php',
|
437 |
+
'Twig\\Cache\\CacheInterface' => __DIR__ . '/..' . '/twig/twig/src/Cache/CacheInterface.php',
|
438 |
+
'Twig\\Cache\\FilesystemCache' => __DIR__ . '/..' . '/twig/twig/src/Cache/FilesystemCache.php',
|
439 |
+
'Twig\\Cache\\NullCache' => __DIR__ . '/..' . '/twig/twig/src/Cache/NullCache.php',
|
440 |
+
'Twig\\Compiler' => __DIR__ . '/..' . '/twig/twig/src/Compiler.php',
|
441 |
+
'Twig\\Environment' => __DIR__ . '/..' . '/twig/twig/src/Environment.php',
|
442 |
+
'Twig\\Error\\Error' => __DIR__ . '/..' . '/twig/twig/src/Error/Error.php',
|
443 |
+
'Twig\\Error\\LoaderError' => __DIR__ . '/..' . '/twig/twig/src/Error/LoaderError.php',
|
444 |
+
'Twig\\Error\\RuntimeError' => __DIR__ . '/..' . '/twig/twig/src/Error/RuntimeError.php',
|
445 |
+
'Twig\\Error\\SyntaxError' => __DIR__ . '/..' . '/twig/twig/src/Error/SyntaxError.php',
|
446 |
+
'Twig\\ExpressionParser' => __DIR__ . '/..' . '/twig/twig/src/ExpressionParser.php',
|
447 |
+
'Twig\\Extension\\AbstractExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/AbstractExtension.php',
|
448 |
+
'Twig\\Extension\\CoreExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/CoreExtension.php',
|
449 |
+
'Twig\\Extension\\DebugExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/DebugExtension.php',
|
450 |
+
'Twig\\Extension\\EscaperExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/EscaperExtension.php',
|
451 |
+
'Twig\\Extension\\ExtensionInterface' => __DIR__ . '/..' . '/twig/twig/src/Extension/ExtensionInterface.php',
|
452 |
+
'Twig\\Extension\\GlobalsInterface' => __DIR__ . '/..' . '/twig/twig/src/Extension/GlobalsInterface.php',
|
453 |
+
'Twig\\Extension\\InitRuntimeInterface' => __DIR__ . '/..' . '/twig/twig/src/Extension/InitRuntimeInterface.php',
|
454 |
+
'Twig\\Extension\\OptimizerExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/OptimizerExtension.php',
|
455 |
+
'Twig\\Extension\\ProfilerExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/ProfilerExtension.php',
|
456 |
+
'Twig\\Extension\\SandboxExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/SandboxExtension.php',
|
457 |
+
'Twig\\Extension\\StagingExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/StagingExtension.php',
|
458 |
+
'Twig\\Extension\\StringLoaderExtension' => __DIR__ . '/..' . '/twig/twig/src/Extension/StringLoaderExtension.php',
|
459 |
+
'Twig\\FileExtensionEscapingStrategy' => __DIR__ . '/..' . '/twig/twig/src/FileExtensionEscapingStrategy.php',
|
460 |
+
'Twig\\Lexer' => __DIR__ . '/..' . '/twig/twig/src/Lexer.php',
|
461 |
+
'Twig\\Loader\\ArrayLoader' => __DIR__ . '/..' . '/twig/twig/src/Loader/ArrayLoader.php',
|
462 |
+
'Twig\\Loader\\ChainLoader' => __DIR__ . '/..' . '/twig/twig/src/Loader/ChainLoader.php',
|
463 |
+
'Twig\\Loader\\ExistsLoaderInterface' => __DIR__ . '/..' . '/twig/twig/src/Loader/ExistsLoaderInterface.php',
|
464 |
+
'Twig\\Loader\\FilesystemLoader' => __DIR__ . '/..' . '/twig/twig/src/Loader/FilesystemLoader.php',
|
465 |
+
'Twig\\Loader\\LoaderInterface' => __DIR__ . '/..' . '/twig/twig/src/Loader/LoaderInterface.php',
|
466 |
+
'Twig\\Loader\\SourceContextLoaderInterface' => __DIR__ . '/..' . '/twig/twig/src/Loader/SourceContextLoaderInterface.php',
|
467 |
+
'Twig\\Markup' => __DIR__ . '/..' . '/twig/twig/src/Markup.php',
|
468 |
+
'Twig\\NodeTraverser' => __DIR__ . '/..' . '/twig/twig/src/NodeTraverser.php',
|
469 |
+
'Twig\\NodeVisitor\\AbstractNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php',
|
470 |
+
'Twig\\NodeVisitor\\EscaperNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php',
|
471 |
+
'Twig\\NodeVisitor\\NodeVisitorInterface' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/NodeVisitorInterface.php',
|
472 |
+
'Twig\\NodeVisitor\\OptimizerNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/OptimizerNodeVisitor.php',
|
473 |
+
'Twig\\NodeVisitor\\SafeAnalysisNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php',
|
474 |
+
'Twig\\NodeVisitor\\SandboxNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php',
|
475 |
+
'Twig\\Node\\AutoEscapeNode' => __DIR__ . '/..' . '/twig/twig/src/Node/AutoEscapeNode.php',
|
476 |
+
'Twig\\Node\\BlockNode' => __DIR__ . '/..' . '/twig/twig/src/Node/BlockNode.php',
|
477 |
+
'Twig\\Node\\BlockReferenceNode' => __DIR__ . '/..' . '/twig/twig/src/Node/BlockReferenceNode.php',
|
478 |
+
'Twig\\Node\\BodyNode' => __DIR__ . '/..' . '/twig/twig/src/Node/BodyNode.php',
|
479 |
+
'Twig\\Node\\CheckSecurityNode' => __DIR__ . '/..' . '/twig/twig/src/Node/CheckSecurityNode.php',
|
480 |
+
'Twig\\Node\\DoNode' => __DIR__ . '/..' . '/twig/twig/src/Node/DoNode.php',
|
481 |
+
'Twig\\Node\\EmbedNode' => __DIR__ . '/..' . '/twig/twig/src/Node/EmbedNode.php',
|
482 |
+
'Twig\\Node\\Expression\\AbstractExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/AbstractExpression.php',
|
483 |
+
'Twig\\Node\\Expression\\ArrayExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/ArrayExpression.php',
|
484 |
+
'Twig\\Node\\Expression\\AssignNameExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/AssignNameExpression.php',
|
485 |
+
'Twig\\Node\\Expression\\Binary\\AbstractBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/AbstractBinary.php',
|
486 |
+
'Twig\\Node\\Expression\\Binary\\AddBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/AddBinary.php',
|
487 |
+
'Twig\\Node\\Expression\\Binary\\AndBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/AndBinary.php',
|
488 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseAndBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php',
|
489 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseOrBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php',
|
490 |
+
'Twig\\Node\\Expression\\Binary\\BitwiseXorBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php',
|
491 |
+
'Twig\\Node\\Expression\\Binary\\ConcatBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/ConcatBinary.php',
|
492 |
+
'Twig\\Node\\Expression\\Binary\\DivBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/DivBinary.php',
|
493 |
+
'Twig\\Node\\Expression\\Binary\\EndsWithBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php',
|
494 |
+
'Twig\\Node\\Expression\\Binary\\EqualBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/EqualBinary.php',
|
495 |
+
'Twig\\Node\\Expression\\Binary\\FloorDivBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/FloorDivBinary.php',
|
496 |
+
'Twig\\Node\\Expression\\Binary\\GreaterBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/GreaterBinary.php',
|
497 |
+
'Twig\\Node\\Expression\\Binary\\GreaterEqualBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php',
|
498 |
+
'Twig\\Node\\Expression\\Binary\\InBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/InBinary.php',
|
499 |
+
'Twig\\Node\\Expression\\Binary\\LessBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/LessBinary.php',
|
500 |
+
'Twig\\Node\\Expression\\Binary\\LessEqualBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/LessEqualBinary.php',
|
501 |
+
'Twig\\Node\\Expression\\Binary\\MatchesBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/MatchesBinary.php',
|
502 |
+
'Twig\\Node\\Expression\\Binary\\ModBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/ModBinary.php',
|
503 |
+
'Twig\\Node\\Expression\\Binary\\MulBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/MulBinary.php',
|
504 |
+
'Twig\\Node\\Expression\\Binary\\NotEqualBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php',
|
505 |
+
'Twig\\Node\\Expression\\Binary\\NotInBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/NotInBinary.php',
|
506 |
+
'Twig\\Node\\Expression\\Binary\\OrBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/OrBinary.php',
|
507 |
+
'Twig\\Node\\Expression\\Binary\\PowerBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/PowerBinary.php',
|
508 |
+
'Twig\\Node\\Expression\\Binary\\RangeBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/RangeBinary.php',
|
509 |
+
'Twig\\Node\\Expression\\Binary\\StartsWithBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php',
|
510 |
+
'Twig\\Node\\Expression\\Binary\\SubBinary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Binary/SubBinary.php',
|
511 |
+
'Twig\\Node\\Expression\\BlockReferenceExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/BlockReferenceExpression.php',
|
512 |
+
'Twig\\Node\\Expression\\CallExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/CallExpression.php',
|
513 |
+
'Twig\\Node\\Expression\\ConditionalExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/ConditionalExpression.php',
|
514 |
+
'Twig\\Node\\Expression\\ConstantExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/ConstantExpression.php',
|
515 |
+
'Twig\\Node\\Expression\\FilterExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/FilterExpression.php',
|
516 |
+
'Twig\\Node\\Expression\\Filter\\DefaultFilter' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Filter/DefaultFilter.php',
|
517 |
+
'Twig\\Node\\Expression\\FunctionExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/FunctionExpression.php',
|
518 |
+
'Twig\\Node\\Expression\\GetAttrExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/GetAttrExpression.php',
|
519 |
+
'Twig\\Node\\Expression\\MethodCallExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/MethodCallExpression.php',
|
520 |
+
'Twig\\Node\\Expression\\NameExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/NameExpression.php',
|
521 |
+
'Twig\\Node\\Expression\\NullCoalesceExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/NullCoalesceExpression.php',
|
522 |
+
'Twig\\Node\\Expression\\ParentExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/ParentExpression.php',
|
523 |
+
'Twig\\Node\\Expression\\TempNameExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/TempNameExpression.php',
|
524 |
+
'Twig\\Node\\Expression\\TestExpression' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/TestExpression.php',
|
525 |
+
'Twig\\Node\\Expression\\Test\\ConstantTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/ConstantTest.php',
|
526 |
+
'Twig\\Node\\Expression\\Test\\DefinedTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/DefinedTest.php',
|
527 |
+
'Twig\\Node\\Expression\\Test\\DivisiblebyTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/DivisiblebyTest.php',
|
528 |
+
'Twig\\Node\\Expression\\Test\\EvenTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/EvenTest.php',
|
529 |
+
'Twig\\Node\\Expression\\Test\\NullTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/NullTest.php',
|
530 |
+
'Twig\\Node\\Expression\\Test\\OddTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/OddTest.php',
|
531 |
+
'Twig\\Node\\Expression\\Test\\SameasTest' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Test/SameasTest.php',
|
532 |
+
'Twig\\Node\\Expression\\Unary\\AbstractUnary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Unary/AbstractUnary.php',
|
533 |
+
'Twig\\Node\\Expression\\Unary\\NegUnary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Unary/NegUnary.php',
|
534 |
+
'Twig\\Node\\Expression\\Unary\\NotUnary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Unary/NotUnary.php',
|
535 |
+
'Twig\\Node\\Expression\\Unary\\PosUnary' => __DIR__ . '/..' . '/twig/twig/src/Node/Expression/Unary/PosUnary.php',
|
536 |
+
'Twig\\Node\\FlushNode' => __DIR__ . '/..' . '/twig/twig/src/Node/FlushNode.php',
|
537 |
+
'Twig\\Node\\ForLoopNode' => __DIR__ . '/..' . '/twig/twig/src/Node/ForLoopNode.php',
|
538 |
+
'Twig\\Node\\ForNode' => __DIR__ . '/..' . '/twig/twig/src/Node/ForNode.php',
|
539 |
+
'Twig\\Node\\IfNode' => __DIR__ . '/..' . '/twig/twig/src/Node/IfNode.php',
|
540 |
+
'Twig\\Node\\ImportNode' => __DIR__ . '/..' . '/twig/twig/src/Node/ImportNode.php',
|
541 |
+
'Twig\\Node\\IncludeNode' => __DIR__ . '/..' . '/twig/twig/src/Node/IncludeNode.php',
|
542 |
+
'Twig\\Node\\MacroNode' => __DIR__ . '/..' . '/twig/twig/src/Node/MacroNode.php',
|
543 |
+
'Twig\\Node\\ModuleNode' => __DIR__ . '/..' . '/twig/twig/src/Node/ModuleNode.php',
|
544 |
+
'Twig\\Node\\Node' => __DIR__ . '/..' . '/twig/twig/src/Node/Node.php',
|
545 |
+
'Twig\\Node\\NodeCaptureInterface' => __DIR__ . '/..' . '/twig/twig/src/Node/NodeCaptureInterface.php',
|
546 |
+
'Twig\\Node\\NodeOutputInterface' => __DIR__ . '/..' . '/twig/twig/src/Node/NodeOutputInterface.php',
|
547 |
+
'Twig\\Node\\PrintNode' => __DIR__ . '/..' . '/twig/twig/src/Node/PrintNode.php',
|
548 |
+
'Twig\\Node\\SandboxNode' => __DIR__ . '/..' . '/twig/twig/src/Node/SandboxNode.php',
|
549 |
+
'Twig\\Node\\SandboxedPrintNode' => __DIR__ . '/..' . '/twig/twig/src/Node/SandboxedPrintNode.php',
|
550 |
+
'Twig\\Node\\SetNode' => __DIR__ . '/..' . '/twig/twig/src/Node/SetNode.php',
|
551 |
+
'Twig\\Node\\SetTempNode' => __DIR__ . '/..' . '/twig/twig/src/Node/SetTempNode.php',
|
552 |
+
'Twig\\Node\\SpacelessNode' => __DIR__ . '/..' . '/twig/twig/src/Node/SpacelessNode.php',
|
553 |
+
'Twig\\Node\\TextNode' => __DIR__ . '/..' . '/twig/twig/src/Node/TextNode.php',
|
554 |
+
'Twig\\Node\\WithNode' => __DIR__ . '/..' . '/twig/twig/src/Node/WithNode.php',
|
555 |
+
'Twig\\Parser' => __DIR__ . '/..' . '/twig/twig/src/Parser.php',
|
556 |
+
'Twig\\Profiler\\Dumper\\BaseDumper' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Dumper/BaseDumper.php',
|
557 |
+
'Twig\\Profiler\\Dumper\\BlackfireDumper' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Dumper/BlackfireDumper.php',
|
558 |
+
'Twig\\Profiler\\Dumper\\HtmlDumper' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Dumper/HtmlDumper.php',
|
559 |
+
'Twig\\Profiler\\Dumper\\TextDumper' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Dumper/TextDumper.php',
|
560 |
+
'Twig\\Profiler\\NodeVisitor\\ProfilerNodeVisitor' => __DIR__ . '/..' . '/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php',
|
561 |
+
'Twig\\Profiler\\Node\\EnterProfileNode' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Node/EnterProfileNode.php',
|
562 |
+
'Twig\\Profiler\\Node\\LeaveProfileNode' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Node/LeaveProfileNode.php',
|
563 |
+
'Twig\\Profiler\\Profile' => __DIR__ . '/..' . '/twig/twig/src/Profiler/Profile.php',
|
564 |
+
'Twig\\RuntimeLoader\\ContainerRuntimeLoader' => __DIR__ . '/..' . '/twig/twig/src/RuntimeLoader/ContainerRuntimeLoader.php',
|
565 |
+
'Twig\\RuntimeLoader\\FactoryRuntimeLoader' => __DIR__ . '/..' . '/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php',
|
566 |
+
'Twig\\RuntimeLoader\\RuntimeLoaderInterface' => __DIR__ . '/..' . '/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php',
|
567 |
+
'Twig\\Sandbox\\SecurityError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityError.php',
|
568 |
+
'Twig\\Sandbox\\SecurityNotAllowedFilterError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php',
|
569 |
+
'Twig\\Sandbox\\SecurityNotAllowedFunctionError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php',
|
570 |
+
'Twig\\Sandbox\\SecurityNotAllowedMethodError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php',
|
571 |
+
'Twig\\Sandbox\\SecurityNotAllowedPropertyError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php',
|
572 |
+
'Twig\\Sandbox\\SecurityNotAllowedTagError' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php',
|
573 |
+
'Twig\\Sandbox\\SecurityPolicy' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityPolicy.php',
|
574 |
+
'Twig\\Sandbox\\SecurityPolicyInterface' => __DIR__ . '/..' . '/twig/twig/src/Sandbox/SecurityPolicyInterface.php',
|
575 |
+
'Twig\\Source' => __DIR__ . '/..' . '/twig/twig/src/Source.php',
|
576 |
+
'Twig\\Template' => __DIR__ . '/..' . '/twig/twig/src/Template.php',
|
577 |
+
'Twig\\TemplateWrapper' => __DIR__ . '/..' . '/twig/twig/src/TemplateWrapper.php',
|
578 |
+
'Twig\\Test\\IntegrationTestCase' => __DIR__ . '/..' . '/twig/twig/src/Test/IntegrationTestCase.php',
|
579 |
+
'Twig\\Test\\NodeTestCase' => __DIR__ . '/..' . '/twig/twig/src/Test/NodeTestCase.php',
|
580 |
+
'Twig\\Token' => __DIR__ . '/..' . '/twig/twig/src/Token.php',
|
581 |
+
'Twig\\TokenParser\\AbstractTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/AbstractTokenParser.php',
|
582 |
+
'Twig\\TokenParser\\AutoEscapeTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/AutoEscapeTokenParser.php',
|
583 |
+
'Twig\\TokenParser\\BlockTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/BlockTokenParser.php',
|
584 |
+
'Twig\\TokenParser\\DoTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/DoTokenParser.php',
|
585 |
+
'Twig\\TokenParser\\EmbedTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/EmbedTokenParser.php',
|
586 |
+
'Twig\\TokenParser\\ExtendsTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/ExtendsTokenParser.php',
|
587 |
+
'Twig\\TokenParser\\FilterTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/FilterTokenParser.php',
|
588 |
+
'Twig\\TokenParser\\FlushTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/FlushTokenParser.php',
|
589 |
+
'Twig\\TokenParser\\ForTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/ForTokenParser.php',
|
590 |
+
'Twig\\TokenParser\\FromTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/FromTokenParser.php',
|
591 |
+
'Twig\\TokenParser\\IfTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/IfTokenParser.php',
|
592 |
+
'Twig\\TokenParser\\ImportTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/ImportTokenParser.php',
|
593 |
+
'Twig\\TokenParser\\IncludeTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/IncludeTokenParser.php',
|
594 |
+
'Twig\\TokenParser\\MacroTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/MacroTokenParser.php',
|
595 |
+
'Twig\\TokenParser\\SandboxTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/SandboxTokenParser.php',
|
596 |
+
'Twig\\TokenParser\\SetTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/SetTokenParser.php',
|
597 |
+
'Twig\\TokenParser\\SpacelessTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/SpacelessTokenParser.php',
|
598 |
+
'Twig\\TokenParser\\TokenParserInterface' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/TokenParserInterface.php',
|
599 |
+
'Twig\\TokenParser\\UseTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/UseTokenParser.php',
|
600 |
+
'Twig\\TokenParser\\WithTokenParser' => __DIR__ . '/..' . '/twig/twig/src/TokenParser/WithTokenParser.php',
|
601 |
+
'Twig\\TokenStream' => __DIR__ . '/..' . '/twig/twig/src/TokenStream.php',
|
602 |
+
'Twig\\TwigFilter' => __DIR__ . '/..' . '/twig/twig/src/TwigFilter.php',
|
603 |
+
'Twig\\TwigFunction' => __DIR__ . '/..' . '/twig/twig/src/TwigFunction.php',
|
604 |
+
'Twig\\TwigTest' => __DIR__ . '/..' . '/twig/twig/src/TwigTest.php',
|
605 |
+
'Twig\\Util\\DeprecationCollector' => __DIR__ . '/..' . '/twig/twig/src/Util/DeprecationCollector.php',
|
606 |
+
'Twig\\Util\\TemplateDirIterator' => __DIR__ . '/..' . '/twig/twig/src/Util/TemplateDirIterator.php',
|
607 |
'Twig_Autoloader' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Autoloader.php',
|
608 |
'Twig_BaseNodeVisitor' => __DIR__ . '/..' . '/twig/twig/lib/Twig/BaseNodeVisitor.php',
|
609 |
'Twig_CacheInterface' => __DIR__ . '/..' . '/twig/twig/lib/Twig/CacheInterface.php',
|
743 |
'Twig_Node_With' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Node/With.php',
|
744 |
'Twig_Parser' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Parser.php',
|
745 |
'Twig_ParserInterface' => __DIR__ . '/..' . '/twig/twig/lib/Twig/ParserInterface.php',
|
746 |
+
'Twig_Profiler_Dumper_Base' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Base.php',
|
747 |
'Twig_Profiler_Dumper_Blackfire' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php',
|
748 |
'Twig_Profiler_Dumper_Html' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Html.php',
|
749 |
'Twig_Profiler_Dumper_Text' => __DIR__ . '/..' . '/twig/twig/lib/Twig/Profiler/Dumper/Text.php',
|
833 |
public static function getInitializer(ClassLoader $loader)
|
834 |
{
|
835 |
return \Closure::bind(function () use ($loader) {
|
836 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit263e354a79a63e1728c582cd98105c8a::$prefixLengthsPsr4;
|
837 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit263e354a79a63e1728c582cd98105c8a::$prefixDirsPsr4;
|
838 |
+
$loader->prefixesPsr0 = ComposerStaticInit263e354a79a63e1728c582cd98105c8a::$prefixesPsr0;
|
839 |
+
$loader->classMap = ComposerStaticInit263e354a79a63e1728c582cd98105c8a::$classMap;
|
840 |
|
841 |
}, null, ClassLoader::class);
|
842 |
}
|
vendor/composer/installed.json
CHANGED
@@ -36,26 +36,26 @@
|
|
36 |
},
|
37 |
{
|
38 |
"name": "j4mie/idiorm",
|
39 |
-
"version": "v1.5.
|
40 |
-
"version_normalized": "1.5.
|
41 |
"source": {
|
42 |
"type": "git",
|
43 |
"url": "https://github.com/j4mie/idiorm.git",
|
44 |
-
"reference": "
|
45 |
},
|
46 |
"dist": {
|
47 |
"type": "zip",
|
48 |
-
"url": "https://api.github.com/repos/j4mie/idiorm/zipball/
|
49 |
-
"reference": "
|
50 |
"shasum": ""
|
51 |
},
|
52 |
"require": {
|
53 |
"php": ">=5.2.0"
|
54 |
},
|
55 |
"require-dev": {
|
56 |
-
"phpunit/phpunit": "^
|
57 |
},
|
58 |
-
"time": "
|
59 |
"type": "library",
|
60 |
"installation-source": "dist",
|
61 |
"autoload": {
|
@@ -207,17 +207,17 @@
|
|
207 |
},
|
208 |
{
|
209 |
"name": "symfony/polyfill-mbstring",
|
210 |
-
"version": "v1.
|
211 |
-
"version_normalized": "1.
|
212 |
"source": {
|
213 |
"type": "git",
|
214 |
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
215 |
-
"reference": "
|
216 |
},
|
217 |
"dist": {
|
218 |
"type": "zip",
|
219 |
-
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/
|
220 |
-
"reference": "
|
221 |
"shasum": ""
|
222 |
},
|
223 |
"require": {
|
@@ -226,11 +226,11 @@
|
|
226 |
"suggest": {
|
227 |
"ext-mbstring": "For best performance"
|
228 |
},
|
229 |
-
"time": "
|
230 |
"type": "library",
|
231 |
"extra": {
|
232 |
"branch-alias": {
|
233 |
-
"dev-master": "1.
|
234 |
}
|
235 |
},
|
236 |
"installation-source": "dist",
|
@@ -268,17 +268,17 @@
|
|
268 |
},
|
269 |
{
|
270 |
"name": "symfony/translation",
|
271 |
-
"version": "v2.8.
|
272 |
-
"version_normalized": "2.8.
|
273 |
"source": {
|
274 |
"type": "git",
|
275 |
"url": "https://github.com/symfony/translation.git",
|
276 |
-
"reference": "
|
277 |
},
|
278 |
"dist": {
|
279 |
"type": "zip",
|
280 |
-
"url": "https://api.github.com/repos/symfony/translation/zipball/
|
281 |
-
"reference": "
|
282 |
"shasum": ""
|
283 |
},
|
284 |
"require": {
|
@@ -299,7 +299,7 @@
|
|
299 |
"symfony/config": "",
|
300 |
"symfony/yaml": ""
|
301 |
},
|
302 |
-
"time": "2017-
|
303 |
"type": "library",
|
304 |
"extra": {
|
305 |
"branch-alias": {
|
@@ -490,17 +490,17 @@
|
|
490 |
},
|
491 |
{
|
492 |
"name": "swiftmailer/swiftmailer",
|
493 |
-
"version": "v5.4.
|
494 |
-
"version_normalized": "5.4.
|
495 |
"source": {
|
496 |
"type": "git",
|
497 |
"url": "https://github.com/swiftmailer/swiftmailer.git",
|
498 |
-
"reference": "
|
499 |
},
|
500 |
"dist": {
|
501 |
"type": "zip",
|
502 |
-
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/
|
503 |
-
"reference": "
|
504 |
"shasum": ""
|
505 |
},
|
506 |
"require": {
|
@@ -510,7 +510,7 @@
|
|
510 |
"mockery/mockery": "~0.9.1",
|
511 |
"symfony/phpunit-bridge": "~3.2"
|
512 |
},
|
513 |
-
"time": "2017-
|
514 |
"type": "library",
|
515 |
"extra": {
|
516 |
"branch-alias": {
|
@@ -545,37 +545,34 @@
|
|
545 |
]
|
546 |
},
|
547 |
{
|
548 |
-
"name": "symfony/polyfill-
|
549 |
-
"version": "v1.
|
550 |
-
"version_normalized": "1.
|
551 |
"source": {
|
552 |
"type": "git",
|
553 |
-
"url": "https://github.com/symfony/polyfill-
|
554 |
-
"reference": "
|
555 |
},
|
556 |
"dist": {
|
557 |
"type": "zip",
|
558 |
-
"url": "https://api.github.com/repos/symfony/polyfill-
|
559 |
-
"reference": "
|
560 |
"shasum": ""
|
561 |
},
|
562 |
"require": {
|
563 |
"php": ">=5.3.3"
|
564 |
},
|
565 |
-
"
|
566 |
-
"ext-xml": "For best performance"
|
567 |
-
},
|
568 |
-
"time": "2016-11-14T01:06:16+00:00",
|
569 |
"type": "library",
|
570 |
"extra": {
|
571 |
"branch-alias": {
|
572 |
-
"dev-master": "1.
|
573 |
}
|
574 |
},
|
575 |
"installation-source": "dist",
|
576 |
"autoload": {
|
577 |
"psr-4": {
|
578 |
-
"Symfony\\Polyfill\\
|
579 |
},
|
580 |
"files": [
|
581 |
"bootstrap.php"
|
@@ -595,6 +592,55 @@
|
|
595 |
"homepage": "https://symfony.com/contributors"
|
596 |
}
|
597 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
598 |
"description": "Symfony polyfill for xml's utf8_encode and utf8_decode functions",
|
599 |
"homepage": "https://symfony.com",
|
600 |
"keywords": [
|
@@ -660,38 +706,41 @@
|
|
660 |
},
|
661 |
{
|
662 |
"name": "twig/twig",
|
663 |
-
"version": "v1.
|
664 |
-
"version_normalized": "1.
|
665 |
"source": {
|
666 |
"type": "git",
|
667 |
"url": "https://github.com/twigphp/Twig.git",
|
668 |
-
"reference": "
|
669 |
},
|
670 |
"dist": {
|
671 |
"type": "zip",
|
672 |
-
"url": "https://api.github.com/repos/twigphp/Twig/zipball/
|
673 |
-
"reference": "
|
674 |
"shasum": ""
|
675 |
},
|
676 |
"require": {
|
677 |
-
"php": ">=5.
|
678 |
},
|
679 |
"require-dev": {
|
680 |
"psr/container": "^1.0",
|
681 |
"symfony/debug": "~2.7",
|
682 |
-
"symfony/phpunit-bridge": "~3.
|
683 |
},
|
684 |
-
"time": "2017-
|
685 |
"type": "library",
|
686 |
"extra": {
|
687 |
"branch-alias": {
|
688 |
-
"dev-master": "1.
|
689 |
}
|
690 |
},
|
691 |
"installation-source": "dist",
|
692 |
"autoload": {
|
693 |
"psr-0": {
|
694 |
"Twig_": "lib/"
|
|
|
|
|
|
|
695 |
}
|
696 |
},
|
697 |
"notification-url": "https://packagist.org/downloads/",
|
36 |
},
|
37 |
{
|
38 |
"name": "j4mie/idiorm",
|
39 |
+
"version": "v1.5.3",
|
40 |
+
"version_normalized": "1.5.3.0",
|
41 |
"source": {
|
42 |
"type": "git",
|
43 |
"url": "https://github.com/j4mie/idiorm.git",
|
44 |
+
"reference": "f2f170c44af4761fef8ef34d6dbc237cd95df799"
|
45 |
},
|
46 |
"dist": {
|
47 |
"type": "zip",
|
48 |
+
"url": "https://api.github.com/repos/j4mie/idiorm/zipball/f2f170c44af4761fef8ef34d6dbc237cd95df799",
|
49 |
+
"reference": "f2f170c44af4761fef8ef34d6dbc237cd95df799",
|
50 |
"shasum": ""
|
51 |
},
|
52 |
"require": {
|
53 |
"php": ">=5.2.0"
|
54 |
},
|
55 |
"require-dev": {
|
56 |
+
"phpunit/phpunit": "^4.8"
|
57 |
},
|
58 |
+
"time": "2017-03-21T01:31:25+00:00",
|
59 |
"type": "library",
|
60 |
"installation-source": "dist",
|
61 |
"autoload": {
|
207 |
},
|
208 |
{
|
209 |
"name": "symfony/polyfill-mbstring",
|
210 |
+
"version": "v1.4.0",
|
211 |
+
"version_normalized": "1.4.0.0",
|
212 |
"source": {
|
213 |
"type": "git",
|
214 |
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
215 |
+
"reference": "f29dca382a6485c3cbe6379f0c61230167681937"
|
216 |
},
|
217 |
"dist": {
|
218 |
"type": "zip",
|
219 |
+
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",
|
220 |
+
"reference": "f29dca382a6485c3cbe6379f0c61230167681937",
|
221 |
"shasum": ""
|
222 |
},
|
223 |
"require": {
|
226 |
"suggest": {
|
227 |
"ext-mbstring": "For best performance"
|
228 |
},
|
229 |
+
"time": "2017-06-09T14:24:12+00:00",
|
230 |
"type": "library",
|
231 |
"extra": {
|
232 |
"branch-alias": {
|
233 |
+
"dev-master": "1.4-dev"
|
234 |
}
|
235 |
},
|
236 |
"installation-source": "dist",
|
268 |
},
|
269 |
{
|
270 |
"name": "symfony/translation",
|
271 |
+
"version": "v2.8.26",
|
272 |
+
"version_normalized": "2.8.26.0",
|
273 |
"source": {
|
274 |
"type": "git",
|
275 |
"url": "https://github.com/symfony/translation.git",
|
276 |
+
"reference": "a89af885b8c6d0142c79a02ca9cc059ed25d40d8"
|
277 |
},
|
278 |
"dist": {
|
279 |
"type": "zip",
|
280 |
+
"url": "https://api.github.com/repos/symfony/translation/zipball/a89af885b8c6d0142c79a02ca9cc059ed25d40d8",
|
281 |
+
"reference": "a89af885b8c6d0142c79a02ca9cc059ed25d40d8",
|
282 |
"shasum": ""
|
283 |
},
|
284 |
"require": {
|
299 |
"symfony/config": "",
|
300 |
"symfony/yaml": ""
|
301 |
},
|
302 |
+
"time": "2017-06-24T16:44:49+00:00",
|
303 |
"type": "library",
|
304 |
"extra": {
|
305 |
"branch-alias": {
|
490 |
},
|
491 |
{
|
492 |
"name": "swiftmailer/swiftmailer",
|
493 |
+
"version": "v5.4.8",
|
494 |
+
"version_normalized": "5.4.8.0",
|
495 |
"source": {
|
496 |
"type": "git",
|
497 |
"url": "https://github.com/swiftmailer/swiftmailer.git",
|
498 |
+
"reference": "9a06dc570a0367850280eefd3f1dc2da45aef517"
|
499 |
},
|
500 |
"dist": {
|
501 |
"type": "zip",
|
502 |
+
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/9a06dc570a0367850280eefd3f1dc2da45aef517",
|
503 |
+
"reference": "9a06dc570a0367850280eefd3f1dc2da45aef517",
|
504 |
"shasum": ""
|
505 |
},
|
506 |
"require": {
|
510 |
"mockery/mockery": "~0.9.1",
|
511 |
"symfony/phpunit-bridge": "~3.2"
|
512 |
},
|
513 |
+
"time": "2017-05-01T15:54:03+00:00",
|
514 |
"type": "library",
|
515 |
"extra": {
|
516 |
"branch-alias": {
|
545 |
]
|
546 |
},
|
547 |
{
|
548 |
+
"name": "symfony/polyfill-php72",
|
549 |
+
"version": "v1.4.0",
|
550 |
+
"version_normalized": "1.4.0.0",
|
551 |
"source": {
|
552 |
"type": "git",
|
553 |
+
"url": "https://github.com/symfony/polyfill-php72.git",
|
554 |
+
"reference": "d3a71580c1e2cab33b6d705f0ec40e9015e14d5c"
|
555 |
},
|
556 |
"dist": {
|
557 |
"type": "zip",
|
558 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/d3a71580c1e2cab33b6d705f0ec40e9015e14d5c",
|
559 |
+
"reference": "d3a71580c1e2cab33b6d705f0ec40e9015e14d5c",
|
560 |
"shasum": ""
|
561 |
},
|
562 |
"require": {
|
563 |
"php": ">=5.3.3"
|
564 |
},
|
565 |
+
"time": "2017-06-09T08:25:21+00:00",
|
|
|
|
|
|
|
566 |
"type": "library",
|
567 |
"extra": {
|
568 |
"branch-alias": {
|
569 |
+
"dev-master": "1.4-dev"
|
570 |
}
|
571 |
},
|
572 |
"installation-source": "dist",
|
573 |
"autoload": {
|
574 |
"psr-4": {
|
575 |
+
"Symfony\\Polyfill\\Php72\\": ""
|
576 |
},
|
577 |
"files": [
|
578 |
"bootstrap.php"
|
592 |
"homepage": "https://symfony.com/contributors"
|
593 |
}
|
594 |
],
|
595 |
+
"description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
|
596 |
+
"homepage": "https://symfony.com",
|
597 |
+
"keywords": [
|
598 |
+
"compatibility",
|
599 |
+
"polyfill",
|
600 |
+
"portable",
|
601 |
+
"shim"
|
602 |
+
]
|
603 |
+
},
|
604 |
+
{
|
605 |
+
"name": "symfony/polyfill-xml",
|
606 |
+
"version": "v1.4.0",
|
607 |
+
"version_normalized": "1.4.0.0",
|
608 |
+
"source": {
|
609 |
+
"type": "git",
|
610 |
+
"url": "https://github.com/symfony/polyfill-xml.git",
|
611 |
+
"reference": "89326af9d173053826ae8fe26a6f49597ba4e9f3"
|
612 |
+
},
|
613 |
+
"dist": {
|
614 |
+
"type": "zip",
|
615 |
+
"url": "https://api.github.com/repos/symfony/polyfill-xml/zipball/89326af9d173053826ae8fe26a6f49597ba4e9f3",
|
616 |
+
"reference": "89326af9d173053826ae8fe26a6f49597ba4e9f3",
|
617 |
+
"shasum": ""
|
618 |
+
},
|
619 |
+
"require": {
|
620 |
+
"php": ">=5.3.3",
|
621 |
+
"symfony/polyfill-php72": "~1.4"
|
622 |
+
},
|
623 |
+
"time": "2017-06-09T08:25:21+00:00",
|
624 |
+
"type": "metapackage",
|
625 |
+
"extra": {
|
626 |
+
"branch-alias": {
|
627 |
+
"dev-master": "1.4-dev"
|
628 |
+
}
|
629 |
+
},
|
630 |
+
"notification-url": "https://packagist.org/downloads/",
|
631 |
+
"license": [
|
632 |
+
"MIT"
|
633 |
+
],
|
634 |
+
"authors": [
|
635 |
+
{
|
636 |
+
"name": "Nicolas Grekas",
|
637 |
+
"email": "p@tchwork.com"
|
638 |
+
},
|
639 |
+
{
|
640 |
+
"name": "Symfony Community",
|
641 |
+
"homepage": "https://symfony.com/contributors"
|
642 |
+
}
|
643 |
+
],
|
644 |
"description": "Symfony polyfill for xml's utf8_encode and utf8_decode functions",
|
645 |
"homepage": "https://symfony.com",
|
646 |
"keywords": [
|
706 |
},
|
707 |
{
|
708 |
"name": "twig/twig",
|
709 |
+
"version": "v1.34.4",
|
710 |
+
"version_normalized": "1.34.4.0",
|
711 |
"source": {
|
712 |
"type": "git",
|
713 |
"url": "https://github.com/twigphp/Twig.git",
|
714 |
+
"reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee"
|
715 |
},
|
716 |
"dist": {
|
717 |
"type": "zip",
|
718 |
+
"url": "https://api.github.com/repos/twigphp/Twig/zipball/f878bab48edb66ad9c6ed626bf817f60c6c096ee",
|
719 |
+
"reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee",
|
720 |
"shasum": ""
|
721 |
},
|
722 |
"require": {
|
723 |
+
"php": ">=5.3.3"
|
724 |
},
|
725 |
"require-dev": {
|
726 |
"psr/container": "^1.0",
|
727 |
"symfony/debug": "~2.7",
|
728 |
+
"symfony/phpunit-bridge": "~3.3@dev"
|
729 |
},
|
730 |
+
"time": "2017-07-04T13:19:31+00:00",
|
731 |
"type": "library",
|
732 |
"extra": {
|
733 |
"branch-alias": {
|
734 |
+
"dev-master": "1.34-dev"
|
735 |
}
|
736 |
},
|
737 |
"installation-source": "dist",
|
738 |
"autoload": {
|
739 |
"psr-0": {
|
740 |
"Twig_": "lib/"
|
741 |
+
},
|
742 |
+
"psr-4": {
|
743 |
+
"Twig\\": "src/"
|
744 |
}
|
745 |
},
|
746 |
"notification-url": "https://packagist.org/downloads/",
|
vendor/j4mie/idiorm/composer.json
CHANGED
@@ -29,10 +29,10 @@
|
|
29 |
}
|
30 |
],
|
31 |
"scripts": {
|
32 |
-
"test": "
|
33 |
},
|
34 |
"require-dev": {
|
35 |
-
"phpunit/phpunit": "^
|
36 |
},
|
37 |
"license": [
|
38 |
"BSD-2-Clause",
|
29 |
}
|
30 |
],
|
31 |
"scripts": {
|
32 |
+
"test": "phpunit"
|
33 |
},
|
34 |
"require-dev": {
|
35 |
+
"phpunit/phpunit": "^4.8"
|
36 |
},
|
37 |
"license": [
|
38 |
"BSD-2-Clause",
|
vendor/swiftmailer/swiftmailer/.travis.yml
CHANGED
@@ -11,8 +11,7 @@ before_script:
|
|
11 |
- gem install mailcatcher
|
12 |
- mailcatcher --smtp-port 4456
|
13 |
|
14 |
-
script:
|
15 |
-
- phpunit --verbose
|
16 |
|
17 |
matrix:
|
18 |
include:
|
@@ -21,7 +20,12 @@ matrix:
|
|
21 |
- php: 5.5
|
22 |
- php: 5.6
|
23 |
- php: 7.0
|
|
|
24 |
- php: hhvm
|
25 |
allow_failures:
|
26 |
- php: hhvm
|
27 |
fast_finish: true
|
|
|
|
|
|
|
|
11 |
- gem install mailcatcher
|
12 |
- mailcatcher --smtp-port 4456
|
13 |
|
14 |
+
script: ./vendor/bin/simple-phpunit
|
|
|
15 |
|
16 |
matrix:
|
17 |
include:
|
20 |
- php: 5.5
|
21 |
- php: 5.6
|
22 |
- php: 7.0
|
23 |
+
- php: 7.1
|
24 |
- php: hhvm
|
25 |
allow_failures:
|
26 |
- php: hhvm
|
27 |
fast_finish: true
|
28 |
+
|
29 |
+
cache:
|
30 |
+
directories:
|
31 |
+
- .phpunit
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/DependencyContainer.php
CHANGED
@@ -48,7 +48,7 @@ class Swift_DependencyContainer
|
|
48 |
/**
|
49 |
* Returns a singleton of the DependencyContainer.
|
50 |
*
|
51 |
-
* @return
|
52 |
*/
|
53 |
public static function getInstance()
|
54 |
{
|
@@ -143,7 +143,7 @@ class Swift_DependencyContainer
|
|
143 |
*
|
144 |
* @param string $itemName
|
145 |
*
|
146 |
-
* @return
|
147 |
*/
|
148 |
public function register($itemName)
|
149 |
{
|
@@ -160,7 +160,7 @@ class Swift_DependencyContainer
|
|
160 |
*
|
161 |
* @param mixed $value
|
162 |
*
|
163 |
-
* @return
|
164 |
*/
|
165 |
public function asValue($value)
|
166 |
{
|
@@ -176,7 +176,7 @@ class Swift_DependencyContainer
|
|
176 |
*
|
177 |
* @param string $lookup
|
178 |
*
|
179 |
-
* @return
|
180 |
*/
|
181 |
public function asAliasOf($lookup)
|
182 |
{
|
@@ -198,7 +198,7 @@ class Swift_DependencyContainer
|
|
198 |
*
|
199 |
* @param string $className
|
200 |
*
|
201 |
-
* @return
|
202 |
*/
|
203 |
public function asNewInstanceOf($className)
|
204 |
{
|
@@ -216,7 +216,7 @@ class Swift_DependencyContainer
|
|
216 |
*
|
217 |
* @param string $className
|
218 |
*
|
219 |
-
* @return
|
220 |
*/
|
221 |
public function asSharedInstanceOf($className)
|
222 |
{
|
@@ -236,7 +236,7 @@ class Swift_DependencyContainer
|
|
236 |
*
|
237 |
* @param array $lookups
|
238 |
*
|
239 |
-
* @return
|
240 |
*/
|
241 |
public function withDependencies(array $lookups)
|
242 |
{
|
@@ -257,7 +257,7 @@ class Swift_DependencyContainer
|
|
257 |
*
|
258 |
* @param mixed $value
|
259 |
*
|
260 |
-
* @return
|
261 |
*/
|
262 |
public function addConstructorValue($value)
|
263 |
{
|
@@ -278,7 +278,7 @@ class Swift_DependencyContainer
|
|
278 |
*
|
279 |
* @param string $lookup
|
280 |
*
|
281 |
-
* @return
|
282 |
*/
|
283 |
public function addConstructorLookup($lookup)
|
284 |
{
|
48 |
/**
|
49 |
* Returns a singleton of the DependencyContainer.
|
50 |
*
|
51 |
+
* @return self
|
52 |
*/
|
53 |
public static function getInstance()
|
54 |
{
|
143 |
*
|
144 |
* @param string $itemName
|
145 |
*
|
146 |
+
* @return $this
|
147 |
*/
|
148 |
public function register($itemName)
|
149 |
{
|
160 |
*
|
161 |
* @param mixed $value
|
162 |
*
|
163 |
+
* @return $this
|
164 |
*/
|
165 |
public function asValue($value)
|
166 |
{
|
176 |
*
|
177 |
* @param string $lookup
|
178 |
*
|
179 |
+
* @return $this
|
180 |
*/
|
181 |
public function asAliasOf($lookup)
|
182 |
{
|
198 |
*
|
199 |
* @param string $className
|
200 |
*
|
201 |
+
* @return $this
|
202 |
*/
|
203 |
public function asNewInstanceOf($className)
|
204 |
{
|
216 |
*
|
217 |
* @param string $className
|
218 |
*
|
219 |
+
* @return $this
|
220 |
*/
|
221 |
public function asSharedInstanceOf($className)
|
222 |
{
|
236 |
*
|
237 |
* @param array $lookups
|
238 |
*
|
239 |
+
* @return $this
|
240 |
*/
|
241 |
public function withDependencies(array $lookups)
|
242 |
{
|
257 |
*
|
258 |
* @param mixed $value
|
259 |
*
|
260 |
+
* @return $this
|
261 |
*/
|
262 |
public function addConstructorValue($value)
|
263 |
{
|
278 |
*
|
279 |
* @param string $lookup
|
280 |
*
|
281 |
+
* @return $this
|
282 |
*/
|
283 |
public function addConstructorLookup($lookup)
|
284 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/FailoverTransport.php
CHANGED
@@ -36,7 +36,7 @@ class Swift_FailoverTransport extends Swift_Transport_FailoverTransport
|
|
36 |
*
|
37 |
* @param Swift_Transport[] $transports
|
38 |
*
|
39 |
-
* @return
|
40 |
*/
|
41 |
public static function newInstance($transports = array())
|
42 |
{
|
36 |
*
|
37 |
* @param Swift_Transport[] $transports
|
38 |
*
|
39 |
+
* @return self
|
40 |
*/
|
41 |
public static function newInstance($transports = array())
|
42 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Image.php
CHANGED
@@ -36,7 +36,7 @@ class Swift_Image extends Swift_EmbeddedFile
|
|
36 |
* @param string $filename
|
37 |
* @param string $contentType
|
38 |
*
|
39 |
-
* @return
|
40 |
*/
|
41 |
public static function newInstance($data = null, $filename = null, $contentType = null)
|
42 |
{
|
@@ -48,14 +48,10 @@ class Swift_Image extends Swift_EmbeddedFile
|
|
48 |
*
|
49 |
* @param string $path
|
50 |
*
|
51 |
-
* @return
|
52 |
*/
|
53 |
public static function fromPath($path)
|
54 |
{
|
55 |
-
|
56 |
-
new Swift_ByteStream_FileByteStream($path)
|
57 |
-
);
|
58 |
-
|
59 |
-
return $image;
|
60 |
}
|
61 |
}
|
36 |
* @param string $filename
|
37 |
* @param string $contentType
|
38 |
*
|
39 |
+
* @return self
|
40 |
*/
|
41 |
public static function newInstance($data = null, $filename = null, $contentType = null)
|
42 |
{
|
48 |
*
|
49 |
* @param string $path
|
50 |
*
|
51 |
+
* @return self
|
52 |
*/
|
53 |
public static function fromPath($path)
|
54 |
{
|
55 |
+
return self::newInstance()->setFile(new Swift_ByteStream_FileByteStream($path));
|
|
|
|
|
|
|
|
|
56 |
}
|
57 |
}
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/LoadBalancedTransport.php
CHANGED
@@ -36,7 +36,7 @@ class Swift_LoadBalancedTransport extends Swift_Transport_LoadBalancedTransport
|
|
36 |
*
|
37 |
* @param array $transports
|
38 |
*
|
39 |
-
* @return
|
40 |
*/
|
41 |
public static function newInstance($transports = array())
|
42 |
{
|
36 |
*
|
37 |
* @param array $transports
|
38 |
*
|
39 |
+
* @return self
|
40 |
*/
|
41 |
public static function newInstance($transports = array())
|
42 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/MailTransport.php
CHANGED
@@ -38,7 +38,7 @@ class Swift_MailTransport extends Swift_Transport_MailTransport
|
|
38 |
*
|
39 |
* @param string $extraParams To be passed to mail()
|
40 |
*
|
41 |
-
* @return
|
42 |
*/
|
43 |
public static function newInstance($extraParams = '-f%s')
|
44 |
{
|
38 |
*
|
39 |
* @param string $extraParams To be passed to mail()
|
40 |
*
|
41 |
+
* @return self
|
42 |
*/
|
43 |
public static function newInstance($extraParams = '-f%s')
|
44 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php
CHANGED
@@ -33,7 +33,7 @@ class Swift_Mailer
|
|
33 |
*
|
34 |
* @param Swift_Transport $transport
|
35 |
*
|
36 |
-
* @return
|
37 |
*/
|
38 |
public static function newInstance(Swift_Transport $transport)
|
39 |
{
|
33 |
*
|
34 |
* @param Swift_Transport $transport
|
35 |
*
|
36 |
+
* @return self
|
37 |
*/
|
38 |
public static function newInstance(Swift_Transport $transport)
|
39 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php
CHANGED
@@ -86,9 +86,7 @@ class Swift_Message extends Swift_Mime_SimpleMessage
|
|
86 |
*/
|
87 |
public function addPart($body, $contentType = null, $charset = null)
|
88 |
{
|
89 |
-
return $this->attach(Swift_MimePart::newInstance(
|
90 |
-
$body, $contentType, $charset
|
91 |
-
));
|
92 |
}
|
93 |
|
94 |
/**
|
86 |
*/
|
87 |
public function addPart($body, $contentType = null, $charset = null)
|
88 |
{
|
89 |
+
return $this->attach(Swift_MimePart::newInstance($body, $contentType, $charset)->setEncoder($this->getEncoder()));
|
|
|
|
|
90 |
}
|
91 |
|
92 |
/**
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Attachment.php
CHANGED
@@ -64,7 +64,7 @@ class Swift_Mime_Attachment extends Swift_Mime_SimpleMimeEntity
|
|
64 |
*
|
65 |
* @param string $disposition
|
66 |
*
|
67 |
-
* @return
|
68 |
*/
|
69 |
public function setDisposition($disposition)
|
70 |
{
|
@@ -90,7 +90,7 @@ class Swift_Mime_Attachment extends Swift_Mime_SimpleMimeEntity
|
|
90 |
*
|
91 |
* @param string $filename
|
92 |
*
|
93 |
-
* @return
|
94 |
*/
|
95 |
public function setFilename($filename)
|
96 |
{
|
@@ -115,7 +115,7 @@ class Swift_Mime_Attachment extends Swift_Mime_SimpleMimeEntity
|
|
115 |
*
|
116 |
* @param int $size
|
117 |
*
|
118 |
-
* @return
|
119 |
*/
|
120 |
public function setSize($size)
|
121 |
{
|
@@ -130,7 +130,7 @@ class Swift_Mime_Attachment extends Swift_Mime_SimpleMimeEntity
|
|
130 |
* @param Swift_FileStream $file
|
131 |
* @param string $contentType optional
|
132 |
*
|
133 |
-
* @return
|
134 |
*/
|
135 |
public function setFile(Swift_FileStream $file, $contentType = null)
|
136 |
{
|
64 |
*
|
65 |
* @param string $disposition
|
66 |
*
|
67 |
+
* @return $this
|
68 |
*/
|
69 |
public function setDisposition($disposition)
|
70 |
{
|
90 |
*
|
91 |
* @param string $filename
|
92 |
*
|
93 |
+
* @return $this
|
94 |
*/
|
95 |
public function setFilename($filename)
|
96 |
{
|
115 |
*
|
116 |
* @param int $size
|
117 |
*
|
118 |
+
* @return $this
|
119 |
*/
|
120 |
public function setSize($size)
|
121 |
{
|
130 |
* @param Swift_FileStream $file
|
131 |
* @param string $contentType optional
|
132 |
*
|
133 |
+
* @return $this
|
134 |
*/
|
135 |
public function setFile(Swift_FileStream $file, $contentType = null)
|
136 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/HeaderSet.php
CHANGED
@@ -138,7 +138,7 @@ interface Swift_Mime_HeaderSet extends Swift_Mime_CharsetObserver
|
|
138 |
/**
|
139 |
* Create a new instance of this HeaderSet.
|
140 |
*
|
141 |
-
* @return
|
142 |
*/
|
143 |
public function newInstance();
|
144 |
|
138 |
/**
|
139 |
* Create a new instance of this HeaderSet.
|
140 |
*
|
141 |
+
* @return self
|
142 |
*/
|
143 |
public function newInstance();
|
144 |
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/MimePart.php
CHANGED
@@ -53,7 +53,7 @@ class Swift_Mime_MimePart extends Swift_Mime_SimpleMimeEntity
|
|
53 |
* @param string $contentType optional
|
54 |
* @param string $charset optional
|
55 |
*
|
56 |
-
* @return
|
57 |
*/
|
58 |
public function setBody($body, $contentType = null, $charset = null)
|
59 |
{
|
@@ -82,7 +82,7 @@ class Swift_Mime_MimePart extends Swift_Mime_SimpleMimeEntity
|
|
82 |
*
|
83 |
* @param string $charset
|
84 |
*
|
85 |
-
* @return
|
86 |
*/
|
87 |
public function setCharset($charset)
|
88 |
{
|
@@ -111,7 +111,7 @@ class Swift_Mime_MimePart extends Swift_Mime_SimpleMimeEntity
|
|
111 |
*
|
112 |
* @param string $format
|
113 |
*
|
114 |
-
* @return
|
115 |
*/
|
116 |
public function setFormat($format)
|
117 |
{
|
@@ -136,7 +136,7 @@ class Swift_Mime_MimePart extends Swift_Mime_SimpleMimeEntity
|
|
136 |
*
|
137 |
* @param bool $delsp
|
138 |
*
|
139 |
-
* @return
|
140 |
*/
|
141 |
public function setDelSp($delsp = true)
|
142 |
{
|
53 |
* @param string $contentType optional
|
54 |
* @param string $charset optional
|
55 |
*
|
56 |
+
* @return $this
|
57 |
*/
|
58 |
public function setBody($body, $contentType = null, $charset = null)
|
59 |
{
|
82 |
*
|
83 |
* @param string $charset
|
84 |
*
|
85 |
+
* @return $this
|
86 |
*/
|
87 |
public function setCharset($charset)
|
88 |
{
|
111 |
*
|
112 |
* @param string $format
|
113 |
*
|
114 |
+
* @return $this
|
115 |
*/
|
116 |
public function setFormat($format)
|
117 |
{
|
136 |
*
|
137 |
* @param bool $delsp
|
138 |
*
|
139 |
+
* @return $this
|
140 |
*/
|
141 |
public function setDelSp($delsp = true)
|
142 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php
CHANGED
@@ -266,7 +266,7 @@ class Swift_Mime_SimpleHeaderSet implements Swift_Mime_HeaderSet
|
|
266 |
/**
|
267 |
* Create a new instance of this HeaderSet.
|
268 |
*
|
269 |
-
* @return
|
270 |
*/
|
271 |
public function newInstance()
|
272 |
{
|
266 |
/**
|
267 |
* Create a new instance of this HeaderSet.
|
268 |
*
|
269 |
+
* @return self
|
270 |
*/
|
271 |
public function newInstance()
|
272 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php
CHANGED
@@ -786,20 +786,23 @@ class Swift_Mime_SimpleMimeEntity implements Swift_Mime_MimeEntity
|
|
786 |
|
787 |
// Sort in order of preference, if there is one
|
788 |
if ($shouldSort) {
|
789 |
-
|
790 |
-
|
791 |
-
|
|
|
|
|
792 |
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
$types = array(strtolower($a->getContentType()), strtolower($b->getContentType()));
|
797 |
|
798 |
-
|
799 |
-
|
800 |
-
}
|
801 |
|
802 |
-
|
|
|
|
|
|
|
803 |
}
|
804 |
|
805 |
/**
|
786 |
|
787 |
// Sort in order of preference, if there is one
|
788 |
if ($shouldSort) {
|
789 |
+
// Group the messages by order of preference
|
790 |
+
$sorted = array();
|
791 |
+
foreach ($this->_immediateChildren as $child) {
|
792 |
+
$type = $child->getContentType();
|
793 |
+
$level = array_key_exists($type, $this->_alternativePartOrder) ? $this->_alternativePartOrder[$type] : max($this->_alternativePartOrder) + 1;
|
794 |
|
795 |
+
if (empty($sorted[$level])) {
|
796 |
+
$sorted[$level] = array();
|
797 |
+
}
|
|
|
798 |
|
799 |
+
$sorted[$level][] = $child;
|
800 |
+
}
|
|
|
801 |
|
802 |
+
ksort($sorted);
|
803 |
+
|
804 |
+
$this->_immediateChildren = array_reduce($sorted, 'array_merge', array());
|
805 |
+
}
|
806 |
}
|
807 |
|
808 |
/**
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/MimePart.php
CHANGED
@@ -50,7 +50,7 @@ class Swift_MimePart extends Swift_Mime_MimePart
|
|
50 |
* @param string $contentType
|
51 |
* @param string $charset
|
52 |
*
|
53 |
-
* @return
|
54 |
*/
|
55 |
public static function newInstance($body = null, $contentType = null, $charset = null)
|
56 |
{
|
50 |
* @param string $contentType
|
51 |
* @param string $charset
|
52 |
*
|
53 |
+
* @return self
|
54 |
*/
|
55 |
public static function newInstance($body = null, $contentType = null, $charset = null)
|
56 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/NullTransport.php
CHANGED
@@ -15,9 +15,6 @@
|
|
15 |
*/
|
16 |
class Swift_NullTransport extends Swift_Transport_NullTransport
|
17 |
{
|
18 |
-
/**
|
19 |
-
* Create a new NullTransport.
|
20 |
-
*/
|
21 |
public function __construct()
|
22 |
{
|
23 |
call_user_func_array(
|
@@ -30,7 +27,7 @@ class Swift_NullTransport extends Swift_Transport_NullTransport
|
|
30 |
/**
|
31 |
* Create a new NullTransport instance.
|
32 |
*
|
33 |
-
* @return
|
34 |
*/
|
35 |
public static function newInstance()
|
36 |
{
|
15 |
*/
|
16 |
class Swift_NullTransport extends Swift_Transport_NullTransport
|
17 |
{
|
|
|
|
|
|
|
18 |
public function __construct()
|
19 |
{
|
20 |
call_user_func_array(
|
27 |
/**
|
28 |
* Create a new NullTransport instance.
|
29 |
*
|
30 |
+
* @return self
|
31 |
*/
|
32 |
public static function newInstance()
|
33 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php
CHANGED
@@ -63,7 +63,7 @@ class Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeL
|
|
63 |
* @param int $port
|
64 |
* @param string $crypto as "tls" or "ssl"
|
65 |
*
|
66 |
-
* @return
|
67 |
*/
|
68 |
public static function newInstance($host, $port = 110, $crypto = null)
|
69 |
{
|
@@ -75,7 +75,7 @@ class Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeL
|
|
75 |
*
|
76 |
* @param Swift_Plugins_Pop_Pop3Connection $connection
|
77 |
*
|
78 |
-
* @return
|
79 |
*/
|
80 |
public function setConnection(Swift_Plugins_Pop_Pop3Connection $connection)
|
81 |
{
|
@@ -99,7 +99,7 @@ class Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeL
|
|
99 |
*
|
100 |
* @param int $timeout
|
101 |
*
|
102 |
-
* @return
|
103 |
*/
|
104 |
public function setTimeout($timeout)
|
105 |
{
|
@@ -113,7 +113,7 @@ class Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeL
|
|
113 |
*
|
114 |
* @param string $username
|
115 |
*
|
116 |
-
* @return
|
117 |
*/
|
118 |
public function setUsername($username)
|
119 |
{
|
@@ -127,7 +127,7 @@ class Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeL
|
|
127 |
*
|
128 |
* @param string $password
|
129 |
*
|
130 |
-
* @return
|
131 |
*/
|
132 |
public function setPassword($password)
|
133 |
{
|
63 |
* @param int $port
|
64 |
* @param string $crypto as "tls" or "ssl"
|
65 |
*
|
66 |
+
* @return self
|
67 |
*/
|
68 |
public static function newInstance($host, $port = 110, $crypto = null)
|
69 |
{
|
75 |
*
|
76 |
* @param Swift_Plugins_Pop_Pop3Connection $connection
|
77 |
*
|
78 |
+
* @return $this
|
79 |
*/
|
80 |
public function setConnection(Swift_Plugins_Pop_Pop3Connection $connection)
|
81 |
{
|
99 |
*
|
100 |
* @param int $timeout
|
101 |
*
|
102 |
+
* @return $this
|
103 |
*/
|
104 |
public function setTimeout($timeout)
|
105 |
{
|
113 |
*
|
114 |
* @param string $username
|
115 |
*
|
116 |
+
* @return $this
|
117 |
*/
|
118 |
public function setUsername($username)
|
119 |
{
|
127 |
*
|
128 |
* @param string $password
|
129 |
*
|
130 |
+
* @return $this
|
131 |
*/
|
132 |
public function setPassword($password)
|
133 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Preferences.php
CHANGED
@@ -26,7 +26,7 @@ class Swift_Preferences
|
|
26 |
/**
|
27 |
* Gets the instance of Preferences.
|
28 |
*
|
29 |
-
* @return
|
30 |
*/
|
31 |
public static function getInstance()
|
32 |
{
|
@@ -42,12 +42,11 @@ class Swift_Preferences
|
|
42 |
*
|
43 |
* @param string $charset
|
44 |
*
|
45 |
-
* @return
|
46 |
*/
|
47 |
public function setCharset($charset)
|
48 |
{
|
49 |
-
Swift_DependencyContainer::getInstance()
|
50 |
-
->register('properties.charset')->asValue($charset);
|
51 |
|
52 |
return $this;
|
53 |
}
|
@@ -57,12 +56,11 @@ class Swift_Preferences
|
|
57 |
*
|
58 |
* @param string $dir
|
59 |
*
|
60 |
-
* @return
|
61 |
*/
|
62 |
public function setTempDir($dir)
|
63 |
{
|
64 |
-
Swift_DependencyContainer::getInstance()
|
65 |
-
->register('tempdir')->asValue($dir);
|
66 |
|
67 |
return $this;
|
68 |
}
|
@@ -72,12 +70,11 @@ class Swift_Preferences
|
|
72 |
*
|
73 |
* @param string $type
|
74 |
*
|
75 |
-
* @return
|
76 |
*/
|
77 |
public function setCacheType($type)
|
78 |
{
|
79 |
-
Swift_DependencyContainer::getInstance()
|
80 |
-
->register('cache')->asAliasOf(sprintf('cache.%s', $type));
|
81 |
|
82 |
return $this;
|
83 |
}
|
@@ -87,7 +84,7 @@ class Swift_Preferences
|
|
87 |
*
|
88 |
* @param bool $dotEscape
|
89 |
*
|
90 |
-
* @return
|
91 |
*/
|
92 |
public function setQPDotEscape($dotEscape)
|
93 |
{
|
26 |
/**
|
27 |
* Gets the instance of Preferences.
|
28 |
*
|
29 |
+
* @return self
|
30 |
*/
|
31 |
public static function getInstance()
|
32 |
{
|
42 |
*
|
43 |
* @param string $charset
|
44 |
*
|
45 |
+
* @return $this
|
46 |
*/
|
47 |
public function setCharset($charset)
|
48 |
{
|
49 |
+
Swift_DependencyContainer::getInstance()->register('properties.charset')->asValue($charset);
|
|
|
50 |
|
51 |
return $this;
|
52 |
}
|
56 |
*
|
57 |
* @param string $dir
|
58 |
*
|
59 |
+
* @return $this
|
60 |
*/
|
61 |
public function setTempDir($dir)
|
62 |
{
|
63 |
+
Swift_DependencyContainer::getInstance()->register('tempdir')->asValue($dir);
|
|
|
64 |
|
65 |
return $this;
|
66 |
}
|
70 |
*
|
71 |
* @param string $type
|
72 |
*
|
73 |
+
* @return $this
|
74 |
*/
|
75 |
public function setCacheType($type)
|
76 |
{
|
77 |
+
Swift_DependencyContainer::getInstance()->register('cache')->asAliasOf(sprintf('cache.%s', $type));
|
|
|
78 |
|
79 |
return $this;
|
80 |
}
|
84 |
*
|
85 |
* @param bool $dotEscape
|
86 |
*
|
87 |
+
* @return $this
|
88 |
*/
|
89 |
public function setQPDotEscape($dotEscape)
|
90 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/SendmailTransport.php
CHANGED
@@ -36,7 +36,7 @@ class Swift_SendmailTransport extends Swift_Transport_SendmailTransport
|
|
36 |
*
|
37 |
* @param string $command
|
38 |
*
|
39 |
-
* @return
|
40 |
*/
|
41 |
public static function newInstance($command = '/usr/sbin/sendmail -bs')
|
42 |
{
|
36 |
*
|
37 |
* @param string $command
|
38 |
*
|
39 |
+
* @return self
|
40 |
*/
|
41 |
public static function newInstance($command = '/usr/sbin/sendmail -bs')
|
42 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/BodySigner.php
CHANGED
@@ -20,7 +20,7 @@ interface Swift_Signers_BodySigner extends Swift_Signer
|
|
20 |
*
|
21 |
* @param Swift_Message $message
|
22 |
*
|
23 |
-
* @return
|
24 |
*/
|
25 |
public function signMessage(Swift_Message $message);
|
26 |
|
20 |
*
|
21 |
* @param Swift_Message $message
|
22 |
*
|
23 |
+
* @return self
|
24 |
*/
|
25 |
public function signMessage(Swift_Message $message);
|
26 |
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/DKIMSigner.php
CHANGED
@@ -190,7 +190,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
190 |
* @param string $domainName
|
191 |
* @param string $selector
|
192 |
*
|
193 |
-
* @return
|
194 |
*/
|
195 |
public static function newInstance($privateKey, $domainName, $selector)
|
196 |
{
|
@@ -302,7 +302,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
302 |
*
|
303 |
* @throws Swift_SwiftException
|
304 |
*
|
305 |
-
* @return
|
306 |
*/
|
307 |
public function setHashAlgorithm($hash)
|
308 |
{
|
@@ -328,7 +328,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
328 |
*
|
329 |
* @param string $canon
|
330 |
*
|
331 |
-
* @return
|
332 |
*/
|
333 |
public function setBodyCanon($canon)
|
334 |
{
|
@@ -346,7 +346,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
346 |
*
|
347 |
* @param string $canon
|
348 |
*
|
349 |
-
* @return
|
350 |
*/
|
351 |
public function setHeaderCanon($canon)
|
352 |
{
|
@@ -364,7 +364,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
364 |
*
|
365 |
* @param string $identity
|
366 |
*
|
367 |
-
* @return
|
368 |
*/
|
369 |
public function setSignerIdentity($identity)
|
370 |
{
|
@@ -378,7 +378,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
378 |
*
|
379 |
* @param mixed $len (bool or int)
|
380 |
*
|
381 |
-
* @return
|
382 |
*/
|
383 |
public function setBodySignedLen($len)
|
384 |
{
|
@@ -401,7 +401,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
401 |
*
|
402 |
* @param int $time A timestamp
|
403 |
*
|
404 |
-
* @return
|
405 |
*/
|
406 |
public function setSignatureTimestamp($time)
|
407 |
{
|
@@ -415,7 +415,7 @@ class Swift_Signers_DKIMSigner implements Swift_Signers_HeaderSigner
|
|
415 |
*
|
416 |
* @param int $time A timestamp
|
417 |
*
|
418 |
-
* @return
|
419 |
*/
|
420 |
public function setSignatureExpiration($time)
|
421 |
{
|
190 |
* @param string $domainName
|
191 |
* @param string $selector
|
192 |
*
|
193 |
+
* @return self
|
194 |
*/
|
195 |
public static function newInstance($privateKey, $domainName, $selector)
|
196 |
{
|
302 |
*
|
303 |
* @throws Swift_SwiftException
|
304 |
*
|
305 |
+
* @return $this
|
306 |
*/
|
307 |
public function setHashAlgorithm($hash)
|
308 |
{
|
328 |
*
|
329 |
* @param string $canon
|
330 |
*
|
331 |
+
* @return $this
|
332 |
*/
|
333 |
public function setBodyCanon($canon)
|
334 |
{
|
346 |
*
|
347 |
* @param string $canon
|
348 |
*
|
349 |
+
* @return $this
|
350 |
*/
|
351 |
public function setHeaderCanon($canon)
|
352 |
{
|
364 |
*
|
365 |
* @param string $identity
|
366 |
*
|
367 |
+
* @return $this
|
368 |
*/
|
369 |
public function setSignerIdentity($identity)
|
370 |
{
|
378 |
*
|
379 |
* @param mixed $len (bool or int)
|
380 |
*
|
381 |
+
* @return $this
|
382 |
*/
|
383 |
public function setBodySignedLen($len)
|
384 |
{
|
401 |
*
|
402 |
* @param int $time A timestamp
|
403 |
*
|
404 |
+
* @return $this
|
405 |
*/
|
406 |
public function setSignatureTimestamp($time)
|
407 |
{
|
415 |
*
|
416 |
* @param int $time A timestamp
|
417 |
*
|
418 |
+
* @return $this
|
419 |
*/
|
420 |
public function setSignatureExpiration($time)
|
421 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/DomainKeySigner.php
CHANGED
@@ -131,7 +131,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
131 |
* @param string $domainName
|
132 |
* @param string $selector
|
133 |
*
|
134 |
-
* @return
|
135 |
*/
|
136 |
public static function newInstance($privateKey, $domainName, $selector)
|
137 |
{
|
@@ -141,7 +141,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
141 |
/**
|
142 |
* Resets internal states.
|
143 |
*
|
144 |
-
* @return
|
145 |
*/
|
146 |
public function reset()
|
147 |
{
|
@@ -169,8 +169,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
169 |
*
|
170 |
* @throws Swift_IoException
|
171 |
*
|
172 |
-
* @return
|
173 |
-
* @return Swift_Signers_DomainKeySigner
|
174 |
*/
|
175 |
public function write($bytes)
|
176 |
{
|
@@ -188,7 +187,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
188 |
*
|
189 |
* @throws Swift_IoException
|
190 |
*
|
191 |
-
* @return
|
192 |
*/
|
193 |
public function commit()
|
194 |
{
|
@@ -203,7 +202,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
203 |
*
|
204 |
* @param Swift_InputByteStream $is
|
205 |
*
|
206 |
-
* @return
|
207 |
*/
|
208 |
public function bind(Swift_InputByteStream $is)
|
209 |
{
|
@@ -221,7 +220,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
221 |
*
|
222 |
* @param Swift_InputByteStream $is
|
223 |
*
|
224 |
-
* @return
|
225 |
*/
|
226 |
public function unbind(Swift_InputByteStream $is)
|
227 |
{
|
@@ -230,7 +229,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
230 |
if ($stream === $is) {
|
231 |
unset($this->_bound[$k]);
|
232 |
|
233 |
-
|
234 |
}
|
235 |
}
|
236 |
|
@@ -243,7 +242,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
243 |
*
|
244 |
* @throws Swift_IoException
|
245 |
*
|
246 |
-
* @return
|
247 |
*/
|
248 |
public function flushBuffers()
|
249 |
{
|
@@ -257,7 +256,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
257 |
*
|
258 |
* @param string $hash
|
259 |
*
|
260 |
-
* @return
|
261 |
*/
|
262 |
public function setHashAlgorithm($hash)
|
263 |
{
|
@@ -271,7 +270,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
271 |
*
|
272 |
* @param string $canon simple | nofws defaults to simple
|
273 |
*
|
274 |
-
* @return
|
275 |
*/
|
276 |
public function setCanon($canon)
|
277 |
{
|
@@ -289,7 +288,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
289 |
*
|
290 |
* @param string $identity
|
291 |
*
|
292 |
-
* @return
|
293 |
*/
|
294 |
public function setSignerIdentity($identity)
|
295 |
{
|
@@ -303,7 +302,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
303 |
*
|
304 |
* @param bool $debug
|
305 |
*
|
306 |
-
* @return
|
307 |
*/
|
308 |
public function setDebugHeaders($debug)
|
309 |
{
|
@@ -346,7 +345,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
346 |
*
|
347 |
* @param string $header_name
|
348 |
*
|
349 |
-
* @return
|
350 |
*/
|
351 |
public function ignoreHeader($header_name)
|
352 |
{
|
@@ -360,7 +359,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
360 |
*
|
361 |
* @param Swift_Mime_HeaderSet $headers
|
362 |
*
|
363 |
-
* @return
|
364 |
*/
|
365 |
public function setHeaders(Swift_Mime_HeaderSet $headers)
|
366 |
{
|
@@ -392,7 +391,7 @@ class Swift_Signers_DomainKeySigner implements Swift_Signers_HeaderSigner
|
|
392 |
*
|
393 |
* @param Swift_Mime_HeaderSet $headers
|
394 |
*
|
395 |
-
* @return
|
396 |
*/
|
397 |
public function addSignature(Swift_Mime_HeaderSet $headers)
|
398 |
{
|
131 |
* @param string $domainName
|
132 |
* @param string $selector
|
133 |
*
|
134 |
+
* @return self
|
135 |
*/
|
136 |
public static function newInstance($privateKey, $domainName, $selector)
|
137 |
{
|
141 |
/**
|
142 |
* Resets internal states.
|
143 |
*
|
144 |
+
* @return $this
|
145 |
*/
|
146 |
public function reset()
|
147 |
{
|
169 |
*
|
170 |
* @throws Swift_IoException
|
171 |
*
|
172 |
+
* @return $this
|
|
|
173 |
*/
|
174 |
public function write($bytes)
|
175 |
{
|
187 |
*
|
188 |
* @throws Swift_IoException
|
189 |
*
|
190 |
+
* @return $this
|
191 |
*/
|
192 |
public function commit()
|
193 |
{
|
202 |
*
|
203 |
* @param Swift_InputByteStream $is
|
204 |
*
|
205 |
+
* @return $this
|
206 |
*/
|
207 |
public function bind(Swift_InputByteStream $is)
|
208 |
{
|
220 |
*
|
221 |
* @param Swift_InputByteStream $is
|
222 |
*
|
223 |
+
* @return $this
|
224 |
*/
|
225 |
public function unbind(Swift_InputByteStream $is)
|
226 |
{
|
229 |
if ($stream === $is) {
|
230 |
unset($this->_bound[$k]);
|
231 |
|
232 |
+
break;
|
233 |
}
|
234 |
}
|
235 |
|
242 |
*
|
243 |
* @throws Swift_IoException
|
244 |
*
|
245 |
+
* @return $this
|
246 |
*/
|
247 |
public function flushBuffers()
|
248 |
{
|
256 |
*
|
257 |
* @param string $hash
|
258 |
*
|
259 |
+
* @return $this
|
260 |
*/
|
261 |
public function setHashAlgorithm($hash)
|
262 |
{
|
270 |
*
|
271 |
* @param string $canon simple | nofws defaults to simple
|
272 |
*
|
273 |
+
* @return $this
|
274 |
*/
|
275 |
public function setCanon($canon)
|
276 |
{
|
288 |
*
|
289 |
* @param string $identity
|
290 |
*
|
291 |
+
* @return $this
|
292 |
*/
|
293 |
public function setSignerIdentity($identity)
|
294 |
{
|
302 |
*
|
303 |
* @param bool $debug
|
304 |
*
|
305 |
+
* @return $this
|
306 |
*/
|
307 |
public function setDebugHeaders($debug)
|
308 |
{
|
345 |
*
|
346 |
* @param string $header_name
|
347 |
*
|
348 |
+
* @return $this
|
349 |
*/
|
350 |
public function ignoreHeader($header_name)
|
351 |
{
|
359 |
*
|
360 |
* @param Swift_Mime_HeaderSet $headers
|
361 |
*
|
362 |
+
* @return $this
|
363 |
*/
|
364 |
public function setHeaders(Swift_Mime_HeaderSet $headers)
|
365 |
{
|
391 |
*
|
392 |
* @param Swift_Mime_HeaderSet $headers
|
393 |
*
|
394 |
+
* @return $this
|
395 |
*/
|
396 |
public function addSignature(Swift_Mime_HeaderSet $headers)
|
397 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/HeaderSigner.php
CHANGED
@@ -20,21 +20,21 @@ interface Swift_Signers_HeaderSigner extends Swift_Signer, Swift_InputByteStream
|
|
20 |
*
|
21 |
* @param string $header_name
|
22 |
*
|
23 |
-
* @return
|
24 |
*/
|
25 |
public function ignoreHeader($header_name);
|
26 |
|
27 |
/**
|
28 |
* Prepare the Signer to get a new Body.
|
29 |
*
|
30 |
-
* @return
|
31 |
*/
|
32 |
public function startBody();
|
33 |
|
34 |
/**
|
35 |
* Give the signal that the body has finished streaming.
|
36 |
*
|
37 |
-
* @return
|
38 |
*/
|
39 |
public function endBody();
|
40 |
|
@@ -43,7 +43,7 @@ interface Swift_Signers_HeaderSigner extends Swift_Signer, Swift_InputByteStream
|
|
43 |
*
|
44 |
* @param Swift_Mime_SimpleHeaderSet $headers
|
45 |
*
|
46 |
-
* @return
|
47 |
*/
|
48 |
public function setHeaders(Swift_Mime_HeaderSet $headers);
|
49 |
|
@@ -52,7 +52,7 @@ interface Swift_Signers_HeaderSigner extends Swift_Signer, Swift_InputByteStream
|
|
52 |
*
|
53 |
* @param Swift_Mime_HeaderSet $headers
|
54 |
*
|
55 |
-
* @return
|
56 |
*/
|
57 |
public function addSignature(Swift_Mime_HeaderSet $headers);
|
58 |
|
20 |
*
|
21 |
* @param string $header_name
|
22 |
*
|
23 |
+
* @return self
|
24 |
*/
|
25 |
public function ignoreHeader($header_name);
|
26 |
|
27 |
/**
|
28 |
* Prepare the Signer to get a new Body.
|
29 |
*
|
30 |
+
* @return self
|
31 |
*/
|
32 |
public function startBody();
|
33 |
|
34 |
/**
|
35 |
* Give the signal that the body has finished streaming.
|
36 |
*
|
37 |
+
* @return self
|
38 |
*/
|
39 |
public function endBody();
|
40 |
|
43 |
*
|
44 |
* @param Swift_Mime_SimpleHeaderSet $headers
|
45 |
*
|
46 |
+
* @return self
|
47 |
*/
|
48 |
public function setHeaders(Swift_Mime_HeaderSet $headers);
|
49 |
|
52 |
*
|
53 |
* @param Swift_Mime_HeaderSet $headers
|
54 |
*
|
55 |
+
* @return self
|
56 |
*/
|
57 |
public function addSignature(Swift_Mime_HeaderSet $headers);
|
58 |
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/OpenDKIMSigner.php
CHANGED
@@ -133,7 +133,7 @@ class Swift_Signers_OpenDKIMSigner extends Swift_Signers_DKIMSigner
|
|
133 |
*
|
134 |
* @param int $time
|
135 |
*
|
136 |
-
* @return
|
137 |
*/
|
138 |
public function setSignatureTimestamp($time)
|
139 |
{
|
@@ -147,7 +147,7 @@ class Swift_Signers_OpenDKIMSigner extends Swift_Signers_DKIMSigner
|
|
147 |
*
|
148 |
* @param int $time
|
149 |
*
|
150 |
-
* @return
|
151 |
*/
|
152 |
public function setSignatureExpiration($time)
|
153 |
{
|
@@ -161,7 +161,7 @@ class Swift_Signers_OpenDKIMSigner extends Swift_Signers_DKIMSigner
|
|
161 |
*
|
162 |
* @param bool $debug
|
163 |
*
|
164 |
-
* @return
|
165 |
*/
|
166 |
public function setDebugHeaders($debug)
|
167 |
{
|
133 |
*
|
134 |
* @param int $time
|
135 |
*
|
136 |
+
* @return $this
|
137 |
*/
|
138 |
public function setSignatureTimestamp($time)
|
139 |
{
|
147 |
*
|
148 |
* @param int $time
|
149 |
*
|
150 |
+
* @return $this
|
151 |
*/
|
152 |
public function setSignatureExpiration($time)
|
153 |
{
|
161 |
*
|
162 |
* @param bool $debug
|
163 |
*
|
164 |
+
* @return $this
|
165 |
*/
|
166 |
public function setDebugHeaders($debug)
|
167 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/SMimeSigner.php
CHANGED
@@ -74,7 +74,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
74 |
* @param string $certificate
|
75 |
* @param string $privateKey
|
76 |
*
|
77 |
-
* @return
|
78 |
*/
|
79 |
public static function newInstance($certificate = null, $privateKey = null)
|
80 |
{
|
@@ -91,7 +91,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
91 |
* @param int $signOptions Bitwise operator options for openssl_pkcs7_sign()
|
92 |
* @param string $extraCerts A file containing intermediate certificates needed by the signing certificate
|
93 |
*
|
94 |
-
* @return
|
95 |
*/
|
96 |
public function setSignCertificate($certificate, $privateKey = null, $signOptions = PKCS7_DETACHED, $extraCerts = null)
|
97 |
{
|
@@ -123,7 +123,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
123 |
* @param string|array $recipientCerts Either an single X.509 certificate, or an assoc array of X.509 certificates.
|
124 |
* @param int $cipher
|
125 |
*
|
126 |
-
* @return
|
127 |
*/
|
128 |
public function setEncryptCertificate($recipientCerts, $cipher = null)
|
129 |
{
|
@@ -169,7 +169,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
169 |
*
|
170 |
* @param bool $signThenEncrypt
|
171 |
*
|
172 |
-
* @return
|
173 |
*/
|
174 |
public function setSignThenEncrypt($signThenEncrypt = true)
|
175 |
{
|
@@ -189,7 +189,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
189 |
/**
|
190 |
* Resets internal states.
|
191 |
*
|
192 |
-
* @return
|
193 |
*/
|
194 |
public function reset()
|
195 |
{
|
@@ -201,7 +201,7 @@ class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
|
|
201 |
*
|
202 |
* @param Swift_Message $message
|
203 |
*
|
204 |
-
* @return
|
205 |
*/
|
206 |
public function signMessage(Swift_Message $message)
|
207 |
{
|
74 |
* @param string $certificate
|
75 |
* @param string $privateKey
|
76 |
*
|
77 |
+
* @return self
|
78 |
*/
|
79 |
public static function newInstance($certificate = null, $privateKey = null)
|
80 |
{
|
91 |
* @param int $signOptions Bitwise operator options for openssl_pkcs7_sign()
|
92 |
* @param string $extraCerts A file containing intermediate certificates needed by the signing certificate
|
93 |
*
|
94 |
+
* @return $this
|
95 |
*/
|
96 |
public function setSignCertificate($certificate, $privateKey = null, $signOptions = PKCS7_DETACHED, $extraCerts = null)
|
97 |
{
|
123 |
* @param string|array $recipientCerts Either an single X.509 certificate, or an assoc array of X.509 certificates.
|
124 |
* @param int $cipher
|
125 |
*
|
126 |
+
* @return $this
|
127 |
*/
|
128 |
public function setEncryptCertificate($recipientCerts, $cipher = null)
|
129 |
{
|
169 |
*
|
170 |
* @param bool $signThenEncrypt
|
171 |
*
|
172 |
+
* @return $this
|
173 |
*/
|
174 |
public function setSignThenEncrypt($signThenEncrypt = true)
|
175 |
{
|
189 |
/**
|
190 |
* Resets internal states.
|
191 |
*
|
192 |
+
* @return $this
|
193 |
*/
|
194 |
public function reset()
|
195 |
{
|
201 |
*
|
202 |
* @param Swift_Message $message
|
203 |
*
|
204 |
+
* @return $this
|
205 |
*/
|
206 |
public function signMessage(Swift_Message $message)
|
207 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php
CHANGED
@@ -49,7 +49,7 @@ class Swift_SmtpTransport extends Swift_Transport_EsmtpTransport
|
|
49 |
* @param int $port
|
50 |
* @param string $security
|
51 |
*
|
52 |
-
* @return
|
53 |
*/
|
54 |
public static function newInstance($host = 'localhost', $port = 25, $security = null)
|
55 |
{
|
49 |
* @param int $port
|
50 |
* @param string $security
|
51 |
*
|
52 |
+
* @return self
|
53 |
*/
|
54 |
public static function newInstance($host = 'localhost', $port = 25, $security = null)
|
55 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/SpoolTransport.php
CHANGED
@@ -38,7 +38,7 @@ class Swift_SpoolTransport extends Swift_Transport_SpoolTransport
|
|
38 |
*
|
39 |
* @param Swift_Spool $spool
|
40 |
*
|
41 |
-
* @return
|
42 |
*/
|
43 |
public static function newInstance(Swift_Spool $spool)
|
44 |
{
|
38 |
*
|
39 |
* @param Swift_Spool $spool
|
40 |
*
|
41 |
+
* @return self
|
42 |
*/
|
43 |
public static function newInstance(Swift_Spool $spool)
|
44 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
CHANGED
@@ -57,7 +57,7 @@ abstract class Swift_Transport_AbstractSmtpTransport implements Swift_Transport
|
|
57 |
*
|
58 |
* @param string $domain
|
59 |
*
|
60 |
-
* @return
|
61 |
*/
|
62 |
public function setLocalDomain($domain)
|
63 |
{
|
57 |
*
|
58 |
* @param string $domain
|
59 |
*
|
60 |
+
* @return $this
|
61 |
*/
|
62 |
public function setLocalDomain($domain)
|
63 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
CHANGED
@@ -366,11 +366,9 @@ class Swift_Transport_Esmtp_Auth_NTLMAuthenticator implements Swift_Transport_Es
|
|
366 |
protected function getCorrectTimestamp($time)
|
367 |
{
|
368 |
// Get our timestamp (tricky!)
|
369 |
-
bcscale(0);
|
370 |
-
|
371 |
$time = number_format($time, 0, '.', ''); // save microtime to string
|
372 |
-
$time = bcadd($time, '11644473600000'); // add epoch time
|
373 |
-
$time = bcmul($time, 10000); // tenths of a microsecond.
|
374 |
|
375 |
$binary = $this->si2bin($time, 64); // create 64 bit binary string
|
376 |
$timestamp = '';
|
366 |
protected function getCorrectTimestamp($time)
|
367 |
{
|
368 |
// Get our timestamp (tricky!)
|
|
|
|
|
369 |
$time = number_format($time, 0, '.', ''); // save microtime to string
|
370 |
+
$time = bcadd($time, '11644473600000', 0); // add epoch time
|
371 |
+
$time = bcmul($time, 10000, 0); // tenths of a microsecond.
|
372 |
|
373 |
$binary = $this->si2bin($time, 64); // create 64 bit binary string
|
374 |
$timestamp = '';
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php
CHANGED
@@ -63,7 +63,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
63 |
*
|
64 |
* @param string $host
|
65 |
*
|
66 |
-
* @return
|
67 |
*/
|
68 |
public function setHost($host)
|
69 |
{
|
@@ -87,7 +87,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
87 |
*
|
88 |
* @param int $port
|
89 |
*
|
90 |
-
* @return
|
91 |
*/
|
92 |
public function setPort($port)
|
93 |
{
|
@@ -111,7 +111,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
111 |
*
|
112 |
* @param int $timeout seconds
|
113 |
*
|
114 |
-
* @return
|
115 |
*/
|
116 |
public function setTimeout($timeout)
|
117 |
{
|
@@ -136,7 +136,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
136 |
*
|
137 |
* @param string $encryption
|
138 |
*
|
139 |
-
* @return
|
140 |
*/
|
141 |
public function setEncryption($encryption)
|
142 |
{
|
@@ -167,7 +167,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
167 |
*
|
168 |
* @param array $options
|
169 |
*
|
170 |
-
* @return
|
171 |
*/
|
172 |
public function setStreamOptions($options)
|
173 |
{
|
@@ -191,7 +191,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
191 |
*
|
192 |
* @param string $source
|
193 |
*
|
194 |
-
* @return
|
195 |
*/
|
196 |
public function setSourceIp($source)
|
197 |
{
|
@@ -215,7 +215,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
|
|
215 |
*
|
216 |
* @param Swift_Transport_EsmtpHandler[] $handlers
|
217 |
*
|
218 |
-
* @return
|
219 |
*/
|
220 |
public function setExtensionHandlers(array $handlers)
|
221 |
{
|
63 |
*
|
64 |
* @param string $host
|
65 |
*
|
66 |
+
* @return $this
|
67 |
*/
|
68 |
public function setHost($host)
|
69 |
{
|
87 |
*
|
88 |
* @param int $port
|
89 |
*
|
90 |
+
* @return $this
|
91 |
*/
|
92 |
public function setPort($port)
|
93 |
{
|
111 |
*
|
112 |
* @param int $timeout seconds
|
113 |
*
|
114 |
+
* @return $this
|
115 |
*/
|
116 |
public function setTimeout($timeout)
|
117 |
{
|
136 |
*
|
137 |
* @param string $encryption
|
138 |
*
|
139 |
+
* @return $this
|
140 |
*/
|
141 |
public function setEncryption($encryption)
|
142 |
{
|
167 |
*
|
168 |
* @param array $options
|
169 |
*
|
170 |
+
* @return $this
|
171 |
*/
|
172 |
public function setStreamOptions($options)
|
173 |
{
|
191 |
*
|
192 |
* @param string $source
|
193 |
*
|
194 |
+
* @return $this
|
195 |
*/
|
196 |
public function setSourceIp($source)
|
197 |
{
|
215 |
*
|
216 |
* @param Swift_Transport_EsmtpHandler[] $handlers
|
217 |
*
|
218 |
+
* @return $this
|
219 |
*/
|
220 |
public function setExtensionHandlers(array $handlers)
|
221 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php
CHANGED
@@ -77,7 +77,7 @@ class Swift_Transport_MailTransport implements Swift_Transport
|
|
77 |
*
|
78 |
* @param string $params
|
79 |
*
|
80 |
-
* @return
|
81 |
*/
|
82 |
public function setExtraParams($params)
|
83 |
{
|
77 |
*
|
78 |
* @param string $params
|
79 |
*
|
80 |
+
* @return $this
|
81 |
*/
|
82 |
public function setExtraParams($params)
|
83 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php
CHANGED
@@ -64,7 +64,7 @@ class Swift_Transport_SendmailTransport extends Swift_Transport_AbstractSmtpTran
|
|
64 |
*
|
65 |
* @param string $command
|
66 |
*
|
67 |
-
* @return
|
68 |
*/
|
69 |
public function setCommand($command)
|
70 |
{
|
64 |
*
|
65 |
* @param string $command
|
66 |
*
|
67 |
+
* @return $this
|
68 |
*/
|
69 |
public function setCommand($command)
|
70 |
{
|
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SpoolTransport.php
CHANGED
@@ -35,7 +35,7 @@ class Swift_Transport_SpoolTransport implements Swift_Transport
|
|
35 |
*
|
36 |
* @param Swift_Spool $spool
|
37 |
*
|
38 |
-
* @return
|
39 |
*/
|
40 |
public function setSpool(Swift_Spool $spool)
|
41 |
{
|
35 |
*
|
36 |
* @param Swift_Spool $spool
|
37 |
*
|
38 |
+
* @return $this
|
39 |
*/
|
40 |
public function setSpool(Swift_Spool $spool)
|
41 |
{
|
vendor/symfony/polyfill-mbstring/Mbstring.php
CHANGED
@@ -147,6 +147,9 @@ final class Mbstring
|
|
147 |
|
148 |
if ('UTF-8' === $encoding) {
|
149 |
$encoding = null;
|
|
|
|
|
|
|
150 |
} else {
|
151 |
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
152 |
}
|
@@ -336,10 +339,9 @@ final class Mbstring
|
|
336 |
|
337 |
public static function mb_strlen($s, $encoding = null)
|
338 |
{
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
return strlen($s);
|
343 |
}
|
344 |
|
345 |
return @iconv_strlen($s, $encoding);
|
@@ -348,6 +350,9 @@ final class Mbstring
|
|
348 |
public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null)
|
349 |
{
|
350 |
$encoding = self::getEncoding($encoding);
|
|
|
|
|
|
|
351 |
|
352 |
if ('' === $needle .= '') {
|
353 |
trigger_error(__METHOD__.': Empty delimiter', E_USER_WARNING);
|
@@ -361,6 +366,9 @@ final class Mbstring
|
|
361 |
public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null)
|
362 |
{
|
363 |
$encoding = self::getEncoding($encoding);
|
|
|
|
|
|
|
364 |
|
365 |
if ($offset != (int) $offset) {
|
366 |
$offset = 0;
|
@@ -400,6 +408,9 @@ final class Mbstring
|
|
400 |
public static function mb_substr($s, $start, $length = null, $encoding = null)
|
401 |
{
|
402 |
$encoding = self::getEncoding($encoding);
|
|
|
|
|
|
|
403 |
|
404 |
if ($start < 0) {
|
405 |
$start = iconv_strlen($s, $encoding) + $start;
|
@@ -438,6 +449,9 @@ final class Mbstring
|
|
438 |
public static function mb_strrchr($haystack, $needle, $part = false, $encoding = null)
|
439 |
{
|
440 |
$encoding = self::getEncoding($encoding);
|
|
|
|
|
|
|
441 |
$needle = self::mb_substr($needle, 0, 1, $encoding);
|
442 |
$pos = iconv_strrpos($haystack, $needle, $encoding);
|
443 |
|
147 |
|
148 |
if ('UTF-8' === $encoding) {
|
149 |
$encoding = null;
|
150 |
+
if (!preg_match('//u', $s)) {
|
151 |
+
$s = @iconv('UTF-8', 'UTF-8//IGNORE', $s);
|
152 |
+
}
|
153 |
} else {
|
154 |
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
155 |
}
|
339 |
|
340 |
public static function mb_strlen($s, $encoding = null)
|
341 |
{
|
342 |
+
$encoding = self::getEncoding($encoding);
|
343 |
+
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
344 |
+
return strlen($s);
|
|
|
345 |
}
|
346 |
|
347 |
return @iconv_strlen($s, $encoding);
|
350 |
public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null)
|
351 |
{
|
352 |
$encoding = self::getEncoding($encoding);
|
353 |
+
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
354 |
+
return strpos($haystack, $needle, $offset);
|
355 |
+
}
|
356 |
|
357 |
if ('' === $needle .= '') {
|
358 |
trigger_error(__METHOD__.': Empty delimiter', E_USER_WARNING);
|
366 |
public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null)
|
367 |
{
|
368 |
$encoding = self::getEncoding($encoding);
|
369 |
+
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
370 |
+
return strrpos($haystack, $needle, $offset);
|
371 |
+
}
|
372 |
|
373 |
if ($offset != (int) $offset) {
|
374 |
$offset = 0;
|
408 |
public static function mb_substr($s, $start, $length = null, $encoding = null)
|
409 |
{
|
410 |
$encoding = self::getEncoding($encoding);
|
411 |
+
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
412 |
+
return substr($s, $start, null === $length ? 2147483647 : $length);
|
413 |
+
}
|
414 |
|
415 |
if ($start < 0) {
|
416 |
$start = iconv_strlen($s, $encoding) + $start;
|
449 |
public static function mb_strrchr($haystack, $needle, $part = false, $encoding = null)
|
450 |
{
|
451 |
$encoding = self::getEncoding($encoding);
|
452 |
+
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
453 |
+
return strrchr($haystack, $needle, $part);
|
454 |
+
}
|
455 |
$needle = self::mb_substr($needle, 0, 1, $encoding);
|
456 |
$pos = iconv_strrpos($haystack, $needle, $encoding);
|
457 |
|
vendor/symfony/polyfill-mbstring/composer.json
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
"minimum-stability": "dev",
|
29 |
"extra": {
|
30 |
"branch-alias": {
|
31 |
-
"dev-master": "1.
|
32 |
}
|
33 |
}
|
34 |
}
|
28 |
"minimum-stability": "dev",
|
29 |
"extra": {
|
30 |
"branch-alias": {
|
31 |
+
"dev-master": "1.4-dev"
|
32 |
}
|
33 |
}
|
34 |
}
|
vendor/symfony/{polyfill-xml/Xml.php → polyfill-php72/Php72.php}
RENAMED
@@ -9,15 +9,25 @@
|
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
12 |
-
namespace Symfony\Polyfill\
|
13 |
|
14 |
/**
|
15 |
* @author Nicolas Grekas <p@tchwork.com>
|
16 |
*
|
17 |
* @internal
|
18 |
*/
|
19 |
-
final class
|
20 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
public static function utf8_encode($s)
|
22 |
{
|
23 |
$s .= $s;
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
|
12 |
+
namespace Symfony\Polyfill\Php72;
|
13 |
|
14 |
/**
|
15 |
* @author Nicolas Grekas <p@tchwork.com>
|
16 |
*
|
17 |
* @internal
|
18 |
*/
|
19 |
+
final class Php72
|
20 |
{
|
21 |
+
public static function stream_isatty($stream)
|
22 |
+
{
|
23 |
+
return function_exists('posix_isatty') && @posix_isatty($stream);
|
24 |
+
}
|
25 |
+
|
26 |
+
public static function sapi_windows_vt100_support()
|
27 |
+
{
|
28 |
+
return false;
|
29 |
+
}
|
30 |
+
|
31 |
public static function utf8_encode($s)
|
32 |
{
|
33 |
$s .= $s;
|
vendor/symfony/polyfill-php72/bootstrap.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of the Symfony package.
|
5 |
+
*
|
6 |
+
* (c) Fabien Potencier <fabien@symfony.com>
|
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 |
+
use Symfony\Polyfill\Php72 as p;
|
13 |
+
|
14 |
+
if ('\\' === DIRECTORY_SEPARATOR && !function_exists('sapi_windows_vt100_support')) {
|
15 |
+
function sapi_windows_vt100_support() { return false; }
|
16 |
+
}
|
17 |
+
if (!function_exists('stream_isatty')) {
|
18 |
+
function stream_isatty($stream) { return function_exists('posix_isatty') && @posix_isatty($stream); }
|
19 |
+
}
|
20 |
+
if (!function_exists('utf8_encode')) {
|
21 |
+
function utf8_encode($s) { return p\Php72::utf8_encode($s); }
|
22 |
+
function utf8_decode($s) { return p\Php72::utf8_decode($s); }
|
23 |
+
}
|
vendor/symfony/{polyfill-xml → polyfill-php72}/composer.json
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"name": "symfony/polyfill-
|
3 |
"type": "library",
|
4 |
-
"description": "Symfony polyfill
|
5 |
"keywords": ["polyfill", "shim", "compatibility", "portable"],
|
6 |
"homepage": "https://symfony.com",
|
7 |
"license": "MIT",
|
@@ -19,16 +19,13 @@
|
|
19 |
"php": ">=5.3.3"
|
20 |
},
|
21 |
"autoload": {
|
22 |
-
"psr-4": { "Symfony\\Polyfill\\
|
23 |
"files": [ "bootstrap.php" ]
|
24 |
},
|
25 |
-
"suggest": {
|
26 |
-
"ext-xml": "For best performance"
|
27 |
-
},
|
28 |
"minimum-stability": "dev",
|
29 |
"extra": {
|
30 |
"branch-alias": {
|
31 |
-
"dev-master": "1.
|
32 |
}
|
33 |
}
|
34 |
}
|
1 |
{
|
2 |
+
"name": "symfony/polyfill-php72",
|
3 |
"type": "library",
|
4 |
+
"description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
|
5 |
"keywords": ["polyfill", "shim", "compatibility", "portable"],
|
6 |
"homepage": "https://symfony.com",
|
7 |
"license": "MIT",
|
19 |
"php": ">=5.3.3"
|
20 |
},
|
21 |
"autoload": {
|
22 |
+
"psr-4": { "Symfony\\Polyfill\\Php72\\": "" },
|
23 |
"files": [ "bootstrap.php" ]
|
24 |
},
|
|
|
|
|
|
|
25 |
"minimum-stability": "dev",
|
26 |
"extra": {
|
27 |
"branch-alias": {
|
28 |
+
"dev-master": "1.4-dev"
|
29 |
}
|
30 |
}
|
31 |
}
|
vendor/symfony/{polyfill-xml → polyfill-php72}/index.php
RENAMED
File without changes
|
vendor/symfony/polyfill-xml/bootstrap.php
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* This file is part of the Symfony package.
|
5 |
-
*
|
6 |
-
* (c) Fabien Potencier <fabien@symfony.com>
|
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 |
-
use Symfony\Polyfill\Xml as p;
|
13 |
-
|
14 |
-
if (!function_exists('utf8_encode')) {
|
15 |
-
function utf8_encode($s) { return p\Xml::utf8_encode($s); }
|
16 |
-
function utf8_decode($s) { return p\Xml::utf8_decode($s); }
|
17 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/symfony/translation/DataCollectorTranslator.php
CHANGED
@@ -95,7 +95,7 @@ class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInter
|
|
95 |
*/
|
96 |
public function getFallbackLocales()
|
97 |
{
|
98 |
-
if ($this->translator instanceof Translator) {
|
99 |
return $this->translator->getFallbackLocales();
|
100 |
}
|
101 |
|
95 |
*/
|
96 |
public function getFallbackLocales()
|
97 |
{
|
98 |
+
if ($this->translator instanceof Translator || method_exists($this->translator, 'getFallbackLocales')) {
|
99 |
return $this->translator->getFallbackLocales();
|
100 |
}
|
101 |
|
vendor/symfony/translation/Dumper/IcuResFileDumper.php
CHANGED
@@ -62,7 +62,7 @@ class IcuResFileDumper extends FileDumper
|
|
62 |
|
63 |
$resOffset = $this->getPosition($data);
|
64 |
|
65 |
-
$data .= pack('v', count($messages))
|
66 |
.$indexes
|
67 |
.$this->writePadding($data)
|
68 |
.$resources
|
@@ -73,11 +73,11 @@ class IcuResFileDumper extends FileDumper
|
|
73 |
$root = pack('V7',
|
74 |
$resOffset + (2 << 28), // Resource Offset + Resource Type
|
75 |
6, // Index length
|
76 |
-
$keyTop,
|
77 |
-
$bundleTop,
|
78 |
-
$bundleTop,
|
79 |
-
count($messages),
|
80 |
-
0
|
81 |
);
|
82 |
|
83 |
$header = pack('vC2v4C12@32',
|
62 |
|
63 |
$resOffset = $this->getPosition($data);
|
64 |
|
65 |
+
$data .= pack('v', count($messages->all($domain)))
|
66 |
.$indexes
|
67 |
.$this->writePadding($data)
|
68 |
.$resources
|
73 |
$root = pack('V7',
|
74 |
$resOffset + (2 << 28), // Resource Offset + Resource Type
|
75 |
6, // Index length
|
76 |
+
$keyTop, // Index keys top
|
77 |
+
$bundleTop, // Index resources top
|
78 |
+
$bundleTop, // Index bundle top
|
79 |
+
count($messages->all($domain)), // Index max table length
|
80 |
+
0 // Index attributes
|
81 |
);
|
82 |
|
83 |
$header = pack('vC2v4C12@32',
|
vendor/symfony/translation/Loader/FileLoader.php
CHANGED
@@ -54,7 +54,7 @@ abstract class FileLoader extends ArrayLoader
|
|
54 |
return $catalogue;
|
55 |
}
|
56 |
|
57 |
-
|
58 |
* @param string $resource
|
59 |
*
|
60 |
* @return array
|
54 |
return $catalogue;
|
55 |
}
|
56 |
|
57 |
+
/**
|
58 |
* @param string $resource
|
59 |
*
|
60 |
* @return array
|
vendor/symfony/translation/LoggingTranslator.php
CHANGED
@@ -95,7 +95,7 @@ class LoggingTranslator implements TranslatorInterface, TranslatorBagInterface
|
|
95 |
*/
|
96 |
public function getFallbackLocales()
|
97 |
{
|
98 |
-
if ($this->translator instanceof Translator) {
|
99 |
return $this->translator->getFallbackLocales();
|
100 |
}
|
101 |
|
95 |
*/
|
96 |
public function getFallbackLocales()
|
97 |
{
|
98 |
+
if ($this->translator instanceof Translator || method_exists($this->translator, 'getFallbackLocales')) {
|
99 |
return $this->translator->getFallbackLocales();
|
100 |
}
|
101 |
|
vendor/symfony/translation/Translator.php
CHANGED
@@ -424,7 +424,7 @@ EOF
|
|
424 |
|
425 |
foreach ($this->computeFallbackLocales($locale) as $fallback) {
|
426 |
if (!isset($this->catalogues[$fallback])) {
|
427 |
-
$this->
|
428 |
}
|
429 |
|
430 |
$fallbackCatalogue = new MessageCatalogue($fallback, $this->catalogues[$fallback]->all());
|
424 |
|
425 |
foreach ($this->computeFallbackLocales($locale) as $fallback) {
|
426 |
if (!isset($this->catalogues[$fallback])) {
|
427 |
+
$this->initializeCatalogue($fallback);
|
428 |
}
|
429 |
|
430 |
$fallbackCatalogue = new MessageCatalogue($fallback, $this->catalogues[$fallback]->all());
|
vendor/symfony/translation/phpunit.xml.dist
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
backupGlobals="false"
|
6 |
colors="true"
|
7 |
bootstrap="vendor/autoload.php"
|
|
|
|
|
8 |
>
|
9 |
<php>
|
10 |
<ini name="error_reporting" value="-1" />
|
5 |
backupGlobals="false"
|
6 |
colors="true"
|
7 |
bootstrap="vendor/autoload.php"
|
8 |
+
failOnRisky="true"
|
9 |
+
failOnWarning="true"
|
10 |
>
|
11 |
<php>
|
12 |
<ini name="error_reporting" value="-1" />
|
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,37 +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 |
|
36 |
matrix:
|
37 |
fast_finish: true
|
38 |
exclude:
|
39 |
-
- php: hhvm
|
40 |
-
env: TWIG_EXT=yes
|
41 |
- php: 7.0
|
42 |
env: TWIG_EXT=yes
|
43 |
- php: 7.1
|
44 |
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/composer.json
CHANGED
@@ -27,21 +27,24 @@
|
|
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.
|
34 |
"symfony/debug": "~2.7",
|
35 |
"psr/container": "^1.0"
|
36 |
},
|
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",
|
34 |
"symfony/debug": "~2.7",
|
35 |
"psr/container": "^1.0"
|
36 |
},
|
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/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
@@ -49,8 +49,13 @@ class Twig_Cache_Filesystem implements Twig_CacheInterface
|
|
49 |
{
|
50 |
$dir = dirname($key);
|
51 |
if (!is_dir($dir)) {
|
52 |
-
if (false === @mkdir($dir, 0777, true)
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
} elseif (!is_writable($dir)) {
|
56 |
throw new RuntimeException(sprintf('Unable to write in the cache directory (%s).', $dir));
|
@@ -84,3 +89,5 @@ class Twig_Cache_Filesystem implements Twig_CacheInterface
|
|
84 |
return (int) @filemtime($key);
|
85 |
}
|
86 |
}
|
|
|
|
49 |
{
|
50 |
$dir = dirname($key);
|
51 |
if (!is_dir($dir)) {
|
52 |
+
if (false === @mkdir($dir, 0777, true)) {
|
53 |
+
if (PHP_VERSION_ID >= 50300) {
|
54 |
+
clearstatcache(true, $dir);
|
55 |
+
}
|
56 |
+
if (!is_dir($dir)) {
|
57 |
+
throw new RuntimeException(sprintf('Unable to create the cache directory (%s).', $dir));
|
58 |
+
}
|
59 |
}
|
60 |
} elseif (!is_writable($dir)) {
|
61 |
throw new RuntimeException(sprintf('Unable to write in the cache directory (%s).', $dir));
|
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
@@ -169,7 +169,7 @@ class Twig_Compiler implements Twig_CompilerInterface
|
|
169 |
public function repr($value)
|
170 |
{
|
171 |
if (is_int($value) || is_float($value)) {
|
172 |
-
if (false !== $locale = setlocale(LC_NUMERIC, 0)) {
|
173 |
setlocale(LC_NUMERIC, 'C');
|
174 |
}
|
175 |
|
@@ -279,3 +279,6 @@ class Twig_Compiler implements Twig_CompilerInterface
|
|
279 |
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
|
280 |
}
|
281 |
}
|
|
|
|
|
|
169 |
public function repr($value)
|
170 |
{
|
171 |
if (is_int($value) || is_float($value)) {
|
172 |
+
if (false !== $locale = setlocale(LC_NUMERIC, '0')) {
|
173 |
setlocale(LC_NUMERIC, 'C');
|
174 |
}
|
175 |
|
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);
|
@@ -1168,8 +1159,13 @@ function _twig_escape_js_callback($matches)
|
|
1168 |
|
1169 |
// \uHHHH
|
1170 |
$char = twig_convert_encoding($char, 'UTF-16BE', 'UTF-8');
|
|
|
1171 |
|
1172 |
-
|
|
|
|
|
|
|
|
|
1173 |
}
|
1174 |
|
1175 |
function _twig_escape_css_callback($matches)
|
@@ -1259,7 +1255,23 @@ if (function_exists('mb_get_info')) {
|
|
1259 |
*/
|
1260 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1261 |
{
|
1262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1263 |
}
|
1264 |
|
1265 |
/**
|
@@ -1342,7 +1354,23 @@ else {
|
|
1342 |
*/
|
1343 |
function twig_length_filter(Twig_Environment $env, $thing)
|
1344 |
{
|
1345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1346 |
}
|
1347 |
|
1348 |
/**
|
@@ -1404,6 +1432,10 @@ function twig_test_empty($value)
|
|
1404 |
return 0 == count($value);
|
1405 |
}
|
1406 |
|
|
|
|
|
|
|
|
|
1407 |
return '' === $value || false === $value || null === $value || array() === $value;
|
1408 |
}
|
1409 |
|
@@ -1576,3 +1608,5 @@ function twig_array_batch($items, $size, $fill = null)
|
|
1576 |
|
1577 |
return $result;
|
1578 |
}
|
|
|
|
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);
|
1159 |
|
1160 |
// \uHHHH
|
1161 |
$char = twig_convert_encoding($char, 'UTF-16BE', 'UTF-8');
|
1162 |
+
$char = strtoupper(bin2hex($char));
|
1163 |
|
1164 |
+
if (4 >= strlen($char)) {
|
1165 |
+
return sprintf('\u%04s', $char);
|
1166 |
+
}
|
1167 |
+
|
1168 |
+
return sprintf('\u%04s\u%04s', substr($char, 0, -4), substr($char, -4));
|
1169 |
}
|
1170 |
|
1171 |
function _twig_escape_css_callback($matches)
|
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 |
+
}
|
1265 |
+
|
1266 |
+
if (is_object($thing) && method_exists($thing, '__toString') && !$thing instanceof \Countable) {
|
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 |
+
}
|
1364 |
+
|
1365 |
+
if (is_object($thing) && method_exists($thing, '__toString') && !$thing instanceof \Countable) {
|
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 |
/**
|
1432 |
return 0 == count($value);
|
1433 |
}
|
1434 |
|
1435 |
+
if (is_object($value) && method_exists($value, '__toString')) {
|
1436 |
+
return '' === (string) $value;
|
1437 |
+
}
|
1438 |
+
|
1439 |
return '' === $value || false === $value || null === $value || array() === $value;
|
1440 |
}
|
1441 |
|
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
@@ -80,7 +80,7 @@ class Twig_Loader_Array implements Twig_LoaderInterface, Twig_ExistsLoaderInterf
|
|
80 |
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined.', $name));
|
81 |
}
|
82 |
|
83 |
-
return $this->templates[$name];
|
84 |
}
|
85 |
|
86 |
public function isFresh($name, $time)
|
@@ -93,3 +93,5 @@ class Twig_Loader_Array implements Twig_LoaderInterface, Twig_ExistsLoaderInterf
|
|
93 |
return true;
|
94 |
}
|
95 |
}
|
|
|
|
80 |
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined.', $name));
|
81 |
}
|
82 |
|
83 |
+
return $name.':'.$this->templates[$name];
|
84 |
}
|
85 |
|
86 |
public function isFresh($name, $time)
|
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
@@ -22,7 +22,7 @@ class Twig_Profiler_Dumper_Blackfire
|
|
22 |
$this->dumpProfile('main()', $profile, $data);
|
23 |
$this->dumpChildren('main()', $profile, $data);
|
24 |
|
25 |
-
$start = microtime(true);
|
26 |
$str = <<<EOF
|
27 |
file-format: BlackfireProbe
|
28 |
cost-dimensions: wt mu pmu
|
@@ -68,3 +68,5 @@ EOF;
|
|
68 |
}
|
69 |
}
|
70 |
}
|
|
|
|
22 |
$this->dumpProfile('main()', $profile, $data);
|
23 |
$this->dumpChildren('main()', $profile, $data);
|
24 |
|
25 |
+
$start = sprintf('%f', microtime(true));
|
26 |
$str = <<<EOF
|
27 |
file-format: BlackfireProbe
|
28 |
cost-dimensions: wt mu pmu
|
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
@@ -627,11 +627,14 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
|
627 |
continue;
|
628 |
}
|
629 |
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
|
|
|
|
|
|
635 |
}
|
636 |
}
|
637 |
self::$cache[$class] = $cache;
|
@@ -699,3 +702,5 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
|
699 |
return $ret;
|
700 |
}
|
701 |
}
|
|
|
|
627 |
continue;
|
628 |
}
|
629 |
|
630 |
+
// skip get() and is() methods (in which case, $name is empty)
|
631 |
+
if ($name) {
|
632 |
+
if (!isset($cache[$name])) {
|
633 |
+
$cache[$name] = $method;
|
634 |
+
}
|
635 |
+
if (!isset($cache[$lcName])) {
|
636 |
+
$cache[$lcName] = $method;
|
637 |
+
}
|
638 |
}
|
639 |
}
|
640 |
self::$cache[$class] = $cache;
|
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 |
*/
|
@@ -121,6 +131,10 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
121 |
|
122 |
protected function doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs)
|
123 |
{
|
|
|
|
|
|
|
|
|
124 |
if ($condition) {
|
125 |
eval('$ret = '.$condition.';');
|
126 |
if (!$ret) {
|
@@ -137,6 +151,10 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
137 |
), $match[2] ? eval($match[2].';') : array());
|
138 |
$twig = new Twig_Environment($loader, $config);
|
139 |
$twig->addGlobal('global', 'global');
|
|
|
|
|
|
|
|
|
140 |
foreach ($this->getExtensions() as $extension) {
|
141 |
$twig->addExtension($extension);
|
142 |
}
|
@@ -192,7 +210,8 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
192 |
|
193 |
if (false !== $exception) {
|
194 |
list($class) = explode(':', $exception);
|
195 |
-
$
|
|
|
196 |
}
|
197 |
|
198 |
$expected = trim($match[3], "\n ");
|
@@ -226,3 +245,5 @@ abstract class Twig_Test_IntegrationTestCase extends PHPUnit_Framework_TestCase
|
|
226 |
return $templates;
|
227 |
}
|
228 |
}
|
|
|
|
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 |
*/
|
131 |
|
132 |
protected function doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs)
|
133 |
{
|
134 |
+
if (!$outputs) {
|
135 |
+
$this->markTestSkipped('no legacy tests to run');
|
136 |
+
}
|
137 |
+
|
138 |
if ($condition) {
|
139 |
eval('$ret = '.$condition.';');
|
140 |
if (!$ret) {
|
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/phpunit.xml.dist
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
processIsolation="false"
|
10 |
stopOnFailure="false"
|
11 |
syntaxCheck="false"
|
12 |
-
bootstrap="
|
13 |
>
|
14 |
<testsuites>
|
15 |
<testsuite name="Twig Test Suite">
|
9 |
processIsolation="false"
|
10 |
stopOnFailure="false"
|
11 |
syntaxCheck="false"
|
12 |
+
bootstrap="test/bootstrap.php"
|
13 |
>
|
14 |
<testsuites>
|
15 |
<testsuite name="Twig Test Suite">
|
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/Cache/index.php
ADDED
File without changes
|
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/Error/index.php
ADDED
File without changes
|
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/Extension/index.php
ADDED
File without changes
|
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/Loader/index.php
ADDED
File without changes
|
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/Binary/index.php
ADDED
File without changes
|
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/Filter/index.php
ADDED
File without changes
|
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/Test/index.php
ADDED
File without changes
|
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/Expression/Unary/index.php
ADDED
File without changes
|
vendor/twig/twig/src/Node/Expression/index.php
ADDED
File without changes
|
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/Node/index.php
ADDED
File without changes
|
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/NodeVisitor/index.php
ADDED
File without changes
|
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/Dumper/index.php
ADDED
File without changes
|
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/Node/index.php
ADDED
File without changes
|
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/NodeVisitor/index.php
ADDED
File without changes
|
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/Profiler/index.php
ADDED
File without changes
|
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/RuntimeLoader/index.php
ADDED
File without changes
|
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/Sandbox/index.php
ADDED
File without changes
|
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/Test/index.php
ADDED
File without changes
|
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/TokenParser/index.php
ADDED
File without changes
|
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/src/Util/index.php
ADDED
File without changes
|
vendor/twig/twig/src/index.php
ADDED
File without changes
|
views/form/widget.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
<div id="<%= form_id %>" class="mailpoet_form mailpoet_form_<%= form_type %>">
|
9 |
<%= styles | raw %>
|
10 |
<form
|
|
|
11 |
method="post"
|
12 |
action="<%= admin_url('admin-post.php?action=mailpoet_subscription_form') | raw %>"
|
13 |
class="mailpoet_form mailpoet_form_<%= form_type %>"
|
8 |
<div id="<%= form_id %>" class="mailpoet_form mailpoet_form_<%= form_type %>">
|
9 |
<%= styles | raw %>
|
10 |
<form
|
11 |
+
target="_self"
|
12 |
method="post"
|
13 |
action="<%= admin_url('admin-post.php?action=mailpoet_subscription_form') | raw %>"
|
14 |
class="mailpoet_form mailpoet_form_<%= form_type %>"
|
views/update.html
CHANGED
@@ -60,8 +60,8 @@
|
|
60 |
<div class="feature-section one-col mailpoet_centered">
|
61 |
<h2><%= __('Care to Give Your Opinion?') %></h2>
|
62 |
|
63 |
-
<script type="text/javascript" charset="utf-8" src="
|
64 |
-
<noscript><a href="//polldaddy.com/poll/
|
65 |
</div>
|
66 |
|
67 |
<hr>
|
60 |
<div class="feature-section one-col mailpoet_centered">
|
61 |
<h2><%= __('Care to Give Your Opinion?') %></h2>
|
62 |
|
63 |
+
<script type="text/javascript" charset="utf-8" src="//secure.polldaddy.com/p/9801039.js"></script>
|
64 |
+
<noscript><a href="//polldaddy.com/poll/9801039/">How would you rate the reliability of MailPoet?</a></noscript>
|
65 |
</div>
|
66 |
|
67 |
<hr>
|