wp-studio 1.7.8-beta2 → 1.7.8-beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.md +33 -0
  2. package/assets/demo.gif +0 -0
  3. package/dist/cli/{_events-BRGCap7g.mjs → _events-C60cNJ1W.mjs} +1 -1
  4. package/dist/cli/{index-9Oz-0bqF.mjs → index-D9syEMMz.mjs} +4 -4
  5. package/dist/cli/{index-CT4S2538.mjs → index-Ru6CUP6w.mjs} +24 -12
  6. package/dist/cli/{login-D4E3GoXe.mjs → login-C3QlGVbr.mjs} +1 -1
  7. package/dist/cli/{logout-DE-RoshK.mjs → logout-B63eZwJZ.mjs} +1 -1
  8. package/dist/cli/main.mjs +2 -1
  9. package/dist/cli/{resume-DLoXmzNG.mjs → resume-DQT_MK6A.mjs} +1 -1
  10. package/dist/cli/{set-B0L-QiXT.mjs → set-C805heQS.mjs} +1 -1
  11. package/dist/cli/{set-B8YYUENH.mjs → set-CjTbueyB.mjs} +1 -1
  12. package/dist/cli/{status-DEOAA0yx.mjs → status-SnKm1rRP.mjs} +1 -1
  13. package/dist/cli/{wp-CobSX6C6.mjs → wp-D0HZdudM.mjs} +1 -1
  14. package/dist/cli/wp-files/sqlite-command/composer.json +4 -3
  15. package/dist/cli/wp-files/sqlite-command/composer.lock +132 -80
  16. package/dist/cli/wp-files/sqlite-command/vendor/autoload.php +1 -1
  17. package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_classmap.php +58 -70
  18. package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_namespaces.php +1 -0
  19. package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_psr4.php +1 -1
  20. package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_real.php +5 -5
  21. package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_static.php +78 -80
  22. package/dist/cli/wp-files/sqlite-command/vendor/composer/installed.json +104 -49
  23. package/dist/cli/wp-files/sqlite-command/vendor/composer/installed.php +29 -16
  24. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/CHANGELOG.md +103 -0
  25. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/Comparator.php +62 -0
  26. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/DateComparator.php +50 -0
  27. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/NumberComparator.php +78 -0
  28. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Exception/AccessDeniedException.php +19 -0
  29. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +19 -0
  30. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Finder.php +851 -0
  31. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Gitignore.php +91 -0
  32. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Glob.php +116 -0
  33. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/CustomFilterIterator.php +61 -0
  34. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +58 -0
  35. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +48 -0
  36. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +110 -0
  37. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +51 -0
  38. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +58 -0
  39. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +45 -0
  40. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/LazyIterator.php +32 -0
  41. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +107 -0
  42. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/PathFilterIterator.php +56 -0
  43. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +134 -0
  44. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +57 -0
  45. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/SortableIterator.php +115 -0
  46. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +173 -0
  47. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/LICENSE +19 -0
  48. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/README.md +14 -0
  49. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/SplFileInfo.php +80 -0
  50. package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/composer.json +31 -0
  51. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/.gitattributes +8 -0
  52. package/dist/cli/wp-files/sqlite-command/vendor/{mustache → wp-cli}/mustache/LICENSE +1 -1
  53. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/README.md +76 -0
  54. package/dist/cli/wp-files/sqlite-command/vendor/{mustache → wp-cli}/mustache/composer.json +6 -16
  55. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/src/Mustache/Autoloader.php +88 -0
  56. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/AbstractCache.php +7 -15
  57. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/FilesystemCache.php +15 -20
  58. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/NoopCache.php +4 -8
  59. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache.php +7 -10
  60. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Compiler.php +87 -144
  61. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Context.php +19 -23
  62. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Engine.php +134 -251
  63. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/InvalidArgumentException.php +2 -6
  64. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/LogicException.php +2 -6
  65. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/RuntimeException.php +2 -6
  66. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/SyntaxException.php +8 -7
  67. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownFilterException.php +7 -7
  68. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownHelperException.php +7 -7
  69. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownTemplateException.php +7 -7
  70. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception.php +5 -4
  71. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/HelperCollection.php +17 -22
  72. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/LambdaHelper.php +8 -28
  73. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/ArrayLoader.php +9 -12
  74. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/CascadingLoader.php +15 -18
  75. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/FilesystemLoader.php +18 -24
  76. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/InlineLoader.php +13 -19
  77. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/MutableLoader.php +7 -4
  78. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/ProductionFilesystemLoader.php +16 -23
  79. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/StringLoader.php +4 -8
  80. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader.php +7 -8
  81. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger/AbstractLogger.php +26 -22
  82. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger/StreamLogger.php +20 -25
  83. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger.php +37 -13
  84. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Parser.php +93 -100
  85. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Source/FilesystemSource.php +7 -11
  86. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Source.php +5 -4
  87. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Template.php +32 -39
  88. package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Tokenizer.php +29 -33
  89. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.actrc +3 -0
  90. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.gitattributes +6 -0
  91. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.mailmap +234 -0
  92. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/README.md +4 -4
  93. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/VERSION +1 -1
  94. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/CHANGELOG.md +0 -65
  95. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/README.md +1 -2
  96. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/certificates/cacert.pem +372 -315
  97. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/certificates/cacert.pem.sha256 +1 -1
  98. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/composer.json +5 -7
  99. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Iri.php +18 -20
  100. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Requests.php +1 -1
  101. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Response/Headers.php +1 -1
  102. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Transport/Curl.php +1 -5
  103. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Transport/Fsockopen.php +0 -2
  104. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Utility/CaseInsensitiveDictionary.php +0 -12
  105. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Utility/FilteredIterator.php +2 -2
  106. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/composer.json +13 -30
  107. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/dependencies.yml +6 -0
  108. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/manifest.json +1 -1
  109. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Autoloader.php +2 -4
  110. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/AutoloaderStep.php +1 -10
  111. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/CheckRoot.php +2 -20
  112. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/DefineProtectedCommands.php +3 -3
  113. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeFrameworkAutoloader.php +4 -3
  114. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeRequestsAutoloader.php +3 -4
  115. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeContexts.php +0 -3
  116. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeLogger.php +1 -1
  117. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php +3 -6
  118. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/{RegisterShutdownHandler.php → LoadDispatcher.php} +4 -6
  119. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadRequiredCommand.php +5 -9
  120. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadUtilityFunctions.php +0 -1
  121. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Completions.php +6 -149
  122. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Configurator.php +49 -202
  123. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Admin.php +21 -113
  124. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Auto.php +1 -1
  125. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Cli.php +1 -0
  126. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Frontend.php +1 -0
  127. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php +26 -63
  128. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php +9 -19
  129. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php +19 -284
  130. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/DocParser.php +5 -17
  131. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Exception/NonExistentKeyException.php +3 -6
  132. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Extractor.php +54 -30
  133. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Base.php +3 -7
  134. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Comment.php +2 -4
  135. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Post.php +3 -8
  136. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Signup.php +1 -3
  137. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Site.php +4 -12
  138. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/User.php +1 -3
  139. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/FileCache.php +33 -135
  140. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Formatter.php +57 -221
  141. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Inflector.php +4 -4
  142. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/CSV.php +1 -6
  143. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Query.php +1 -3
  144. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Table.php +1 -7
  145. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Transform.php +0 -2
  146. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php +0 -15
  147. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Quiet.php +3 -2
  148. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php +3 -4
  149. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/NoOp.php +0 -4
  150. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Process.php +7 -40
  151. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/RequestsLibrary.php +1 -4
  152. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php +234 -795
  153. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/SynopsisParser.php +26 -116
  154. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/SynopsisValidator.php +1 -1
  155. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Traverser/RecursiveDataStructureTraverser.php +26 -69
  156. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php +1 -1
  157. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/WpHttpCacheManager.php +5 -67
  158. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/WpOrgApi.php +3 -3
  159. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/boot-fs.php +2 -2
  160. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/bootstrap.php +2 -5
  161. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/class-wp-cli.php +62 -311
  162. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Alias_Command.php +60 -292
  163. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Cache_Command.php +1 -1
  164. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Command.php +31 -191
  165. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/Help_Command.php +35 -177
  166. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/config-spec.php +4 -28
  167. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/utils-wp.php +47 -81
  168. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/utils.php +200 -512
  169. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/wp-cli.php +2 -2
  170. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/wp-settings-cli.php +465 -0
  171. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/templates/man-params.mustache +4 -0
  172. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/templates/man.mustache +0 -8
  173. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ArgValidationTest.php +74 -0
  174. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/CommandFactoryTest.php +420 -0
  175. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ConfiguratorTest.php +87 -0
  176. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/DocParserTest.php +213 -0
  177. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ExtractorTest.php +293 -0
  178. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/FileCacheTest.php +207 -0
  179. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/HelpTest.php +119 -0
  180. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/InflectorTest.php +37 -0
  181. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/LoggingTest.php +124 -0
  182. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ProcessTest.php +30 -0
  183. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/SynopsisParserTest.php +194 -0
  184. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/UtilsTest.php +1092 -0
  185. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WPCLITest.php +16 -0
  186. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/Iterators/CSVTest.php +109 -0
  187. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/Traversers/RecursiveDataStructureTraverserTest.php +151 -0
  188. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/WpOrgApiTest.php +166 -0
  189. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WpVersionCompareTest.php +78 -0
  190. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/bootstrap.php +17 -0
  191. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class-win.php +70 -0
  192. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class.php +70 -0
  193. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-function-win.php +19 -0
  194. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-function.php +19 -0
  195. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/bar.ab2 +0 -0
  196. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ab1 +0 -0
  197. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ac1 +0 -0
  198. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.efg2 +0 -0
  199. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab1 +0 -0
  200. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab2 +0 -0
  201. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg1 +0 -0
  202. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg2 +0 -0
  203. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/mock-requests-transport.php +34 -0
  204. package/dist/cli/wp-files/sqlite-command/version +1 -1
  205. package/package.json +4 -3
  206. package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/.php-cs-fixer.php +0 -20
  207. package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/README.md +0 -94
  208. package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/src/RenderedString.php +0 -51
  209. package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/src/compat.php +0 -282
  210. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.typos.toml +0 -14
  211. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/AGENTS.md +0 -121
  212. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/proxy.py +0 -5
  213. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/start.sh +0 -19
  214. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/stop.sh +0 -10
  215. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Path.php +0 -260
  216. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/ShutdownHandler.php +0 -329
  217. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/schemas/wp-cli-config.json +0 -218
  218. package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/schemas/wp-cli.example.yml +0 -55
  219. /package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/{codecov.yml → tests/data/expand_globs/bar.ab1} +0 -0
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Invalid argument exception.
18
14
  */
