Responsive Menu - Version 3.1.24

Version Description

(14th Aug 2019) = * Allow support for PHP 5.5 again. * Downgrade Twig back to 1.33.0 as it doesn't play nicely with other plugins.

Download this release

Release Info

Developer peterfeatherstone
Plugin Icon 128x128 Responsive Menu
Version 3.1.24
Comparing to
See all releases

Code changes from version 3.1.23 to 3.1.24

Files changed (339) hide show
  1. composer.json +1 -1
  2. composer.lock +19 -80
  3. config/twig.php +0 -1
  4. readme.txt +9 -5
  5. responsive-menu.php +1 -1
  6. vendor/autoload.php +0 -0
  7. vendor/composer/ClassLoader.php +0 -0
  8. vendor/composer/LICENSE +0 -0
  9. vendor/composer/autoload_classmap.php +0 -0
  10. vendor/composer/autoload_files.php +0 -10
  11. vendor/composer/autoload_namespaces.php +0 -0
  12. vendor/composer/autoload_psr4.php +0 -2
  13. vendor/composer/autoload_real.php +0 -18
  14. vendor/composer/autoload_static.php +0 -20
  15. vendor/composer/installed.json +17 -81
  16. vendor/symfony/polyfill-ctype/Ctype.php +0 -227
  17. vendor/symfony/polyfill-ctype/LICENSE +0 -19
  18. vendor/symfony/polyfill-ctype/README.md +0 -12
  19. vendor/symfony/polyfill-ctype/bootstrap.php +0 -26
  20. vendor/symfony/polyfill-ctype/composer.json +0 -34
  21. vendor/twig/twig/.editorconfig +0 -0
  22. vendor/twig/twig/.php_cs.dist +5 -8
  23. vendor/twig/twig/.travis.yml +19 -20
  24. vendor/twig/twig/CHANGELOG +2 -181
  25. vendor/twig/twig/LICENSE +1 -1
  26. vendor/twig/twig/README.rst +1 -1
  27. vendor/twig/twig/composer.json +9 -10
  28. vendor/twig/twig/doc/advanced.rst +215 -215
  29. vendor/twig/twig/doc/advanced_legacy.rst +87 -85
  30. vendor/twig/twig/doc/api.rst +121 -127
  31. vendor/twig/twig/doc/coding_standards.rst +11 -11
  32. vendor/twig/twig/doc/deprecated.rst +54 -54
  33. vendor/twig/twig/doc/filters/abs.rst +2 -2
  34. vendor/twig/twig/doc/filters/batch.rst +2 -2
  35. vendor/twig/twig/doc/filters/capitalize.rst +1 -1
  36. vendor/twig/twig/doc/filters/convert_encoding.rst +3 -3
  37. vendor/twig/twig/doc/filters/date.rst +15 -15
  38. vendor/twig/twig/doc/filters/date_modify.rst +3 -3
  39. vendor/twig/twig/doc/filters/default.rst +2 -2
  40. vendor/twig/twig/doc/filters/escape.rst +19 -29
  41. vendor/twig/twig/doc/filters/filter.rst +0 -58
  42. vendor/twig/twig/doc/filters/first.rst +2 -2
  43. vendor/twig/twig/doc/filters/format.rst +2 -2
  44. vendor/twig/twig/doc/filters/index.rst +0 -4
  45. vendor/twig/twig/doc/filters/join.rst +2 -14
  46. vendor/twig/twig/doc/filters/json_encode.rst +5 -7
  47. vendor/twig/twig/doc/filters/keys.rst +1 -1
  48. vendor/twig/twig/doc/filters/last.rst +2 -2
  49. vendor/twig/twig/doc/filters/length.rst +1 -3
  50. vendor/twig/twig/doc/filters/lower.rst +1 -1
  51. vendor/twig/twig/doc/filters/map.rst +0 -38
  52. vendor/twig/twig/doc/filters/merge.rst +4 -4
  53. vendor/twig/twig/doc/filters/nl2br.rst +1 -1
  54. vendor/twig/twig/doc/filters/number_format.rst +5 -13
  55. vendor/twig/twig/doc/filters/raw.rst +2 -4
  56. vendor/twig/twig/doc/filters/reduce.rst +0 -33
  57. vendor/twig/twig/doc/filters/replace.rst +1 -7
  58. vendor/twig/twig/doc/filters/reverse.rst +3 -3
  59. vendor/twig/twig/doc/filters/round.rst +1 -1
  60. vendor/twig/twig/doc/filters/slice.rst +7 -7
  61. vendor/twig/twig/doc/filters/sort.rst +2 -2
  62. vendor/twig/twig/doc/filters/spaceless.rst +0 -65
  63. vendor/twig/twig/doc/filters/split.rst +10 -10
  64. vendor/twig/twig/doc/filters/striptags.rst +3 -3
  65. vendor/twig/twig/doc/filters/title.rst +1 -1
  66. vendor/twig/twig/doc/filters/trim.rst +4 -4
  67. vendor/twig/twig/doc/filters/upper.rst +1 -1
  68. vendor/twig/twig/doc/filters/url_encode.rst +4 -4
  69. vendor/twig/twig/doc/functions/attribute.rst +2 -2
  70. vendor/twig/twig/doc/functions/block.rst +4 -4
  71. vendor/twig/twig/doc/functions/constant.rst +3 -3
  72. vendor/twig/twig/doc/functions/cycle.rst +2 -2
  73. vendor/twig/twig/doc/functions/date.rst +6 -6
  74. vendor/twig/twig/doc/functions/dump.rst +10 -10
  75. vendor/twig/twig/doc/functions/include.rst +10 -10
  76. vendor/twig/twig/doc/functions/index.rst +0 -0
  77. vendor/twig/twig/doc/functions/max.rst +2 -2
  78. vendor/twig/twig/doc/functions/min.rst +2 -2
  79. vendor/twig/twig/doc/functions/parent.rst +1 -1
  80. vendor/twig/twig/doc/functions/random.rst +2 -9
  81. vendor/twig/twig/doc/functions/range.rst +5 -5
  82. vendor/twig/twig/doc/functions/source.rst +2 -2
  83. vendor/twig/twig/doc/functions/template_from_string.rst +4 -15
  84. vendor/twig/twig/doc/index.rst +0 -0
  85. vendor/twig/twig/doc/installation.rst +57 -14
  86. vendor/twig/twig/doc/internals.rst +28 -30
  87. vendor/twig/twig/doc/intro.rst +26 -17
  88. vendor/twig/twig/doc/recipes.rst +86 -86
  89. vendor/twig/twig/doc/tags/apply.rst +0 -23
  90. vendor/twig/twig/doc/tags/autoescape.rst +4 -4
  91. vendor/twig/twig/doc/tags/block.rst +0 -0
  92. vendor/twig/twig/doc/tags/deprecated.rst +0 -30
  93. vendor/twig/twig/doc/tags/do.rst +1 -1
  94. vendor/twig/twig/doc/tags/embed.rst +19 -19
  95. vendor/twig/twig/doc/tags/extends.rst +18 -18
  96. vendor/twig/twig/doc/tags/filter.rst +4 -9
  97. vendor/twig/twig/doc/tags/flush.rst +2 -2
  98. vendor/twig/twig/doc/tags/for.rst +10 -17
  99. vendor/twig/twig/doc/tags/from.rst +3 -1
  100. vendor/twig/twig/doc/tags/if.rst +10 -13
  101. vendor/twig/twig/doc/tags/import.rst +54 -3
  102. vendor/twig/twig/doc/tags/include.rst +11 -35
  103. vendor/twig/twig/doc/tags/index.rst +0 -2
  104. vendor/twig/twig/doc/tags/macro.rst +38 -76
  105. vendor/twig/twig/doc/tags/sandbox.rst +2 -2
  106. vendor/twig/twig/doc/tags/set.rst +8 -8
  107. vendor/twig/twig/doc/tags/spaceless.rst +1 -5
  108. vendor/twig/twig/doc/tags/use.rst +7 -7
  109. vendor/twig/twig/doc/tags/verbatim.rst +1 -1
  110. vendor/twig/twig/doc/tags/with.rst +3 -3
  111. vendor/twig/twig/doc/templates.rst +182 -162
  112. vendor/twig/twig/doc/tests/constant.rst +2 -2
  113. vendor/twig/twig/doc/tests/defined.rst +2 -2
  114. vendor/twig/twig/doc/tests/divisibleby.rst +1 -1
  115. vendor/twig/twig/doc/tests/empty.rst +1 -1
  116. vendor/twig/twig/doc/tests/even.rst +1 -1
  117. vendor/twig/twig/doc/tests/index.rst +0 -0
  118. vendor/twig/twig/doc/tests/iterable.rst +1 -1
  119. vendor/twig/twig/doc/tests/null.rst +1 -1
  120. vendor/twig/twig/doc/tests/odd.rst +1 -1
  121. vendor/twig/twig/doc/tests/sameas.rst +1 -1
  122. vendor/twig/twig/drupal_test.sh +0 -51
  123. vendor/twig/twig/ext/twig/config.m4 +0 -0
  124. vendor/twig/twig/ext/twig/config.w32 +0 -0
  125. vendor/twig/twig/ext/twig/php_twig.h +1 -1
  126. vendor/twig/twig/ext/twig/twig.c +19 -21
  127. vendor/twig/twig/lib/Twig/Autoloader.php +6 -4
  128. vendor/twig/twig/lib/Twig/BaseNodeVisitor.php +43 -4
  129. vendor/twig/twig/lib/Twig/Cache/Filesystem.php +84 -4
  130. vendor/twig/twig/lib/Twig/Cache/Null.php +31 -4
  131. vendor/twig/twig/lib/Twig/CacheInterface.php +51 -6
  132. vendor/twig/twig/lib/Twig/Compiler.php +274 -4
  133. vendor/twig/twig/lib/Twig/CompilerInterface.php +0 -0
  134. vendor/twig/twig/lib/Twig/ContainerRuntimeLoader.php +30 -4
  135. vendor/twig/twig/lib/Twig/Environment.php +1554 -4
  136. vendor/twig/twig/lib/Twig/Error.php +358 -4
  137. vendor/twig/twig/lib/Twig/Error/Loader.php +32 -5
  138. vendor/twig/twig/lib/Twig/Error/Runtime.php +16 -7
  139. vendor/twig/twig/lib/Twig/Error/Syntax.php +46 -4
  140. vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php +25 -7
  141. vendor/twig/twig/lib/Twig/ExpressionParser.php +732 -4
  142. vendor/twig/twig/lib/Twig/Extension.php +58 -4
  143. vendor/twig/twig/lib/Twig/Extension/Core.php +1596 -4
  144. vendor/twig/twig/lib/Twig/Extension/Debug.php +58 -4
  145. vendor/twig/twig/lib/Twig/Extension/Escaper.php +103 -4
  146. vendor/twig/twig/lib/Twig/Extension/GlobalsInterface.php +18 -7
  147. vendor/twig/twig/lib/Twig/Extension/InitRuntimeInterface.php +18 -7
  148. vendor/twig/twig/lib/Twig/Extension/Optimizer.php +26 -4
  149. vendor/twig/twig/lib/Twig/Extension/Profiler.php +39 -4
  150. vendor/twig/twig/lib/Twig/Extension/Sandbox.php +94 -4
  151. vendor/twig/twig/lib/Twig/Extension/Staging.php +103 -4
  152. vendor/twig/twig/lib/Twig/Extension/StringLoader.php +38 -4
  153. vendor/twig/twig/lib/Twig/ExtensionInterface.php +82 -6
  154. vendor/twig/twig/lib/Twig/FactoryRuntimeLoader.php +30 -4
  155. vendor/twig/twig/lib/Twig/FileExtensionEscapingStrategy.php +52 -5
  156. vendor/twig/twig/lib/Twig/Filter.php +8 -10
  157. vendor/twig/twig/lib/Twig/Filter/Function.php +3 -3
  158. vendor/twig/twig/lib/Twig/Filter/Method.php +5 -7
  159. vendor/twig/twig/lib/Twig/Filter/Node.php +3 -3
  160. vendor/twig/twig/lib/Twig/FilterCallableInterface.php +1 -1
  161. vendor/twig/twig/lib/Twig/FilterInterface.php +2 -4
  162. vendor/twig/twig/lib/Twig/Function.php +9 -11
  163. vendor/twig/twig/lib/Twig/Function/Function.php +3 -3
  164. vendor/twig/twig/lib/Twig/Function/Method.php +5 -7
  165. vendor/twig/twig/lib/Twig/Function/Node.php +3 -3
  166. vendor/twig/twig/lib/Twig/FunctionCallableInterface.php +1 -1
  167. vendor/twig/twig/lib/Twig/FunctionInterface.php +2 -4
  168. vendor/twig/twig/lib/Twig/Lexer.php +415 -4
  169. vendor/twig/twig/lib/Twig/LexerInterface.php +4 -8
  170. vendor/twig/twig/lib/Twig/Loader/Array.php +88 -4
  171. vendor/twig/twig/lib/Twig/Loader/Chain.php +142 -4
  172. vendor/twig/twig/lib/Twig/Loader/Filesystem.php +281 -4
  173. vendor/twig/twig/lib/Twig/Loader/String.php +4 -9
  174. vendor/twig/twig/lib/Twig/LoaderInterface.php +50 -6
  175. vendor/twig/twig/lib/Twig/Markup.php +30 -4
  176. vendor/twig/twig/lib/Twig/Node.php +246 -4
  177. vendor/twig/twig/lib/Twig/Node/AutoEscape.php +27 -4
  178. vendor/twig/twig/lib/Twig/Node/Block.php +32 -4
  179. vendor/twig/twig/lib/Twig/Node/BlockReference.php +25 -4
  180. vendor/twig/twig/lib/Twig/Node/Body.php +15 -7
  181. vendor/twig/twig/lib/Twig/Node/CheckSecurity.php +71 -4
  182. vendor/twig/twig/lib/Twig/Node/Deprecated.php +0 -11
  183. vendor/twig/twig/lib/Twig/Node/Do.php +26 -4
  184. vendor/twig/twig/lib/Twig/Node/Embed.php +37 -4
  185. vendor/twig/twig/lib/Twig/Node/Expression.php +16 -7
  186. vendor/twig/twig/lib/Twig/Node/Expression/Array.php +74 -4
  187. vendor/twig/twig/lib/Twig/Node/Expression/AssignName.php +17 -5
  188. vendor/twig/twig/lib/Twig/Node/Expression/Binary.php +29 -5
  189. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Add.php +13 -6
  190. vendor/twig/twig/lib/Twig/Node/Expression/Binary/And.php +13 -6
  191. vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseAnd.php +13 -6
  192. vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseOr.php +13 -6
  193. vendor/twig/twig/lib/Twig/Node/Expression/Binary/BitwiseXor.php +13 -6
  194. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php +13 -6
  195. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Div.php +13 -6
  196. vendor/twig/twig/lib/Twig/Node/Expression/Binary/EndsWith.php +24 -5
  197. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php +12 -6
  198. vendor/twig/twig/lib/Twig/Node/Expression/Binary/FloorDiv.php +18 -5
  199. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php +12 -6
  200. vendor/twig/twig/lib/Twig/Node/Expression/Binary/GreaterEqual.php +12 -6
  201. vendor/twig/twig/lib/Twig/Node/Expression/Binary/In.php +22 -5
  202. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Less.php +12 -6
  203. vendor/twig/twig/lib/Twig/Node/Expression/Binary/LessEqual.php +12 -6
  204. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Matches.php +22 -5
  205. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php +13 -6
  206. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php +13 -6
  207. vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php +12 -6
  208. vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotIn.php +22 -5
  209. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php +13 -6
  210. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Power.php +25 -4
  211. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Range.php +22 -5
  212. vendor/twig/twig/lib/Twig/Node/Expression/Binary/StartsWith.php +24 -5
  213. vendor/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php +13 -6
  214. vendor/twig/twig/lib/Twig/Node/Expression/BlockReference.php +84 -4
  215. vendor/twig/twig/lib/Twig/Node/Expression/Call.php +282 -4
  216. vendor/twig/twig/lib/Twig/Node/Expression/Conditional.php +25 -5
  217. vendor/twig/twig/lib/Twig/Node/Expression/Constant.php +17 -5
  218. vendor/twig/twig/lib/Twig/Node/Expression/ExtensionReference.php +3 -6
  219. vendor/twig/twig/lib/Twig/Node/Expression/Filter.php +33 -5
  220. vendor/twig/twig/lib/Twig/Node/Expression/Filter/Default.php +36 -4
  221. vendor/twig/twig/lib/Twig/Node/Expression/Function.php +37 -5
  222. vendor/twig/twig/lib/Twig/Node/Expression/GetAttr.php +65 -4
  223. vendor/twig/twig/lib/Twig/Node/Expression/MethodCall.php +34 -4
  224. vendor/twig/twig/lib/Twig/Node/Expression/Name.php +93 -4
  225. vendor/twig/twig/lib/Twig/Node/Expression/NullCoalesce.php +39 -4
  226. vendor/twig/twig/lib/Twig/Node/Expression/Parent.php +35 -4
  227. vendor/twig/twig/lib/Twig/Node/Expression/TempName.php +20 -5
  228. vendor/twig/twig/lib/Twig/Node/Expression/Test.php +33 -4
  229. vendor/twig/twig/lib/Twig/Node/Expression/Test/Constant.php +40 -5
  230. vendor/twig/twig/lib/Twig/Node/Expression/Test/Defined.php +52 -4
  231. vendor/twig/twig/lib/Twig/Node/Expression/Test/Divisibleby.php +27 -5
  232. vendor/twig/twig/lib/Twig/Node/Expression/Test/Even.php +26 -5
  233. vendor/twig/twig/lib/Twig/Node/Expression/Test/Null.php +25 -5
  234. vendor/twig/twig/lib/Twig/Node/Expression/Test/Odd.php +26 -5
  235. vendor/twig/twig/lib/Twig/Node/Expression/Test/Sameas.php +23 -5
  236. vendor/twig/twig/lib/Twig/Node/Expression/Unary.php +21 -5
  237. vendor/twig/twig/lib/Twig/Node/Expression/Unary/Neg.php +13 -6
  238. vendor/twig/twig/lib/Twig/Node/Expression/Unary/Not.php +13 -6
  239. vendor/twig/twig/lib/Twig/Node/Expression/Unary/Pos.php +13 -6
  240. vendor/twig/twig/lib/Twig/Node/Flush.php +24 -4
  241. vendor/twig/twig/lib/Twig/Node/For.php +104 -4
  242. vendor/twig/twig/lib/Twig/Node/ForLoop.php +43 -4
  243. vendor/twig/twig/lib/Twig/Node/If.php +59 -4
  244. vendor/twig/twig/lib/Twig/Node/Import.php +42 -4
  245. vendor/twig/twig/lib/Twig/Node/Include.php +81 -4
  246. vendor/twig/twig/lib/Twig/Node/Macro.php +116 -4
  247. vendor/twig/twig/lib/Twig/Node/Module.php +452 -4
  248. vendor/twig/twig/lib/Twig/Node/Print.php +27 -4
  249. vendor/twig/twig/lib/Twig/Node/Sandbox.php +35 -4
  250. vendor/twig/twig/lib/Twig/Node/SandboxedPrint.php +42 -4
  251. vendor/twig/twig/lib/Twig/Node/Set.php +89 -4
  252. vendor/twig/twig/lib/Twig/Node/SetTemp.php +28 -4
  253. vendor/twig/twig/lib/Twig/Node/Spaceless.php +28 -4
  254. vendor/twig/twig/lib/Twig/Node/Text.php +27 -4
  255. vendor/twig/twig/lib/Twig/Node/With.php +55 -4
  256. vendor/twig/twig/lib/Twig/NodeCaptureInterface.php +15 -7
  257. vendor/twig/twig/lib/Twig/NodeInterface.php +2 -4
  258. vendor/twig/twig/lib/Twig/NodeOutputInterface.php +15 -7
  259. vendor/twig/twig/lib/Twig/NodeTraverser.php +75 -4
  260. vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php +145 -4
  261. vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php +244 -4
  262. vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php +141 -4
  263. vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php +68 -4
  264. vendor/twig/twig/lib/Twig/NodeVisitorInterface.php +36 -6
  265. vendor/twig/twig/lib/Twig/Parser.php +399 -4
  266. vendor/twig/twig/lib/Twig/ParserInterface.php +3 -7
  267. vendor/twig/twig/lib/Twig/Profiler/Dumper/Base.php +0 -11
  268. vendor/twig/twig/lib/Twig/Profiler/Dumper/Blackfire.php +63 -4
  269. vendor/twig/twig/lib/Twig/Profiler/Dumper/Html.php +38 -4
  270. vendor/twig/twig/lib/Twig/Profiler/Dumper/Text.php +63 -4
  271. vendor/twig/twig/lib/Twig/Profiler/Node/EnterProfile.php +30 -4
  272. vendor/twig/twig/lib/Twig/Profiler/Node/LeaveProfile.php +24 -4
  273. vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php +58 -4
  274. vendor/twig/twig/lib/Twig/Profiler/Profile.php +155 -4
  275. vendor/twig/twig/lib/Twig/RuntimeLoaderInterface.php +23 -7
  276. vendor/twig/twig/lib/Twig/Sandbox/SecurityError.php +15 -7
  277. vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFilterError.php +24 -4
  278. vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php +24 -4
  279. vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedMethodError.php +31 -4
  280. vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedPropertyError.php +31 -4
  281. vendor/twig/twig/lib/Twig/Sandbox/SecurityNotAllowedTagError.php +24 -4
  282. vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicy.php +116 -4
  283. vendor/twig/twig/lib/Twig/Sandbox/SecurityPolicyInterface.php +19 -6
  284. vendor/twig/twig/lib/Twig/SimpleFilter.php +112 -4
  285. vendor/twig/twig/lib/Twig/SimpleFunction.php +102 -4
  286. vendor/twig/twig/lib/Twig/SimpleTest.php +64 -4
  287. vendor/twig/twig/lib/Twig/Source.php +44 -4
  288. vendor/twig/twig/lib/Twig/SourceContextLoaderInterface.php +27 -7
  289. vendor/twig/twig/lib/Twig/Template.php +694 -4
  290. vendor/twig/twig/lib/Twig/TemplateInterface.php +2 -4
  291. vendor/twig/twig/lib/Twig/TemplateWrapper.php +124 -4
  292. vendor/twig/twig/lib/Twig/Test.php +5 -5
  293. vendor/twig/twig/lib/Twig/Test/Function.php +2 -2
  294. vendor/twig/twig/lib/Twig/Test/IntegrationTestCase.php +225 -4
  295. vendor/twig/twig/lib/Twig/Test/Method.php +4 -6
  296. vendor/twig/twig/lib/Twig/Test/Node.php +1 -1
  297. vendor/twig/twig/lib/Twig/Test/NodeTestCase.php +61 -4
  298. vendor/twig/twig/lib/Twig/TestCallableInterface.php +0 -0
  299. vendor/twig/twig/lib/Twig/TestInterface.php +0 -0
  300. vendor/twig/twig/lib/Twig/Token.php +198 -4
  301. vendor/twig/twig/lib/Twig/TokenParser.php +24 -4
  302. vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php +74 -4
  303. vendor/twig/twig/lib/Twig/TokenParser/Block.php +64 -4
  304. vendor/twig/twig/lib/Twig/TokenParser/Deprecated.php +0 -11
  305. vendor/twig/twig/lib/Twig/TokenParser/Do.php +25 -4
  306. vendor/twig/twig/lib/Twig/TokenParser/Embed.php +58 -4
  307. vendor/twig/twig/lib/Twig/TokenParser/Extends.php +37 -4
  308. vendor/twig/twig/lib/Twig/TokenParser/Filter.php +44 -4
  309. vendor/twig/twig/lib/Twig/TokenParser/Flush.php +25 -4
  310. vendor/twig/twig/lib/Twig/TokenParser/For.php +118 -4
  311. vendor/twig/twig/lib/Twig/TokenParser/From.php +57 -4
  312. vendor/twig/twig/lib/Twig/TokenParser/If.php +77 -4
  313. vendor/twig/twig/lib/Twig/TokenParser/Import.php +32 -4
  314. vendor/twig/twig/lib/Twig/TokenParser/Include.php +58 -4
  315. vendor/twig/twig/lib/Twig/TokenParser/Macro.php +51 -4
  316. vendor/twig/twig/lib/Twig/TokenParser/Sandbox.php +52 -4
  317. vendor/twig/twig/lib/Twig/TokenParser/Set.php +66 -4
  318. vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php +42 -4
  319. vendor/twig/twig/lib/Twig/TokenParser/Use.php +59 -4
  320. vendor/twig/twig/lib/Twig/TokenParser/With.php +43 -4
  321. vendor/twig/twig/lib/Twig/TokenParserBroker.php +14 -16
  322. vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php +3 -5
  323. vendor/twig/twig/lib/Twig/TokenParserInterface.php +34 -6
  324. vendor/twig/twig/lib/Twig/TokenStream.php +187 -4
  325. vendor/twig/twig/lib/Twig/Util/DeprecationCollector.php +77 -4
  326. vendor/twig/twig/lib/Twig/Util/TemplateDirIterator.php +19 -4
  327. vendor/twig/twig/phpunit.xml.dist +3 -3
  328. vendor/twig/twig/src/Cache/CacheInterface.php +0 -60
  329. vendor/twig/twig/src/Cache/FilesystemCache.php +0 -93
  330. vendor/twig/twig/src/Cache/NullCache.php +0 -42
  331. vendor/twig/twig/src/Compiler.php +0 -288
  332. vendor/twig/twig/src/Environment.php +0 -1638
  333. vendor/twig/twig/src/Error/Error.php +0 -325
  334. vendor/twig/twig/src/Error/LoaderError.php +0 -23
  335. vendor/twig/twig/src/Error/RuntimeError.php +0 -24
  336. vendor/twig/twig/src/Error/SyntaxError.php +0 -57
  337. vendor/twig/twig/src/ExpressionParser.php +0 -834
  338. vendor/twig/twig/src/Extension/AbstractExtension.php +0 -72
  339. vendor/twig/twig/src/Extension/CoreExtension.php +0 -586