19
- class InvalidArgumentException extends \InvalidArgumentException implements Exception
15
+ class Mustache_Exception_InvalidArgumentException extends InvalidArgumentException implements Mustache_Exception
20
16
  {
21
17
  // This space intentionally left blank.
22
18
  }
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Logic exception.
18
14
  */
19
- class LogicException extends \LogicException implements Exception
15
+ class Mustache_Exception_LogicException extends LogicException implements Mustache_Exception
20
16
  {
21
17
  // This space intentionally left blank.
22
18
  }
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Runtime exception.
18
14
  */
19
- class RuntimeException extends \RuntimeException implements Exception
15
+ class Mustache_Exception_RuntimeException extends RuntimeException implements Mustache_Exception
20
16
  {
21
17
  // This space intentionally left blank.
22
18
  }
@@ -3,31 +3,32 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Mustache syntax exception.
18
14
  */
19
- class SyntaxException extends LogicException implements Exception
15
+ class Mustache_Exception_SyntaxException extends LogicException implements Mustache_Exception
20
16
  {
21
17
  protected $token;
22
18
 
23
19
  /**
24
20
  * @param string $msg
21
+ * @param array $token
25
22
  * @param Exception $previous
26
23
  */
27
24
  public function __construct($msg, array $token, $previous = null)
28
25
  {
29
26
  $this->token = $token;
30
- parent::__construct($msg, 0, $previous);
27
+ if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28
+ parent::__construct($msg, 0, $previous);
29
+ } else {
30
+ parent::__construct($msg); // @codeCoverageIgnore
31
+ }
31
32
  }
32
33
 
33
34
  /**
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Unknown filter exception.
18
14
  */
19
- class UnknownFilterException extends \UnexpectedValueException implements Exception
15
+ class Mustache_Exception_UnknownFilterException extends UnexpectedValueException implements Mustache_Exception
20
16
  {
21
17
  protected $filterName;
22
18
 
@@ -28,7 +24,11 @@ class UnknownFilterException extends \UnexpectedValueException implements Except
28
24
  {
29
25
  $this->filterName = $filterName;
30
26
  $message = sprintf('Unknown filter: %s', $filterName);
31
- parent::__construct($message, 0, $previous);
27
+ if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28
+ parent::__construct($message, 0, $previous);
29
+ } else {
30
+ parent::__construct($message); // @codeCoverageIgnore
31
+ }
32
32
  }
33
33
 
34
34
  public function getFilterName()
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Unknown helper exception.
18
14
  */
19
- class UnknownHelperException extends InvalidArgumentException implements Exception
15
+ class Mustache_Exception_UnknownHelperException extends InvalidArgumentException implements Mustache_Exception
20
16
  {
21
17
  protected $helperName;
22
18
 
@@ -28,7 +24,11 @@ class UnknownHelperException extends InvalidArgumentException implements Excepti
28
24
  {
29
25
  $this->helperName = $helperName;
30
26
  $message = sprintf('Unknown helper: %s', $helperName);
31
- parent::__construct($message, 0, $previous);
27
+ if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28
+ parent::__construct($message, 0, $previous);
29
+ } else {
30
+ parent::__construct($message); // @codeCoverageIgnore
31
+ }
32
32
  }