composer.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "require": {
3
- "twig/twig": "1.42.2"
4
  },
5
  "autoload": {
6
  "psr-4": {
1
  {
2
  "require": {
3
+ "twig/twig": "1.33.0"
4
  },
5
  "autoload": {
6
  "psr-4": {
composer.lock CHANGED
@@ -1,104 +1,43 @@
1
  {
2
  "_readme": [
3
  "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "e391da4a27fbc123a6e76c15da8de295",
 
8
  "packages": [
9
- {
10
- "name": "symfony/polyfill-ctype",
11
- "version": "v1.12.0",
12
- "source": {
13
- "type": "git",
14
- "url": "https://github.com/symfony/polyfill-ctype.git",
15
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4"
16
- },
17
- "dist": {
18
- "type": "zip",
19
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
20
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4",
21
- "shasum": ""
22
- },
23
- "require": {
24
- "php": ">=5.3.3"
25
- },
26
- "suggest": {
27
- "ext-ctype": "For best performance"
28
- },
29
- "type": "library",
30
- "extra": {
31
- "branch-alias": {
32
- "dev-master": "1.12-dev"
33
- }
34
- },
35
- "autoload": {
36
- "psr-4": {
37
- "Symfony\\Polyfill\\Ctype\\": ""
38
- },
39
- "files": [
40
- "bootstrap.php"
41
- ]
42
- },
43
- "notification-url": "https://packagist.org/downloads/",
44
- "license": [
45
- "MIT"
46
- ],
47
- "authors": [
48
- {
49
- "name": "Gert de Pagter",
50
- "email": "BackEndTea@gmail.com"
51
- },
52
- {
53
- "name": "Symfony Community",
54
- "homepage": "https://symfony.com/contributors"
55
- }
56
- ],
57
- "description": "Symfony polyfill for ctype functions",
58
- "homepage": "https://symfony.com",
59
- "keywords": [
60
- "compatibility",
61
- "ctype",
62
- "polyfill",
63
- "portable"
64
- ],
65
- "time": "2019-08-06T08:03:45+00:00"
66
- },
67
  {
68
  "name": "twig/twig",
69
- "version": "v1.42.2",
70
  "source": {
71
  "type": "git",
72
  "url": "https://github.com/twigphp/Twig.git",
73
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4"
74
  },
75
  "dist": {
76
  "type": "zip",
77
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/21707d6ebd05476854805e4f91b836531941bcd4",
78
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4",
79
  "shasum": ""
80
  },
81
  "require": {
82
- "php": ">=5.4.0",
83
- "symfony/polyfill-ctype": "^1.8"
84
  },
85
  "require-dev": {
86
  "psr/container": "^1.0",
87
- "symfony/debug": "^2.7",
88
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8|^5.0"
89
  },
90
  "type": "library",
91
  "extra": {
92
  "branch-alias": {
93
- "dev-master": "1.42-dev"
94
  }
95
  },
96
  "autoload": {
97
  "psr-0": {
98
  "Twig_": "lib/"
99
- },
100
- "psr-4": {
101
- "Twig\\": "src/"
102
  }
103
  },
104
  "notification-url": "https://packagist.org/downloads/",
@@ -108,27 +47,27 @@
108
  "authors": [
109
  {
110
  "name": "Fabien Potencier",
111
- "role": "Lead Developer",
112
  "email": "fabien@symfony.com",
113
- "homepage": "http://fabien.potencier.org"
 
114
  },
115
  {
116
  "name": "Armin Ronacher",
117
- "role": "Project Founder",
118
- "email": "armin.ronacher@active-4.com"
119
  },
120
  {
121
  "name": "Twig Team",
122
- "role": "Contributors",
123
- "homepage": "https://twig.symfony.com/contributors"
124
  }
125
  ],
126
  "description": "Twig, the flexible, fast, and secure template language for PHP",
127
- "homepage": "https://twig.symfony.com",
128
  "keywords": [
129
  "templating"
130
  ],
131
- "time": "2019-06-18T15:35:16+00:00"
132
  }
133
  ],
134
  "packages-dev": [],
1
  {
2
  "_readme": [
3
  "This file locks the dependencies of your project to a known state",
4
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5
  "This file is @generated automatically"
6
  ],
7
+ "hash": "802aa0021594e5acc4c74c035325ace1",
8
+ "content-hash": "3e0253c4e4a1ebc6bc87d8ca2e86e719",
9
  "packages": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  {
11
  "name": "twig/twig",
12
+ "version": "v1.33.0",
13
  "source": {
14
  "type": "git",
15
  "url": "https://github.com/twigphp/Twig.git",
16
+ "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a"
17
  },
18
  "dist": {
19
  "type": "zip",
20
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
21
+ "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
22
  "shasum": ""
23
  },
24
  "require": {
25
+ "php": ">=5.2.7"
 
26
  },
27
  "require-dev": {
28
  "psr/container": "^1.0",
29
+ "symfony/debug": "~2.7",
30
+ "symfony/phpunit-bridge": "~3.3@dev"
31
  },
32
  "type": "library",
33
  "extra": {
34
  "branch-alias": {
35
+ "dev-master": "1.33-dev"
36
  }
37
  },
38
  "autoload": {
39
  "psr-0": {
40
  "Twig_": "lib/"
 
 
 
41
  }
42
  },
43
  "notification-url": "https://packagist.org/downloads/",
47
  "authors": [
48
  {
49
  "name": "Fabien Potencier",
 
50
  "email": "fabien@symfony.com",
51
+ "homepage": "http://fabien.potencier.org",
52
+ "role": "Lead Developer"
53
  },
54
  {
55
  "name": "Armin Ronacher",
56
+ "email": "armin.ronacher@active-4.com",
57
+ "role": "Project Founder"
58
  },
59
  {
60
  "name": "Twig Team",
61
+ "homepage": "http://twig.sensiolabs.org/contributors",
62
+ "role": "Contributors"
63
  }
64
  ],
65
  "description": "Twig, the flexible, fast, and secure template language for PHP",
66
+ "homepage": "http://twig.sensiolabs.org",
67
  "keywords": [
68
  "templating"
69
  ],
70
+ "time": "2017-03-22 15:40:09"
71
  }
72
  ],
73
  "packages-dev": [],
config/twig.php CHANGED
@@ -5,7 +5,6 @@ $twig = new Twig_Environment(new Twig_Loader_Filesystem([
5
  dirname(dirname(__FILE__)) . '/public',
6
  ]), ['autoescape' => false, 'debug' => false]);
7
 
8
- //$twig->addExtension(new Twig_Extension_Debug());
9
  if(!is_admin()):
10
 
11
  $twig->addFilter(new Twig_SimpleFilter('shortcode', function($string) {
5
  dirname(dirname(__FILE__)) . '/public',
6
  ]), ['autoescape' => false, 'debug' => false]);
7
 
 
8
  if(!is_admin()):
9
 
10
  $twig->addFilter(new Twig_SimpleFilter('shortcode', function($string) {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Responsive Menu ===
2
  Contributors: peterfeatherstone
3
- Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, hamburger menu, hamburger, mobile, tablet, 3 lines, 3 line, three line, three lines
4
  Requires at least: 3.6
5
  Tested up to: 5.2.2
6
- Stable tag: 3.1.23
7
- Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -22,7 +22,7 @@ Highly customisable Responsive Menu Plugin for WordPress. With over 150 customis
22
 
23
  **Requirements:**
24
 
25
- PHP 5.4+
26
 
27
  **Full Knowledgebase and dedicated support forum:**
28
 
@@ -111,10 +111,14 @@ To view our FAQ, please go to [https://responsive.menu/faq/](https://responsive.
111
 
112
  == Changelog ==
113
 
 
 
 
 
114
  = 3.1.23 (13th Aug 2019) =
115
  * Added option to hide the original desktop theme menu.
116
  * Drop support for PHP 5.5
117
- * Update Twig to the 1.42.2
118
  * Fix bug with pre IE10 javascript when disabling background scrolling.
119
 
120
  = 3.1.22 (30th May 2019) =
1
  === Responsive Menu ===
2
  Contributors: peterfeatherstone
3
+ Tags: responsive, menu, navigation, mobile, hamburger
4
  Requires at least: 3.6
5
  Tested up to: 5.2.2
6
+ Stable tag: 3.1.24
7
+ Requires PHP: 5.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
22
 
23
  **Requirements:**
24
 
25
+ PHP 5.5+
26
 
27
  **Full Knowledgebase and dedicated support forum:**
28
 
111
 
112
  == Changelog ==
113
 
114
+ = 3.1.24 (14th Aug 2019) =
115
+ * Allow support for PHP 5.5 again.
116
+ * Downgrade Twig back to 1.33.0 as it doesn't play nicely with other plugins.
117
+
118
  = 3.1.23 (13th Aug 2019) =
119
  * Added option to hide the original desktop theme menu.
120
  * Drop support for PHP 5.5
121
+ * Update Twig to 1.42.2
122
  * Fix bug with pre IE10 javascript when disabling background scrolling.
123
 
124
  = 3.1.22 (30th May 2019) =
responsive-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
- Version: 3.1.23
8
  Author: Peter Featherstone
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
+ Version: 3.1.24
8
  Author: Peter Featherstone
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
vendor/autoload.php CHANGED
File without changes
vendor/composer/ClassLoader.php CHANGED
File without changes
vendor/composer/LICENSE CHANGED
File without changes
vendor/composer/autoload_classmap.php CHANGED
File without changes
vendor/composer/autoload_files.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- // autoload_files.php @generated by Composer
4
-
5
- $vendorDir = dirname(dirname(__FILE__));
6
- $baseDir = dirname($vendorDir);
7
-
8
- return array(
9
- '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
10
- );
 
 
 
 
 
 
 
 
 
 
vendor/composer/autoload_namespaces.php CHANGED
File without changes
vendor/composer/autoload_psr4.php CHANGED
@@ -6,7 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
- 'Twig\\' => array($vendorDir . '/twig/twig/src'),
10
- 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
11
  'ResponsiveMenu\\' => array($baseDir . '/app'),
12
  );
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
 
9
  'ResponsiveMenu\\' => array($baseDir . '/app'),
10
  );
vendor/composer/autoload_real.php CHANGED
@@ -47,24 +47,6 @@ class ComposerAutoloaderInitbe9ac5d85095f467548fb48e989d4a37
47
 
48
  $loader->register(true);
49
 
50
- if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitbe9ac5d85095f467548fb48e989d4a37::$files;
52
- } else {
53
- $includeFiles = require __DIR__ . '/autoload_files.php';
54
- }
55
- foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequirebe9ac5d85095f467548fb48e989d4a37($fileIdentifier, $file);
57
- }
58
-
59
  return $loader;
60
  }
61
  }
62
-
63
- function composerRequirebe9ac5d85095f467548fb48e989d4a37($fileIdentifier, $file)
64
- {
65
- if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
- require $file;
67
-
68
- $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
69
- }
70
- }
47
 
48
  $loader->register(true);
49
 
 
 
 
 
 
 
 
 
 
50
  return $loader;
51
  }
52
  }
 
 
 
 
 
 
 
 
 
vendor/composer/autoload_static.php CHANGED
@@ -6,19 +6,7 @@ namespace Composer\Autoload;
6
 
7
  class ComposerStaticInitbe9ac5d85095f467548fb48e989d4a37
8
  {
9
- public static $files = array (
10
- '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
11
- );
12
-
13
  public static $prefixLengthsPsr4 = array (
14
- 'T' =>
15
- array (
16
- 'Twig\\' => 5,
17
- ),
18
- 'S' =>
19
- array (
20
- 'Symfony\\Polyfill\\Ctype\\' => 23,
21
- ),
22
  'R' =>
23
  array (
24
  'ResponsiveMenu\\' => 15,
@@ -26,14 +14,6 @@ class ComposerStaticInitbe9ac5d85095f467548fb48e989d4a37
26
  );
27
 
28
  public static $prefixDirsPsr4 = array (
29
- 'Twig\\' =>
30
- array (
31
- 0 => __DIR__ . '/..' . '/twig/twig/src',
32
- ),
33
- 'Symfony\\Polyfill\\Ctype\\' =>
34
- array (
35
- 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
36
- ),
37
  'ResponsiveMenu\\' =>
38
  array (
39
  0 => __DIR__ . '/../..' . '/app',
6
 
7
  class ComposerStaticInitbe9ac5d85095f467548fb48e989d4a37
8
  {
 
 
 
 
9
  public static $prefixLengthsPsr4 = array (
 
 
 
 
 
 
 
 
10
  'R' =>
11
  array (
12
  'ResponsiveMenu\\' => 15,
14
  );
15
 
16
  public static $prefixDirsPsr4 = array (
 
 
 
 
 
 
 
 
17
  'ResponsiveMenu\\' =>
18
  array (
19
  0 => __DIR__ . '/../..' . '/app',
vendor/composer/installed.json CHANGED
@@ -1,102 +1,38 @@
1
  [
2
- {
3
- "name": "symfony/polyfill-ctype",
4
- "version": "v1.12.0",
5
- "version_normalized": "1.12.0.0",
6
- "source": {
7
- "type": "git",
8
- "url": "https://github.com/symfony/polyfill-ctype.git",
9
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4"
10
- },
11
- "dist": {
12
- "type": "zip",
13
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
14
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4",
15
- "shasum": ""
16
- },
17
- "require": {
18
- "php": ">=5.3.3"
19
- },
20
- "suggest": {
21
- "ext-ctype": "For best performance"
22
- },
23
- "time": "2019-08-06T08:03:45+00:00",
24
- "type": "library",
25
- "extra": {
26
- "branch-alias": {
27
- "dev-master": "1.12-dev"
28
- }
29
- },
30
- "installation-source": "dist",
31
- "autoload": {
32
- "psr-4": {
33
- "Symfony\\Polyfill\\Ctype\\": ""
34
- },
35
- "files": [
36
- "bootstrap.php"
37
- ]
38
- },
39
- "notification-url": "https://packagist.org/downloads/",
40
- "license": [
41
- "MIT"
42
- ],
43
- "authors": [
44
- {
45
- "name": "Gert de Pagter",
46
- "email": "BackEndTea@gmail.com"
47
- },
48
- {
49
- "name": "Symfony Community",
50
- "homepage": "https://symfony.com/contributors"
51
- }
52
- ],
53
- "description": "Symfony polyfill for ctype functions",
54
- "homepage": "https://symfony.com",
55
- "keywords": [
56
- "compatibility",
57
- "ctype",
58
- "polyfill",
59
- "portable"
60
- ]
61
- },
62
  {
63
  "name": "twig/twig",
64
- "version": "v1.42.2",
65
- "version_normalized": "1.42.2.0",
66
  "source": {
67
  "type": "git",
68
  "url": "https://github.com/twigphp/Twig.git",
69
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4"
70
  },
71
  "dist": {
72
  "type": "zip",
73
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/21707d6ebd05476854805e4f91b836531941bcd4",
74
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4",
75
  "shasum": ""
76
  },
77
  "require": {
78
- "php": ">=5.4.0",
79
- "symfony/polyfill-ctype": "^1.8"
80
  },
81
  "require-dev": {
82
  "psr/container": "^1.0",
83
- "symfony/debug": "^2.7",
84
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8|^5.0"
85
  },
86
- "time": "2019-06-18T15:35:16+00:00",
87
  "type": "library",
88
  "extra": {
89
  "branch-alias": {
90
- "dev-master": "1.42-dev"
91
  }
92
  },
93
  "installation-source": "dist",
94
  "autoload": {
95
  "psr-0": {
96
  "Twig_": "lib/"
97
- },
98
- "psr-4": {
99
- "Twig\\": "src/"
100
  }
101
  },
102
  "notification-url": "https://packagist.org/downloads/",
@@ -106,23 +42,23 @@
106
  "authors": [
107
  {
108
  "name": "Fabien Potencier",
109
- "role": "Lead Developer",
110
  "email": "fabien@symfony.com",
111
- "homepage": "http://fabien.potencier.org"
 
112
  },
113
  {
114
  "name": "Armin Ronacher",
115
- "role": "Project Founder",
116
- "email": "armin.ronacher@active-4.com"
117
  },
118
  {
119
  "name": "Twig Team",
120
- "role": "Contributors",
121
- "homepage": "https://twig.symfony.com/contributors"
122
  }
123
  ],
124
  "description": "Twig, the flexible, fast, and secure template language for PHP",
125
- "homepage": "https://twig.symfony.com",
126
  "keywords": [
127
  "templating"
128
  ]
1
  [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  {
3
  "name": "twig/twig",
4
+ "version": "v1.33.0",
5
+ "version_normalized": "1.33.0.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/twigphp/Twig.git",
9
+ "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
14
+ "reference": "05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a",
15
  "shasum": ""
16
  },
17
  "require": {
18
+ "php": ">=5.2.7"
 
19
  },
20
  "require-dev": {
21
  "psr/container": "^1.0",
22
+ "symfony/debug": "~2.7",
23
+ "symfony/phpunit-bridge": "~3.3@dev"
24
  },
25
+ "time": "2017-03-22 15:40:09",
26
  "type": "library",
27
  "extra": {
28
  "branch-alias": {
29
+ "dev-master": "1.33-dev"
30
  }
31
  },
32
  "installation-source": "dist",
33
  "autoload": {
34
  "psr-0": {
35
  "Twig_": "lib/"
 
 
 
36
  }
37
  },
38
  "notification-url": "https://packagist.org/downloads/",
42
  "authors": [
43
  {
44
  "name": "Fabien Potencier",
 
45
  "email": "fabien@symfony.com",
46
+ "homepage": "http://fabien.potencier.org",
47
+ "role": "Lead Developer"
48
  },
49
  {
50
  "name": "Armin Ronacher",
51
+ "email": "armin.ronacher@active-4.com",
52
+ "role": "Project Founder"
53
  },
54
  {
55
  "name": "Twig Team",
56
+ "homepage": "http://twig.sensiolabs.org/contributors",
57
+ "role": "Contributors"
58
  }
59
  ],
60
  "description": "Twig, the flexible, fast, and secure template language for PHP",
61
+ "homepage": "http://twig.sensiolabs.org",
62
  "keywords": [
63
  "templating"
64
  ]
vendor/symfony/polyfill-ctype/Ctype.php DELETED
@@ -1,227 +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
- namespace Symfony\Polyfill\Ctype;
13
-
14
- /**
15
- * Ctype implementation through regex.
16
- *
17
- * @internal
18
- *
19
- * @author Gert de Pagter <BackEndTea@gmail.com>
20
- */
21
- final class Ctype
22
- {
23
- /**
24
- * Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.
25
- *
26
- * @see https://php.net/ctype-alnum
27
- *
28
- * @param string|int $text
29
- *
30
- * @return bool
31
- */
32
- public static function ctype_alnum($text)
33
- {
34
- $text = self::convert_int_to_char_for_ctype($text);
35
-
36
- return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
37
- }
38
-
39
- /**
40
- * Returns TRUE if every character in text is a letter, FALSE otherwise.
41
- *
42
- * @see https://php.net/ctype-alpha
43
- *
44
- * @param string|int $text
45
- *
46
- * @return bool
47
- */
48
- public static function ctype_alpha($text)
49
- {
50
- $text = self::convert_int_to_char_for_ctype($text);
51
-
52
- return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
53
- }
54
-
55
- /**
56
- * Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.
57
- *
58
- * @see https://php.net/ctype-cntrl
59
- *
60
- * @param string|int $text
61
- *
62
- * @return bool
63
- */
64
- public static function ctype_cntrl($text)
65
- {
66
- $text = self::convert_int_to_char_for_ctype($text);
67
-
68
- return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
69
- }
70
-
71
- /**
72
- * Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.
73
- *
74
- * @see https://php.net/ctype-digit
75
- *
76
- * @param string|int $text
77
- *
78
- * @return bool
79
- */
80
- public static function ctype_digit($text)
81
- {
82
- $text = self::convert_int_to_char_for_ctype($text);
83
-
84
- return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
85
- }
86
-
87
- /**
88
- * Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.
89
- *
90
- * @see https://php.net/ctype-graph
91
- *
92
- * @param string|int $text
93
- *
94
- * @return bool
95
- */
96
- public static function ctype_graph($text)
97
- {
98
- $text = self::convert_int_to_char_for_ctype($text);
99
-
100
- return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
101
- }
102
-
103
- /**
104
- * Returns TRUE if every character in text is a lowercase letter.
105
- *
106
- * @see https://php.net/ctype-lower
107
- *
108
- * @param string|int $text
109
- *
110
- * @return bool
111
- */
112
- public static function ctype_lower($text)
113
- {
114
- $text = self::convert_int_to_char_for_ctype($text);
115
-
116
- return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
117
- }
118
-
119
- /**
120
- * Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.
121
- *
122
- * @see https://php.net/ctype-print
123
- *
124
- * @param string|int $text
125
- *
126
- * @return bool
127
- */
128
- public static function ctype_print($text)
129
- {
130
- $text = self::convert_int_to_char_for_ctype($text);
131
-
132
- return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
133
- }
134
-
135
- /**
136
- * Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.
137
- *
138
- * @see https://php.net/ctype-punct
139
- *
140
- * @param string|int $text
141
- *
142
- * @return bool
143
- */
144
- public static function ctype_punct($text)
145
- {
146
- $text = self::convert_int_to_char_for_ctype($text);
147
-
148
- return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
149
- }
150
-
151
- /**
152
- * Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.
153
- *
154
- * @see https://php.net/ctype-space
155
- *
156
- * @param string|int $text
157
- *
158
- * @return bool
159
- */
160
- public static function ctype_space($text)
161
- {
162
- $text = self::convert_int_to_char_for_ctype($text);
163
-
164
- return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
165
- }
166
-
167
- /**
168
- * Returns TRUE if every character in text is an uppercase letter.
169
- *
170
- * @see https://php.net/ctype-upper
171
- *
172
- * @param string|int $text
173
- *
174
- * @return bool
175
- */
176
- public static function ctype_upper($text)
177
- {
178
- $text = self::convert_int_to_char_for_ctype($text);
179
-
180
- return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
181
- }
182
-
183
- /**
184
- * Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.
185
- *
186
- * @see https://php.net/ctype-xdigit
187
- *
188
- * @param string|int $text
189
- *
190
- * @return bool
191
- */
192
- public static function ctype_xdigit($text)
193
- {
194
- $text = self::convert_int_to_char_for_ctype($text);
195
-
196
- return \is_string($text) && '' !== $text && !preg_match('/[^A-Fa-f0-9]/', $text);
197
- }
198
-
199
- /**
200
- * Converts integers to their char versions according to normal ctype behaviour, if needed.
201
- *
202
- * If an integer between -128 and 255 inclusive is provided,
203
- * it is interpreted as the ASCII value of a single character
204
- * (negative values have 256 added in order to allow characters in the Extended ASCII range).
205
- * Any other integer is interpreted as a string containing the decimal digits of the integer.
206
- *
207
- * @param string|int $int
208
- *
209
- * @return mixed
210
- */
211
- private static function convert_int_to_char_for_ctype($int)
212
- {
213
- if (!\is_int($int)) {
214
- return $int;
215
- }
216
-
217
- if ($int < -128 || $int > 255) {
218
- return (string) $int;
219
- }
220
-
221
- if ($int < 0) {
222
- $int += 256;
223
- }
224
-
225
- return \chr($int);
226
- }
227
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/symfony/polyfill-ctype/LICENSE DELETED
@@ -1,19 +0,0 @@
1
- Copyright (c) 2018-2019 Fabien Potencier
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is furnished
8
- to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/symfony/polyfill-ctype/README.md DELETED
@@ -1,12 +0,0 @@
1
- Symfony Polyfill / Ctype
2
- ========================
3
-
4
- This component provides `ctype_*` functions to users who run php versions without the ctype extension.
5
-
6
- More information can be found in the
7
- [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
8
-
9
- License
10
- =======
11
-
12
- This library is released under the [MIT license](LICENSE).
 
 
 
 
 
 
 
 
 
 
 
 
vendor/symfony/polyfill-ctype/bootstrap.php DELETED
@@ -1,26 +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\Ctype as p;
13
-
14
- if (!function_exists('ctype_alnum')) {
15
- function ctype_alnum($text) { return p\Ctype::ctype_alnum($text); }
16
- function ctype_alpha($text) { return p\Ctype::ctype_alpha($text); }
17
- function ctype_cntrl($text) { return p\Ctype::ctype_cntrl($text); }
18
- function ctype_digit($text) { return p\Ctype::ctype_digit($text); }
19
- function ctype_graph($text) { return p\Ctype::ctype_graph($text); }
20
- function ctype_lower($text) { return p\Ctype::ctype_lower($text); }
21
- function ctype_print($text) { return p\Ctype::ctype_print($text); }
22
- function ctype_punct($text) { return p\Ctype::ctype_punct($text); }
23
- function ctype_space($text) { return p\Ctype::ctype_space($text); }
24
- function ctype_upper($text) { return p\Ctype::ctype_upper($text); }
25
- function ctype_xdigit($text) { return p\Ctype::ctype_xdigit($text); }
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/symfony/polyfill-ctype/composer.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "name": "symfony/polyfill-ctype",
3
- "type": "library",
4
- "description": "Symfony polyfill for ctype functions",
5
- "keywords": ["polyfill", "compatibility", "portable", "ctype"],
6
- "homepage": "https://symfony.com",
7
- "license": "MIT",
8
- "authors": [
9
- {
10
- "name": "Gert de Pagter",
11
- "email": "BackEndTea@gmail.com"
12
- },
13
- {
14
- "name": "Symfony Community",
15
- "homepage": "https://symfony.com/contributors"
16
- }
17
- ],
18
- "require": {
19
- "php": ">=5.3.3"
20
- },
21
- "autoload": {
22
- "psr-4": { "Symfony\\Polyfill\\Ctype\\": "" },
23
- "files": [ "bootstrap.php" ]
24
- },
25
- "suggest": {
26
- "ext-ctype": "For best performance"
27
- },
28
- "minimum-stability": "dev",
29
- "extra": {
30
- "branch-alias": {
31
- "dev-master": "1.12-dev"
32
- }
33
- }
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/twig/twig/.editorconfig CHANGED
File without changes
vendor/twig/twig/.php_cs.dist CHANGED
@@ -1,18 +1,15 @@
1
  <?php
2
 
3
  return PhpCsFixer\Config::create()
4
- ->setRules([
5
  '@Symfony' => true,
6
  '@Symfony:risky' => true,
7
- 'array_syntax' => ['syntax' => 'short'],
8
- 'php_unit_fqcn_annotation' => true,
9
  'no_unreachable_default_argument_value' => false,
10
- 'braces' => ['allow_single_line_closure' => true],
11
  'heredoc_to_nowdoc' => false,
12
- 'ordered_imports' => true,
13
- 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
14
- 'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
15
- ])
16
  ->setRiskyAllowed(true)
17
  ->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
18
  ;
1
  <?php
2
 
3
  return PhpCsFixer\Config::create()
4
+ ->setRules(array(
5
  '@Symfony' => true,
6
  '@Symfony:risky' => true,
7
+ 'array_syntax' => array('syntax' => 'long'),
8
+ 'php_unit_fqcn_annotation' => false,
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__))
15
  ;
vendor/twig/twig/.travis.yml CHANGED
@@ -7,38 +7,37 @@ cache:
7
  - vendor
8
  - $HOME/.composer/cache/files
9
 
 
 
 
 
 
 
 
 
 
 
10
  env:
11
  - TWIG_EXT=no
 
12
 
13
  before_install:
14
- - phpenv config-rm xdebug.ini || return 0
15
 
16
  install:
17
- - travis_retry composer install
 
18
 
19
  before_script:
20
  - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
21
  - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
22
 
23
- script: ./vendor/bin/simple-phpunit
24
-
25
- jobs:
26
  fast_finish: true
27
- include:
28
- - php: 5.4
29
- - php: 5.4
30
- env: TWIG_EXT=yes
31
- - php: 5.5
32
- - php: 5.5
33
- env: TWIG_EXT=yes
34
- - php: 5.6
35
- - php: 5.6
36
  env: TWIG_EXT=yes
37
  - php: 7.0
 
38
  - php: 7.1
39
- - php: 7.2
40
- - php: 7.3
41
- - php: 7.4snapshot
42
- - stage: integration tests
43
- php: 7.3
44
- script: ./drupal_test.sh
7
  - vendor
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
+ - hhvm
19
+
20
  env:
21
  - TWIG_EXT=no
22
+ - TWIG_EXT=yes
23
 
24
  before_install:
25
+ - if [[ ! $TRAVIS_PHP_VERSION = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
26
 
27
  install:
28
+ # Composer is not available on PHP 5.2
29
+ - if [ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]; then travis_retry composer install; fi
30
 
31
  before_script:
32
  - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
33
  - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
34
 
35
+ matrix:
 
 
36
  fast_finish: true
37
+ exclude:
38
+ - php: hhvm
 
 
 
 
 
 
 
39
  env: TWIG_EXT=yes
40
  - php: 7.0
41
+ env: TWIG_EXT=yes
42
  - php: 7.1
43
+ env: TWIG_EXT=yes
 
 
 
 
 
vendor/twig/twig/CHANGELOG CHANGED
@@ -1,182 +1,3 @@
1
- * 1.42.2 (2019-06-18)
2
-
3
- * Display partial output (PHP buffer) when an error occurs in debug mode
4
-
5
- * 1.42.1 (2019-06-04)
6
-
7
- * added support for "Twig\Markup" instances in the "in" test (again)
8
- * allowed string operators as variables names in assignments
9
-
10
- * 1.42.0 (2019-05-31)
11
-
12
- * fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance)
13
- * fixed a PHP fatal error when calling a macro imported in a block in a nested block
14
- * fixed a PHP fatal error when calling a macro imported in the template in another macro
15
- * fixed wrong error message on "import" and "from"
16
-
17
- * 1.41.0 (2019-05-14)
18
-
19
- * fixed support for PHP 7.4
20
- * added "filter", "map", and "reduce" filters (and support for arrow functions)
21
- * fixed partial output leak when a PHP fatal error occurs
22
- * optimized context access on PHP 7.4
23
-
24
- * 1.40.1 (2019-04-29)
25
-
26
- * fixed regression in NodeTraverser
27
-
28
- * 1.40.0 (2019-04-28)
29
-
30
- * allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)
31
- * added the "apply" tag as a replacement for the "filter" tag
32
- * allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
33
- * added support for "Twig\Markup" instances in the "in" test
34
- * fixed Lexer when using custom options containing the # char
35
- * fixed "import" when macros are stored in a template string
36
-
37
- * 1.39.1 (2019-04-16)
38
-
39
- * fixed EscaperNodeVisitor
40
-
41
- * 1.39.0 (2019-04-16)
42
-
43
- * added Traversable support for the length filter
44
- * fixed some wrong location in error messages
45
- * made exception creation faster
46
- * made escaping on ternary expressions (?: and ??) more fine-grained
47
- * added the possibility to give a nice name to string templates (template_from_string function)
48
- * fixed the "with" behavior to always include the globals (for consistency with the "include" and "embed" tags)
49
- * fixed "include" with "ignore missing" when an error loading occurs in the included template
50
- * added support for a new whitespace trimming option ({%~ ~%}, {{~ ~}}, {#~ ~#})
51
-
52
- * 1.38.4 (2019-03-23)
53
-
54
- * fixed CheckToStringNode implementation (broken when a function/filter is variadic)
55
-
56
- * 1.38.3 (2019-03-21)
57
-
58
- * fixed the spaceless filter so that it behaves like the spaceless tag
59
- * fixed BC break on Environment::resolveTemplate()
60
- * fixed the bundled Autoloader to also load namespaced classes
61
- * allowed Traversable objects to be used in the "with" tag
62
- * allowed Traversable objects to be used in the "with" argument of the "include" and "embed" tags
63
-
64
- * 1.38.2 (2019-03-12)
65
-
66
- * added TemplateWrapper::getTemplateName()
67
-
68
- * 1.38.1 (2019-03-12)
69
-
70
- * fixed class aliases
71
-
72
- * 1.38.0 (2019-03-12)
73
-
74
- * fixed sandbox security issue (under some circumstances, calling the
75
- __toString() method on an object was possible even if not allowed by the
76
- security policy)
77
- * fixed batch filter clobbers array keys when fill parameter is used
78
- * added preserveKeys support for the batch filter
79
- * fixed "embed" support when used from "template_from_string"
80
- * added the possibility to pass a TemplateWrapper to Twig\Environment::load()
81
- * improved the performance of the sandbox
82
- * added a spaceless filter
83
- * added max value to the "random" function
84
- * made namespace classes the default classes (PSR-0 ones are aliases now)
85
- * removed duplicated directory separator in FilesystemLoader
86
- * added Twig\Loader\ChainLoader::getLoaders()
87
- * changed internal code to use the namespaced classes as much as possible
88
-
89
- * 1.37.1 (2019-01-14)
90
-
91
- * fixed regression (key exists check for non ArrayObject objects)
92
- * fixed logic in TemplateWrapper
93
-
94
- * 1.37.0 (2019-01-14)
95
-
96
- * fixed ArrayObject access with a null value
97
- * fixed embedded templates starting with a BOM
98
- * fixed using a Twig_TemplateWrapper instance as an argument to extends
99
- * switched generated code to use the PHP short array notation
100
- * dropped PHP 5.3 support
101
- * fixed float representation in compiled templates
102
- * added a second argument to the join filter (last separator configuration)
103
-
104
- * 1.36.0 (2018-12-16)
105
-
106
- * made sure twig_include returns a string
107
- * fixed multi-byte UFT-8 in escape('html_attr')
108
- * added the "deprecated" tag
109
- * added support for dynamically named tests
110
- * fixed GlobalsInterface extended class
111
- * fixed filesystem loader throwing an exception instead of returning false
112
-
113
- * 1.35.4 (2018-07-13)
114
-
115
- * ensured that syntax errors are triggered with the right line
116
- * added the Symfony ctype polyfill as a dependency
117
- * "js" filter now produces valid JSON
118
-
119
- * 1.35.3 (2018-03-20)
120
-
121
- * fixed block names unicity
122
- * fixed counting children of SimpleXMLElement objects
123
- * added missing else clause to avoid infinite loops
124
- * fixed .. (range operator) in sandbox policy
125
-
126
- * 1.35.2 (2018-03-03)
127
-
128
- * fixed a regression in the way the profiler is registered in templates
129
-
130
- * 1.35.1 (2018-03-02)
131
-
132
- * added an exception when using "===" instead of "same as"
133
- * fixed possible array to string conversion concealing actual error
134
- * made variable names deterministic in compiled templates
135
- * fixed length filter when passing an instance of IteratorAggregate
136
- * fixed Environment::resolveTemplate to accept instances of TemplateWrapper
137
-
138
- * 1.35.0 (2017-09-27)
139
-
140
- * added Twig_Profiler_Profile::reset()
141
- * fixed use TokenParser to return an empty Node
142
- * added RuntimeExtensionInterface
143
- * added circular reference detection when loading templates
144
-
145
- * 1.34.4 (2017-07-04)
146
-
147
- * added support for runtime loaders in IntegrationTestCase
148
- * fixed deprecation when using Twig_Profiler_Dumper_Html
149
-
150
- * 1.34.3 (2017-06-07)
151
-
152
- * fixed namespaces introduction
153
-
154
- * 1.34.2 (2017-06-05)
155
-
156
- * fixed namespaces introduction
157
-
158
- * 1.34.1 (2017-06-05)
159
-
160
- * fixed namespaces introduction
161
-
162
- * 1.34.0 (2017-06-05)
163
-
164
- * added support for PHPUnit 6 when testing extensions
165
- * fixed PHP 7.2 compatibility
166
- * fixed template name generation in Twig_Environment::createTemplate()
167
- * removed final tag on Twig_TokenParser_Include
168
- * added namespaced aliases for all (non-deprecated) classes and interfaces
169
- * dropped HHVM support
170
- * dropped PHP 5.2 support
171
-
172
- * 1.33.2 (2017-04-20)
173
-
174
- * fixed edge case in the method cache for Twig attributes
175
-
176
- * 1.33.1 (2017-04-18)
177
-
178
- * fixed the empty() test
179
-
180
  * 1.33.0 (2017-03-22)
181
 
182
  * fixed a race condition handling when writing cache files
@@ -286,7 +107,7 @@
286
 
287
  * fixed reserved keywords (forbids true, false, null and none keywords for variables names)
288
  * fixed support for PHP7 (Throwable support)
289
- * marked the following methods as being internals on Twig_Environment:
290
  getFunctions(), getFilters(), getTests(), getFunction(), getFilter(), getTest(),
291
  getTokenParsers(), getTags(), getNodeVisitors(), getUnaryOperators(), getBinaryOperators(),
292
  getFunctions(), getFilters(), getGlobals(), initGlobals(), initExtensions(), and initExtension()
@@ -370,7 +191,7 @@
370
  * fixed limited RCEs when in sandbox mode
371
  * deprecated Twig_Template::getEnvironment()
372
  * deprecated the _self variable for usage outside of the from and import tags
373
- * added Twig_BaseNodeVisitor to ease the compatibility of node visitors
374
  between 1.x and 2.x
375
 
376
  * 1.19.0 (2015-07-31)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  * 1.33.0 (2017-03-22)
2
 
3
  * fixed a race condition handling when writing cache files
107
 
108
  * fixed reserved keywords (forbids true, false, null and none keywords for variables names)
109
  * fixed support for PHP7 (Throwable support)
110
+ * marked the following methods as being internals on Twig_Environment:
111
  getFunctions(), getFilters(), getTests(), getFunction(), getFilter(), getTest(),
112
  getTokenParsers(), getTags(), getNodeVisitors(), getUnaryOperators(), getBinaryOperators(),
113
  getFunctions(), getFilters(), getGlobals(), initGlobals(), initExtensions(), and initExtension()
191
  * fixed limited RCEs when in sandbox mode
192
  * deprecated Twig_Template::getEnvironment()
193
  * deprecated the _self variable for usage outside of the from and import tags
194
+ * added Twig_BaseNodeVisitor to ease the compatibility of node visitors
195
  between 1.x and 2.x
196
 
197
  * 1.19.0 (2015-07-31)
vendor/twig/twig/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2019 by the Twig Team.
2
 
3
  Some rights reserved.
4
 
1
+ Copyright (c) 2009-2017 by the Twig Team.
2
 
3
  Some rights reserved.
4
 
vendor/twig/twig/README.rst CHANGED
@@ -12,4 +12,4 @@ More Information
12
 
13
  Read the `documentation`_ for more information.
14
 
15
- .. _documentation: https://twig.symfony.com/documentation
12
 
13
  Read the `documentation`_ for more information.
14
 
15
+ .. _documentation: http://twig.sensiolabs.org/documentation
vendor/twig/twig/composer.json CHANGED
@@ -3,7 +3,7 @@
3
  "type": "library",
4
  "description": "Twig, the flexible, fast, and secure template language for PHP",
5
  "keywords": ["templating"],
6
- "homepage": "https://twig.symfony.com",
7
  "license": "BSD-3-Clause",
8
  "authors": [
9
  {
@@ -14,7 +14,7 @@
14
  },
15
  {
16
  "name": "Twig Team",
17
- "homepage": "https://twig.symfony.com/contributors",
18
  "role": "Contributors"
19
  },
20
  {
@@ -23,26 +23,25 @@
23
  "role": "Project Founder"
24
  }
25
  ],
 
 
 
26
  "require": {
27
- "php": ">=5.4.0",
28
- "symfony/polyfill-ctype": "^1.8"
29
  },
30
  "require-dev": {
31
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8|^5.0",
32
- "symfony/debug": "^2.7",
33
  "psr/container": "^1.0"
34
  },
35
  "autoload": {
36
  "psr-0" : {
37
  "Twig_" : "lib/"
38
- },
39
- "psr-4" : {
40
- "Twig\\" : "src/"
41
  }
42
  },
43
  "extra": {
44
  "branch-alias": {
45
- "dev-master": "1.42-dev"
46
  }
47
  }
48
  }
3
  "type": "library",
4
  "description": "Twig, the flexible, fast, and secure template language for PHP",
5
  "keywords": ["templating"],
6
+ "homepage": "http://twig.sensiolabs.org",
7
  "license": "BSD-3-Clause",
8
  "authors": [
9
  {
14
  },
15
  {
16
  "name": "Twig Team",
17
+ "homepage": "http://twig.sensiolabs.org/contributors",
18
  "role": "Contributors"
19
  },
20
  {
23
  "role": "Project Founder"
24
  }
25
  ],
26
+ "support": {
27
+ "forum": "https://groups.google.com/forum/#!forum/twig-users"
28
+ },
29
  "require": {
30
+ "php": ">=5.2.7"
 
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
  },
42
  "extra": {
43
  "branch-alias": {
44
+ "dev-master": "1.33-dev"
45
  }
46
  }
47
  }
vendor/twig/twig/doc/advanced.rst CHANGED
@@ -13,10 +13,10 @@ itself with node visitors.
13
 
14
  .. note::
15
 
16
- The first section of this chapter describes how to extend Twig. If you want
17
- to reuse your changes in different projects or if you want to share them
18
- with others, you should then create an extension as described in the
19
- following section.
20
 
21
  .. caution::
22
 
@@ -40,7 +40,7 @@ generate).
40
 
41
  You can use a ``lipsum`` *tag*:
42
 
43
- .. code-block:: twig
44
 
45
  {% lipsum 40 %}
46
 
@@ -51,42 +51,43 @@ three main reasons:
51
  * The tag outputs something;
52
  * The tag is not flexible as you cannot use it in an expression:
53
 
54
- .. code-block:: twig
55
 
56
  {{ 'some text' ~ {% lipsum 40 %} ~ 'some more text' }}
57
 
58
  In fact, you rarely need to create tags; and that's good news because tags are
59
- the most complex extension point.
60
 
61
  Now, let's use a ``lipsum`` *filter*:
62
 
63
- .. code-block:: twig
64
 
65
  {{ 40|lipsum }}
66
 
67
- Again, it works. But a filter should transform the passed value to something
68
- else. Here, we use the value to indicate the number of words to generate (so,
69
- ``40`` is an argument of the filter, not the value we want to transform).
 
70
 
71
  Next, let's use a ``lipsum`` *function*:
72
 
73
- .. code-block:: twig
74
 
75
  {{ lipsum(40) }}
76
 
77
  Here we go. For this specific example, the creation of a function is the
78
  extension point to use. And you can use it anywhere an expression is accepted:
79
 
80
- .. code-block:: twig
81
 
82
  {{ 'some text' ~ lipsum(40) ~ 'some more text' }}
83
 
84
  {% set lipsum = lipsum(40) %}
85
 
86
- Lastly, you can also use a *global* object with a method able to generate lorem
87
- ipsum text:
88
 
89
- .. code-block:: twig
90
 
91
  {{ text.lipsum(40) }}
92
 
@@ -98,13 +99,13 @@ Keep in mind the following when you want to extend Twig:
98
  ========== ========================== ========== =========================
99
  What? Implementation difficulty? How often? When?
100
  ========== ========================== ========== =========================
101
- *macro* simple frequent Content generation
102
- *global* simple frequent Helper object
103
- *function* simple frequent Content generation
104
- *filter* simple frequent Value transformation
105
  *tag* complex rare DSL language construct
106
- *test* simple rare Boolean decision
107
- *operator* simple rare Values transformation
108
  ========== ========================== ========== =========================
109
 
110
  Globals
@@ -113,49 +114,49 @@ Globals
113
  A global variable is like any other template variable, except that it's
114
  available in all templates and macros::
115
 
116
- $twig = new \Twig\Environment($loader);
117
  $twig->addGlobal('text', new Text());
118
 
119
  You can then use the ``text`` variable anywhere in a template:
120
 
121
- .. code-block:: twig
122
 
123
  {{ text.lipsum(40) }}
124
 
125
  Filters
126
  -------
127
 
128
- Creating a filter consists of associating a name with a PHP callable::
129
 
130
  // an anonymous function
131
- $filter = new \Twig\TwigFilter('rot13', function ($string) {
132
  return str_rot13($string);
133
  });
134
 
135
  // or a simple PHP function
136
- $filter = new \Twig\TwigFilter('rot13', 'str_rot13');
137
 
138
  // or a class static method
139
- $filter = new \Twig\TwigFilter('rot13', ['SomeClass', 'rot13Filter']);
140
- $filter = new \Twig\TwigFilter('rot13', 'SomeClass::rot13Filter');
141
 
142
  // or a class method
143
- $filter = new \Twig\TwigFilter('rot13', [$this, 'rot13Filter']);
144
  // the one below needs a runtime implementation (see below for more information)
145
- $filter = new \Twig\TwigFilter('rot13', ['SomeClass', 'rot13Filter']);
146
 
147
- The first argument passed to the ``\Twig\TwigFilter`` constructor is the name
148
  of the filter you will use in templates and the second one is the PHP callable
149
  to associate with it.
150
 
151
- Then, add the filter to the Twig environment::
152
 
153
- $twig = new \Twig\Environment($loader);
154
  $twig->addFilter($filter);
155
 
156
  And here is how to use it in a template:
157
 
158
- .. code-block:: twig
159
 
160
  {{ 'Twig'|rot13 }}
161
 
@@ -167,7 +168,7 @@ to the filter (within parentheses ``()``) as extra arguments.
167
 
168
  For instance, the following code:
169
 
170
- .. code-block:: twig
171
 
172
  {{ 'TWIG'|lower }}
173
  {{ now|date('d/m/Y') }}
@@ -177,10 +178,10 @@ is compiled to something like the following::