33
33
 
34
34
  public function getHelperName()
@@ -3,20 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Exception;
13
-
14
- use Mustache\Exception;
15
-
16
12
  /**
17
13
  * Unknown template exception.
18
14
  */
19
- class UnknownTemplateException extends InvalidArgumentException implements Exception
15
+ class Mustache_Exception_UnknownTemplateException extends InvalidArgumentException implements Mustache_Exception
20
16
  {
21
17
  protected $templateName;
22
18
 
@@ -28,7 +24,11 @@ class UnknownTemplateException extends InvalidArgumentException implements Excep
28
24
  {
29
25
  $this->templateName = $templateName;
30
26
  $message = sprintf('Unknown template: %s', $templateName);
31
- parent::__construct($message, 0, $previous);
27
+ if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28
+ parent::__construct($message, 0, $previous);
29
+ } else {
30
+ parent::__construct($message); // @codeCoverageIgnore
31
+ }
32
32
  }
33
33
 
34
34
  public function getTemplateName()
@@ -3,15 +3,16 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache;
13
-
14
- interface Exception
12
+ /**
13
+ * A Mustache Exception interface.
14
+ */
15
+ interface Mustache_Exception
15
16
  {
16
17
  // This space intentionally left blank.
17
18
  }
@@ -3,32 +3,27 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache;
13
-
14
- use Mustache\Exception\InvalidArgumentException;
15
- use Mustache\Exception\UnknownHelperException;
16
-
17
12
  /**
18
13
  * A collection of helpers for a Mustache instance.
19
14
  */
20
- class HelperCollection
15
+ class Mustache_HelperCollection
21
16
  {
22
- private $helpers = [];
17
+ private $helpers = array();
23
18
 
24
19
  /**
25
20
  * Helper Collection constructor.
26
21
  *
27
- * Optionally accepts an array (or \Traversable) of `$name => $helper` pairs.
22
+ * Optionally accepts an array (or Traversable) of `$name => $helper` pairs.
28
23
  *
29
- * @throws InvalidArgumentException if the $helpers argument isn't an array or \Traversable
24
+ * @throws Mustache_Exception_InvalidArgumentException if the $helpers argument isn't an array or Traversable
30
25
  *
31
- * @param array|\Traversable $helpers (default: null)
26
+ * @param array|Traversable $helpers (default: null)
32
27
  */
33
28
  public function __construct($helpers = null)
34
29
  {
@@ -36,8 +31,8 @@ class HelperCollection
36
31
  return;
37
32
  }
38
33
 
39
- if (!is_array($helpers) && !$helpers instanceof \Traversable) {
40
- throw new InvalidArgumentException('HelperCollection constructor expects an array of helpers');
34
+ if (!is_array($helpers) && !$helpers instanceof Traversable) {
35
+ throw new Mustache_Exception_InvalidArgumentException('HelperCollection constructor expects an array of helpers');
41
36
  }
42
37
 
43
38
  foreach ($helpers as $name => $helper) {
@@ -48,7 +43,7 @@ class HelperCollection
48
43
  /**
49
44
  * Magic mutator.
50
45
  *
51
- * @see Mustache\HelperCollection::add
46
+ * @see Mustache_HelperCollection::add
52
47
  *
53
48
  * @param string $name
54
49
  * @param mixed $helper
@@ -72,7 +67,7 @@ class HelperCollection
72
67
  /**
73
68
  * Magic accessor.
74
69
  *
75
- * @see Mustache\HelperCollection::get
70
+ * @see Mustache_HelperCollection::get
76
71
  *
77
72
  * @param string $name
78
73
  *
@@ -86,7 +81,7 @@ class HelperCollection
86
81
  /**
87
82
  * Get a helper by name.
88
83
  *
89
- * @throws UnknownHelperException If helper does not exist
84
+ * @throws Mustache_Exception_UnknownHelperException If helper does not exist
90
85
  *
91
86
  * @param string $name
92
87
  *
@@ -95,7 +90,7 @@ class HelperCollection
95
90
  public function get($name)
96
91
  {
97
92
  if (!$this->has($name)) {
98
- throw new UnknownHelperException($name);
93
+ throw new Mustache_Exception_UnknownHelperException($name);
99
94
  }
100
95
 
101
96
  return $this->helpers[$name];
@@ -104,7 +99,7 @@ class HelperCollection
104
99
  /**
105
100
  * Magic isset().
106
101
  *
107
- * @see Mustache\HelperCollection::has
102
+ * @see Mustache_HelperCollection::has
108
103
  *
109
104
  * @param string $name
110
105
  *
@@ -130,7 +125,7 @@ class HelperCollection
130
125
  /**
131
126
  * Magic unset().
132
127
  *
133
- * @see Mustache\HelperCollection::remove
128
+ * @see Mustache_HelperCollection::remove
134
129
  *
135
130
  * @param string $name
136
131
  */
@@ -142,14 +137,14 @@ class HelperCollection
142
137
  /**
143
138
  * Check whether a given helper is present in the collection.
144
139
  *
145
- * @throws UnknownHelperException if the requested helper is not present
140
+ * @throws Mustache_Exception_UnknownHelperException if the requested helper is not present
146
141
  *
147
142
  * @param string $name
148
143
  */
149
144
  public function remove($name)
150
145
  {
151
146
  if (!$this->has($name)) {
152
- throw new UnknownHelperException($name);
147
+ throw new Mustache_Exception_UnknownHelperException($name);
153
148
  }
154
149
 
155
150
  unset($this->helpers[$name]);
@@ -162,7 +157,7 @@ class HelperCollection
162
157
  */
163
158
  public function clear()
164
159
  {
165
- $this->helpers = [];
160
+ $this->helpers = array();
166
161
  }
167
162
 
168
163
  /**
@@ -3,14 +3,12 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache;
13
-
14
12
  /**
15
13
  * Mustache Lambda Helper.
16
14
  *
@@ -18,7 +16,7 @@ namespace Mustache;
18
16
  * giving them access to a `render` method for rendering a string with the
19
17
  * current context.
20
18
  */
21
- class LambdaHelper
19
+ class Mustache_LambdaHelper
22
20
  {
23
21
  private $mustache;
24
22
  private $context;
@@ -27,11 +25,11 @@ class LambdaHelper
27
25
  /**
28
26
  * Mustache Lambda Helper constructor.
29
27
  *
30
- * @param Engine $mustache Mustache engine instance
31
- * @param Context $context Rendering context
32
- * @param string $delims Optional custom delimiters, in the format `{{= <% %> =}}`. (default: null)
28
+ * @param Mustache_Engine $mustache Mustache engine instance
29
+ * @param Mustache_Context $context Rendering context
30
+ * @param string $delims Optional custom delimiters, in the format `{{= <% %> =}}`. (default: null)
33
31
  */
34
- public function __construct(Engine $mustache, Context $context, $delims = null)
32
+ public function __construct(Mustache_Engine $mustache, Mustache_Context $context, $delims = null)
35
33
  {
36
34
  $this->mustache = $mustache;
37
35
  $this->context = $context;
@@ -47,27 +45,9 @@ class LambdaHelper
47
45
  */
48
46
  public function render($string)
49
47
  {
50
- $value = $this->mustache
48
+ return $this->mustache
51
49
  ->loadLambda((string) $string, $this->delims)
52
50
  ->renderInternal($this->context);
53
-
54
- return $this->mustache->getDoubleRenderLambdas() ? $value : $this->preventRender($value);
55
- }
56
-
57
- /**
58
- * Prevent rendering of a string as a Mustache template.
59
- *
60
- * This is useful for returning a raw string from a lambda without processing it as a Mustache template.
61
- *
62
- * @see RenderedString
63
- *
64
- * @param string $value The raw string value to return
65
- *
66
- * @return RenderedString A RenderedString instance containing the raw value
67
- */
68
- public function preventRender($value)
69
- {
70
- return new RenderedString($value);
71
51
  }
72
52
 
73
53
  /**
@@ -87,7 +67,7 @@ class LambdaHelper
87
67
  *
88
68
  * @param string $delims Custom delimiters, in the format `{{= <% %> =}}`
89
69
  *
90
- * @return LambdaHelper
70
+ * @return Mustache_LambdaHelper
91
71
  */
92
72
  public function withDelimiters($delims)
93
73
  {
@@ -3,17 +3,12 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Loader;
13
-
14
- use Mustache\Exception\UnknownTemplateException;
15
- use Mustache\Loader;
16
-
17
12
  /**
18
13
  * Mustache Template array Loader implementation.
19
14
  *
@@ -26,19 +21,19 @@ use Mustache\Loader;
26
21
  *
27
22
  * $tpl = $loader->load('foo'); // '{{ bar }}'
28
23
  *
29
- * The ArrayLoader is used internally as a partials loader by Mustache\Engine instance when an array of partials
24
+ * The ArrayLoader is used internally as a partials loader by Mustache_Engine instance when an array of partials
30
25
  * is set. It can also be used as a quick-and-dirty Template loader.
31
26
  */
32
- class ArrayLoader implements Loader, MutableLoader
27
+ class Mustache_Loader_ArrayLoader implements Mustache_Loader, Mustache_Loader_MutableLoader
33
28
  {
34
29
  private $templates;
35
30
 
36
31
  /**
37
32
  * ArrayLoader constructor.
38
33
  *
39
- * @param array $templates Associative array of Template source (default: [])
34
+ * @param array $templates Associative array of Template source (default: array())
40
35
  */
41
- public function __construct(array $templates = [])
36
+ public function __construct(array $templates = array())
42
37
  {
43
38
  $this->templates = $templates;
44
39
  }
@@ -46,7 +41,7 @@ class ArrayLoader implements Loader, MutableLoader
46
41
  /**
47
42
  * Load a Template.
48
43
  *
49
- * @throws UnknownTemplateException If a template file is not found
44
+ * @throws Mustache_Exception_UnknownTemplateException If a template file is not found
50
45
  *
51
46
  * @param string $name
52
47
  *
@@ -55,7 +50,7 @@ class ArrayLoader implements Loader, MutableLoader
55
50
  public function load($name)
56
51
  {
57
52
  if (!isset($this->templates[$name])) {
58
- throw new UnknownTemplateException($name);
53
+ throw new Mustache_Exception_UnknownTemplateException($name);
59
54
  }
60
55
 
61
56
  return $this->templates[$name];
@@ -63,6 +58,8 @@ class ArrayLoader implements Loader, MutableLoader
63
58
 
64
59
  /**
65
60
  * Set an associative array of Template sources for this loader.
61
+ *
62
+ * @param array $templates
66
63
  */
67
64
  public function setTemplates(array $templates)
68
65
  {
@@ -3,38 +3,33 @@
3
3
  /*
4
4
  * This file is part of Mustache.php.
5
5
  *
6
- * (c) 2010-2025 Justin Hileman
6
+ * (c) 2010-2017 Justin Hileman
7
7
  *
8
8
  * For the full copyright and license information, please view the LICENSE
9
9
  * file that was distributed with this source code.
10
10
  */
11
11
 
12
- namespace Mustache\Loader;
13
-
14
- use Mustache\Exception\UnknownTemplateException;
15
- use Mustache\Loader;
16
-
17
12
  /**
18
13
  * A Mustache Template cascading loader implementation, which delegates to other
19
14
  * Loader instances.
20
15
  */
21
- class CascadingLoader implements Loader
16
+ class Mustache_Loader_CascadingLoader implements Mustache_Loader
22
17
  {
23
18
  private $loaders;
24
19
 
25
20
  /**
26
21
  * Construct a CascadingLoader with an array of loaders.
27
22
  *
28
- * $loader = new CascadingLoader([
29
- * new InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__),
30
- * new FilesystemLoader(__DIR__.'/templates')
31
- * ]);
23
+ * $loader = new Mustache_Loader_CascadingLoader(array(
24
+ * new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__),
25
+ * new Mustache_Loader_FilesystemLoader(__DIR__.'/templates')
26
+ * ));
32
27
  *
33
- * @param Loader[] $loaders
28
+ * @param Mustache_Loader[] $loaders
34
29
  */
35
- public function __construct(array $loaders = [])
30
+ public function __construct(array $loaders = array())
36
31
  {
37
- $this->loaders = [];
32
+ $this->loaders = array();
38
33
  foreach ($loaders as $loader) {
39
34
  $this->addLoader($loader);
40
35
  }
@@ -42,8 +37,10 @@ class CascadingLoader implements Loader
42
37
 
43
38
  /**
44
39
  * Add a Loader instance.
40
+ *
41
+ * @param Mustache_Loader $loader
45
42
  */
46
- public function addLoader(Loader $loader)
43
+ public function addLoader(Mustache_Loader $loader)
47
44
  {
48
45
  $this->loaders[] = $loader;
49
46
  }
@@ -51,7 +48,7 @@ class CascadingLoader implements Loader
51
48
  /**
52
49
  * Load a Template by name.
53
50
  *
54
- * @throws UnknownTemplateException If a template file is not found
51
+ * @throws Mustache_Exception_UnknownTemplateException If a template file is not found
55
52
  *
56
53
  * @param string $name
57
54
  *
@@ -62,11 +59,11 @@ class CascadingLoader implements Loader
62
59
  foreach ($this->loaders as $loader) {
63
60
  try {
64
61
  return $loader->load($name);
65
- } catch (UnknownTemplateException $e) {
62
+ } catch (Mustache_Exception_UnknownTemplateException $e) {
66
63
  // do nothing, check the next loader.
67
64
  }
68
65
  }
69
66
 
70
- throw new UnknownTemplateException($name);
67
+ throw new Mustache_Exception_UnknownTemplateException($name);
71
68
  }
72
69
  }