gulp-phug 1.3.4 → 1.3.5

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 (260) hide show
  1. package/index.js +23 -8
  2. package/package.json +4 -4
  3. package/support/composer.json +1 -1
  4. package/support/composer.lock +93 -178
  5. package/support/vendor/autoload.php +15 -0
  6. package/support/vendor/bin/phug +119 -0
  7. package/support/vendor/bin/var-dump-server +119 -0
  8. package/support/vendor/composer/ClassLoader.php +166 -32
  9. package/support/vendor/composer/InstalledVersions.php +387 -329
  10. package/support/vendor/composer/autoload_classmap.php +1 -5
  11. package/support/vendor/composer/autoload_files.php +2 -3
  12. package/support/vendor/composer/autoload_namespaces.php +1 -1
  13. package/support/vendor/composer/autoload_psr4.php +3 -4
  14. package/support/vendor/composer/autoload_real.php +12 -37
  15. package/support/vendor/composer/autoload_static.php +6 -17
  16. package/support/vendor/composer/installed.json +97 -184
  17. package/support/vendor/composer/installed.php +129 -151
  18. package/support/vendor/composer/platform_check.php +16 -4
  19. package/support/vendor/phug/phug/.github/workflows/coverage.yml +71 -0
  20. package/support/vendor/phug/phug/.github/workflows/multi-tester.yml +46 -0
  21. package/support/vendor/phug/phug/.github/workflows/split.yml +41 -0
  22. package/support/vendor/phug/phug/.github/workflows/style.yml +48 -0
  23. package/support/vendor/phug/phug/.github/workflows/tests.yml +49 -0
  24. package/support/vendor/phug/phug/.multi-tester.yml +42 -10
  25. package/support/vendor/phug/phug/composer.json +25 -16
  26. package/support/vendor/phug/phug/phpcs.xml +4 -0
  27. package/support/vendor/phug/phug/phpunit.xml +2 -0
  28. package/support/vendor/phug/phug/phug +1 -1
  29. package/support/vendor/phug/phug/release.php +8 -0
  30. package/support/vendor/phug/phug/src/Phug/Ast/Ast/Node.php +7 -1
  31. package/support/vendor/phug/phug/src/Phug/Ast/composer.json +1 -2
  32. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/Element/BlockElement.php +1 -1
  33. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/NodeCompiler/AssignmentNodeCompiler.php +9 -1
  34. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/NodeCompiler/AttributeNodeCompiler.php +1 -0
  35. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/NodeCompiler/ElementNodeCompiler.php +6 -0
  36. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/NodeCompiler/ImportNodeCompiler.php +4 -4
  37. package/support/vendor/phug/phug/src/Phug/Compiler/Compiler/NodeCompilerInterface.php +1 -1
  38. package/support/vendor/phug/phug/src/Phug/Compiler/composer.json +5 -2
  39. package/support/vendor/phug/phug/src/Phug/DependencyInjection/DependencyInjection.php +1 -1
  40. package/support/vendor/phug/phug/src/Phug/DependencyInjection/composer.json +1 -2
  41. package/support/vendor/phug/phug/src/Phug/Event/Event/ListenerQueue.php +3 -0
  42. package/support/vendor/phug/phug/src/Phug/Event/EventManagerTrait.php +1 -1
  43. package/support/vendor/phug/phug/src/Phug/Event/composer.json +1 -2
  44. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/AbstractFormat.php +15 -12
  45. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/AssignmentContainerInterface.php +2 -1
  46. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/AbstractAssignmentContainerElement.php +11 -1
  47. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/AbstractMarkupElement.php +1 -1
  48. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/AssignmentElement.php +9 -4
  49. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/AttributeElement.php +4 -1
  50. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/CodeElement.php +2 -2
  51. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/MarkupElement.php +10 -8
  52. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/MixinCallElement.php +2 -1
  53. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Element/MixinElement.php +2 -1
  54. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Format/XmlFormat.php +213 -20
  55. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Partial/AssignmentHelpersTrait.php +7 -4
  56. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Partial/HandleVariable.php +4 -4
  57. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter/Partial/MagicAccessorTrait.php +1 -7
  58. package/support/vendor/phug/phug/src/Phug/Formatter/Formatter.php +1 -1
  59. package/support/vendor/phug/phug/src/Phug/Formatter/composer.json +1 -2
  60. package/support/vendor/phug/phug/src/Phug/Invoker/Invoker.php +1 -1
  61. package/support/vendor/phug/phug/src/Phug/Invoker/composer.json +5 -2
  62. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Partial/IndentStyleTrait.php +5 -5
  63. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/AssignmentScanner.php +8 -2
  64. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/AttributeScanner.php +23 -11
  65. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/ConditionalScanner.php +1 -1
  66. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/FilterScanner.php +6 -10
  67. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/IndentationScanner.php +1 -1
  68. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/KeywordScanner.php +1 -1
  69. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/MultilineScanner.php +6 -12
  70. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/Partial/TrailingOutdentHandlerTrait.php +26 -0
  71. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/Scanner/TextScanner.php +3 -3
  72. package/support/vendor/phug/phug/src/Phug/Lexer/Lexer/State.php +9 -9
  73. package/support/vendor/phug/phug/src/Phug/Lexer/composer.json +1 -2
  74. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Event/NodeEvent.php +3 -2
  75. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/AssignmentNode.php +5 -1
  76. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/AttributeNode.php +4 -1
  77. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/ElementNode.php +5 -1
  78. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/FilterNode.php +2 -1
  79. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/MixinCallNode.php +5 -1
  80. package/support/vendor/phug/phug/src/Phug/Parser/Parser/Node/MixinNode.php +5 -1
  81. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AbstractTokenHandler.php +87 -0
  82. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AssignmentTokenHandler.php +6 -21
  83. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AttributeEndTokenHandler.php +5 -10
  84. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AttributeStartTokenHandler.php +7 -23
  85. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AttributeTokenHandler.php +21 -19
  86. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/AutoCloseTokenHandler.php +5 -17
  87. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/BlockTokenHandler.php +4 -10
  88. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/CaseTokenHandler.php +4 -10
  89. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ClassTokenHandler.php +7 -34
  90. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/CodeTokenHandler.php +4 -10
  91. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/CommentTokenHandler.php +4 -10
  92. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ConditionalTokenHandler.php +4 -10
  93. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/DoTokenHandler.php +4 -10
  94. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/DoctypeTokenHandler.php +4 -10
  95. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/EachTokenHandler.php +4 -10
  96. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ExpansionTokenHandler.php +5 -11
  97. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ExpressionTokenHandler.php +4 -10
  98. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/FilterTokenHandler.php +4 -10
  99. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ForTokenHandler.php +4 -10
  100. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/IdTokenHandler.php +7 -33
  101. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/ImportTokenHandler.php +14 -20
  102. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/IndentTokenHandler.php +4 -10
  103. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/InterpolationEndTokenHandler.php +4 -10
  104. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/InterpolationStartTokenHandler.php +29 -30
  105. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/KeywordTokenHandler.php +4 -10
  106. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/MixinCallTokenHandler.php +4 -10
  107. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/MixinTokenHandler.php +4 -10
  108. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/NewLineTokenHandler.php +4 -10
  109. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/OutdentTokenHandler.php +4 -10
  110. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/Partial/StaticAttributeTrait.php +36 -0
  111. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/TagInterpolationEndTokenHandler.php +4 -10
  112. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/TagInterpolationStartTokenHandler.php +7 -10
  113. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/TagTokenHandler.php +6 -21
  114. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/TextTokenHandler.php +4 -10
  115. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/VariableTokenHandler.php +4 -10
  116. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/WhenTokenHandler.php +4 -10
  117. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/WhileTokenHandler.php +4 -10
  118. package/support/vendor/phug/phug/src/Phug/Parser/Parser/TokenHandler/YieldTokenHandler.php +4 -10
  119. package/support/vendor/phug/phug/src/Phug/Parser/Parser.php +1 -1
  120. package/support/vendor/phug/phug/src/Phug/Parser/composer.json +1 -2
  121. package/support/vendor/phug/phug/src/Phug/Phug/Phug/Cli.php +5 -5
  122. package/support/vendor/phug/phug/src/Phug/Phug/Phug/Partial/ExtensionsTrait.php +1 -1
  123. package/support/vendor/phug/phug/src/Phug/Phug/Phug/Partial/FacadeOptionsTrait.php +1 -1
  124. package/support/vendor/phug/phug/src/Phug/Phug/Phug/Phug.php +14 -5
  125. package/support/vendor/phug/phug/src/Phug/Phug/composer.json +5 -2
  126. package/support/vendor/phug/phug/src/Phug/Reader/Reader.php +9 -9
  127. package/support/vendor/phug/phug/src/Phug/Reader/composer.json +4 -0
  128. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/FileAdapter.php +21 -4
  129. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/Stream/Template.php +5 -0
  130. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/StreamAdapter.php +1 -1
  131. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/CacheInterface.php +1 -1
  132. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php +1 -1
  133. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/Debug/DebuggerTrait.php +56 -10
  134. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/RendererOptionsTrait.php +1 -1
  135. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Profiler/Dump.php +1 -1
  136. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Profiler/LinkDump.php +2 -2
  137. package/support/vendor/phug/phug/src/Phug/Renderer/Renderer/Profiler/ProfilerModule.php +1 -1
  138. package/support/vendor/phug/phug/src/Phug/Renderer/composer.json +7 -3
  139. package/support/vendor/phug/phug/src/Phug/Util/CompatibilityUtil/TestCaseTyped.php +67 -0
  140. package/support/vendor/phug/phug/src/Phug/Util/CompatibilityUtil/TestCaseUntyped.php +67 -0
  141. package/support/vendor/phug/phug/src/Phug/Util/Util/AttributesInterface.php +16 -0
  142. package/support/vendor/phug/phug/src/Phug/Util/Util/AttributesOrderInterface.php +17 -0
  143. package/support/vendor/phug/phug/src/Phug/Util/Util/AttributesStorage.php +44 -0
  144. package/support/vendor/phug/phug/src/Phug/Util/Util/Collection.php +2 -0
  145. package/support/vendor/phug/phug/src/Phug/Util/Util/OrderableInterface.php +22 -0
  146. package/support/vendor/phug/phug/src/Phug/Util/Util/OrderedValue.php +25 -0
  147. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/AttributeTrait.php +2 -1
  148. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/AttributesOrderTrait.php +19 -0
  149. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/ModuleContainerTrait.php +3 -3
  150. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/OptionTrait.php +1 -1
  151. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/OrderTrait.php +27 -0
  152. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/StaticMemberTrait.php +1 -1
  153. package/support/vendor/phug/phug/src/Phug/Util/Util/Partial/ValueTrait.php +5 -3
  154. package/support/vendor/phug/phug/src/Phug/Util/Util/SandBox.php +1 -0
  155. package/support/vendor/phug/phug/src/Phug/Util/Util/TestCase.php +47 -4
  156. package/support/vendor/phug/phug/src/Phug/Util/composer.json +5 -6
  157. package/support/vendor/symfony/deprecation-contracts/CHANGELOG.md +5 -0
  158. package/support/vendor/symfony/{polyfill-php72 → deprecation-contracts}/LICENSE +1 -1
  159. package/support/vendor/symfony/deprecation-contracts/README.md +26 -0
  160. package/support/vendor/symfony/{polyfill-php72 → deprecation-contracts}/composer.json +9 -9
  161. package/support/vendor/symfony/deprecation-contracts/function.php +27 -0
  162. package/support/vendor/symfony/polyfill-mbstring/LICENSE +1 -1
  163. package/support/vendor/symfony/polyfill-mbstring/Mbstring.php +256 -57
  164. package/support/vendor/symfony/polyfill-mbstring/README.md +1 -1
  165. package/support/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -0
  166. package/support/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1 -1
  167. package/support/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +102 -27
  168. package/support/vendor/symfony/polyfill-mbstring/bootstrap.php +33 -8
  169. package/support/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -0
  170. package/support/vendor/symfony/polyfill-mbstring/composer.json +5 -4
  171. package/support/vendor/symfony/var-dumper/CHANGELOG.md +63 -0
  172. package/support/vendor/symfony/var-dumper/Caster/AddressInfoCaster.php +82 -0
  173. package/support/vendor/symfony/var-dumper/Caster/AmqpCaster.php +12 -10
  174. package/support/vendor/symfony/var-dumper/Caster/ArgsStub.php +6 -7
  175. package/support/vendor/symfony/var-dumper/Caster/Caster.php +59 -31
  176. package/support/vendor/symfony/var-dumper/Caster/ClassStub.php +7 -9
  177. package/support/vendor/symfony/var-dumper/Caster/ConstStub.php +20 -4
  178. package/support/vendor/symfony/var-dumper/Caster/CurlCaster.php +31 -0
  179. package/support/vendor/symfony/var-dumper/Caster/CutArrayStub.php +1 -1
  180. package/support/vendor/symfony/var-dumper/Caster/CutStub.php +2 -2
  181. package/support/vendor/symfony/var-dumper/Caster/DOMCaster.php +61 -156
  182. package/support/vendor/symfony/var-dumper/Caster/DateCaster.php +27 -26
  183. package/support/vendor/symfony/var-dumper/Caster/DoctrineCaster.php +6 -4
  184. package/support/vendor/symfony/var-dumper/Caster/DsCaster.php +1 -1
  185. package/support/vendor/symfony/var-dumper/Caster/DsPairStub.php +1 -1
  186. package/support/vendor/symfony/var-dumper/Caster/EnumStub.php +4 -5
  187. package/support/vendor/symfony/var-dumper/Caster/ExceptionCaster.php +64 -49
  188. package/support/vendor/symfony/var-dumper/Caster/FFICaster.php +171 -0
  189. package/support/vendor/symfony/var-dumper/Caster/FiberCaster.php +43 -0
  190. package/support/vendor/symfony/var-dumper/Caster/FrameStub.php +6 -8
  191. package/support/vendor/symfony/var-dumper/Caster/GdCaster.php +30 -0
  192. package/support/vendor/symfony/var-dumper/Caster/GmpCaster.php +4 -2
  193. package/support/vendor/symfony/var-dumper/Caster/ImagineCaster.php +2 -0
  194. package/support/vendor/symfony/var-dumper/Caster/ImgStub.php +1 -1
  195. package/support/vendor/symfony/var-dumper/Caster/IntlCaster.php +10 -8
  196. package/support/vendor/symfony/var-dumper/Caster/LinkStub.php +14 -17
  197. package/support/vendor/symfony/var-dumper/Caster/MemcachedCaster.php +10 -8
  198. package/support/vendor/symfony/var-dumper/Caster/MysqliCaster.php +33 -0
  199. package/support/vendor/symfony/var-dumper/Caster/OpenSSLCaster.php +69 -0
  200. package/support/vendor/symfony/var-dumper/Caster/PdoCaster.php +8 -6
  201. package/support/vendor/symfony/var-dumper/Caster/PgSqlCaster.php +21 -19
  202. package/support/vendor/symfony/var-dumper/Caster/ProxyManagerCaster.php +4 -2
  203. package/support/vendor/symfony/var-dumper/Caster/RdKafkaCaster.php +188 -0
  204. package/support/vendor/symfony/var-dumper/Caster/RedisCaster.php +31 -31
  205. package/support/vendor/symfony/var-dumper/Caster/ReflectionCaster.php +100 -44
  206. package/support/vendor/symfony/var-dumper/Caster/ResourceCaster.php +33 -46
  207. package/support/vendor/symfony/var-dumper/Caster/ScalarStub.php +27 -0
  208. package/support/vendor/symfony/var-dumper/Caster/SocketCaster.php +64 -0
  209. package/support/vendor/symfony/var-dumper/Caster/SplCaster.php +57 -44
  210. package/support/vendor/symfony/var-dumper/Caster/SqliteCaster.php +32 -0
  211. package/support/vendor/symfony/var-dumper/Caster/StubCaster.php +15 -5
  212. package/support/vendor/symfony/var-dumper/Caster/SymfonyCaster.php +66 -10
  213. package/support/vendor/symfony/var-dumper/Caster/TraceStub.php +7 -11
  214. package/support/vendor/symfony/var-dumper/Caster/UninitializedStub.php +25 -0
  215. package/support/vendor/symfony/var-dumper/Caster/UuidCaster.php +2 -0
  216. package/support/vendor/symfony/var-dumper/Caster/VirtualStub.php +21 -0
  217. package/support/vendor/symfony/var-dumper/Caster/XmlReaderCaster.php +25 -10
  218. package/support/vendor/symfony/var-dumper/Caster/XmlResourceCaster.php +7 -5
  219. package/support/vendor/symfony/var-dumper/Cloner/AbstractCloner.php +103 -72
  220. package/support/vendor/symfony/var-dumper/Cloner/ClonerInterface.php +1 -5
  221. package/support/vendor/symfony/var-dumper/Cloner/Cursor.php +21 -21
  222. package/support/vendor/symfony/var-dumper/Cloner/Data.php +51 -77
  223. package/support/vendor/symfony/var-dumper/Cloner/DumperInterface.php +11 -14
  224. package/support/vendor/symfony/var-dumper/Cloner/Stub.php +40 -31
  225. package/support/vendor/symfony/var-dumper/Cloner/VarCloner.php +21 -104
  226. package/support/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php +9 -19
  227. package/support/vendor/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php +10 -11
  228. package/support/vendor/symfony/var-dumper/Command/ServerDumpCommand.php +27 -15
  229. package/support/vendor/symfony/var-dumper/Dumper/AbstractDumper.php +68 -48
  230. package/support/vendor/symfony/var-dumper/Dumper/CliDumper.php +126 -113
  231. package/support/vendor/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php +1 -1
  232. package/support/vendor/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php +0 -3
  233. package/support/vendor/symfony/var-dumper/Dumper/ContextProvider/RequestContextProvider.php +5 -6
  234. package/support/vendor/symfony/var-dumper/Dumper/ContextProvider/SourceContextProvider.php +10 -15
  235. package/support/vendor/symfony/var-dumper/Dumper/ContextualizedDumper.php +8 -11
  236. package/support/vendor/symfony/var-dumper/Dumper/DataDumperInterface.php +3 -0
  237. package/support/vendor/symfony/var-dumper/Dumper/HtmlDumper.php +122 -146
  238. package/support/vendor/symfony/var-dumper/Dumper/ServerDumper.php +10 -10
  239. package/support/vendor/symfony/var-dumper/Exception/ThrowingCasterException.php +1 -1
  240. package/support/vendor/symfony/var-dumper/LICENSE +1 -1
  241. package/support/vendor/symfony/var-dumper/README.md +6 -6
  242. package/support/vendor/symfony/var-dumper/Resources/bin/var-dump-server +4 -0
  243. package/support/vendor/symfony/var-dumper/Resources/functions/dump.php +35 -10
  244. package/support/vendor/symfony/var-dumper/Server/Connection.php +16 -14
  245. package/support/vendor/symfony/var-dumper/Server/DumpServer.php +16 -14
  246. package/support/vendor/symfony/var-dumper/Test/VarDumperTestTrait.php +9 -9
  247. package/support/vendor/symfony/var-dumper/VarDumper.php +69 -17
  248. package/support/vendor/symfony/var-dumper/composer.json +10 -16
  249. package/support/vendor/symfony/polyfill-php72/Php72.php +0 -217
  250. package/support/vendor/symfony/polyfill-php72/README.md +0 -28
  251. package/support/vendor/symfony/polyfill-php72/bootstrap.php +0 -57
  252. package/support/vendor/symfony/polyfill-php80/LICENSE +0 -19
  253. package/support/vendor/symfony/polyfill-php80/Php80.php +0 -105
  254. package/support/vendor/symfony/polyfill-php80/README.md +0 -24
  255. package/support/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +0 -22
  256. package/support/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +0 -11
  257. package/support/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +0 -5
  258. package/support/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +0 -5
  259. package/support/vendor/symfony/polyfill-php80/bootstrap.php +0 -42
  260. package/support/vendor/symfony/polyfill-php80/composer.json +0 -40
@@ -0,0 +1,119 @@
1
+ <?php
2
+
3
+ return [
4
+ 'İ' => 'i̇',
5
+ 'µ' => 'μ',
6
+ 'ſ' => 's',
7
+ 'ͅ' => 'ι',
8
+ 'ς' => 'σ',
9
+ 'ϐ' => 'β',
10
+ 'ϑ' => 'θ',
11
+ 'ϕ' => 'φ',
12
+ 'ϖ' => 'π',
13
+ 'ϰ' => 'κ',
14
+ 'ϱ' => 'ρ',
15
+ 'ϵ' => 'ε',
16
+ 'ẛ' => 'ṡ',
17
+ 'ι' => 'ι',
18
+ 'ß' => 'ss',
19
+ 'ʼn' => 'ʼn',
20
+ 'ǰ' => 'ǰ',
21
+ 'ΐ' => 'ΐ',
22
+ 'ΰ' => 'ΰ',
23
+ 'և' => 'եւ',
24
+ 'ẖ' => 'ẖ',
25
+ 'ẗ' => 'ẗ',
26
+ 'ẘ' => 'ẘ',
27
+ 'ẙ' => 'ẙ',
28
+ 'ẚ' => 'aʾ',
29
+ 'ẞ' => 'ss',
30
+ 'ὐ' => 'ὐ',
31
+ 'ὒ' => 'ὒ',
32
+ 'ὔ' => 'ὔ',
33
+ 'ὖ' => 'ὖ',
34
+ 'ᾀ' => 'ἀι',
35
+ 'ᾁ' => 'ἁι',
36
+ 'ᾂ' => 'ἂι',
37
+ 'ᾃ' => 'ἃι',
38
+ 'ᾄ' => 'ἄι',
39
+ 'ᾅ' => 'ἅι',
40
+ 'ᾆ' => 'ἆι',
41
+ 'ᾇ' => 'ἇι',
42
+ 'ᾈ' => 'ἀι',
43
+ 'ᾉ' => 'ἁι',
44
+ 'ᾊ' => 'ἂι',
45
+ 'ᾋ' => 'ἃι',
46
+ 'ᾌ' => 'ἄι',
47
+ 'ᾍ' => 'ἅι',
48
+ 'ᾎ' => 'ἆι',
49
+ 'ᾏ' => 'ἇι',
50
+ 'ᾐ' => 'ἠι',
51
+ 'ᾑ' => 'ἡι',
52
+ 'ᾒ' => 'ἢι',
53
+ 'ᾓ' => 'ἣι',
54
+ 'ᾔ' => 'ἤι',
55
+ 'ᾕ' => 'ἥι',
56
+ 'ᾖ' => 'ἦι',
57
+ 'ᾗ' => 'ἧι',
58
+ 'ᾘ' => 'ἠι',
59
+ 'ᾙ' => 'ἡι',
60
+ 'ᾚ' => 'ἢι',
61
+ 'ᾛ' => 'ἣι',
62
+ 'ᾜ' => 'ἤι',
63
+ 'ᾝ' => 'ἥι',
64
+ 'ᾞ' => 'ἦι',
65
+ 'ᾟ' => 'ἧι',
66
+ 'ᾠ' => 'ὠι',
67
+ 'ᾡ' => 'ὡι',
68
+ 'ᾢ' => 'ὢι',
69
+ 'ᾣ' => 'ὣι',
70
+ 'ᾤ' => 'ὤι',
71
+ 'ᾥ' => 'ὥι',
72
+ 'ᾦ' => 'ὦι',
73
+ 'ᾧ' => 'ὧι',
74
+ 'ᾨ' => 'ὠι',
75
+ 'ᾩ' => 'ὡι',
76
+ 'ᾪ' => 'ὢι',
77
+ 'ᾫ' => 'ὣι',
78
+ 'ᾬ' => 'ὤι',
79
+ 'ᾭ' => 'ὥι',
80
+ 'ᾮ' => 'ὦι',
81
+ 'ᾯ' => 'ὧι',
82
+ 'ᾲ' => 'ὰι',
83
+ 'ᾳ' => 'αι',
84
+ 'ᾴ' => 'άι',
85
+ 'ᾶ' => 'ᾶ',
86
+ 'ᾷ' => 'ᾶι',
87
+ 'ᾼ' => 'αι',
88
+ 'ῂ' => 'ὴι',
89
+ 'ῃ' => 'ηι',
90
+ 'ῄ' => 'ήι',
91
+ 'ῆ' => 'ῆ',
92
+ 'ῇ' => 'ῆι',
93
+ 'ῌ' => 'ηι',
94
+ 'ῒ' => 'ῒ',
95
+ 'ῖ' => 'ῖ',
96
+ 'ῗ' => 'ῗ',
97
+ 'ῢ' => 'ῢ',
98
+ 'ῤ' => 'ῤ',
99
+ 'ῦ' => 'ῦ',
100
+ 'ῧ' => 'ῧ',
101
+ 'ῲ' => 'ὼι',
102
+ 'ῳ' => 'ωι',
103
+ 'ῴ' => 'ώι',
104
+ 'ῶ' => 'ῶ',
105
+ 'ῷ' => 'ῶι',
106
+ 'ῼ' => 'ωι',
107
+ 'ff' => 'ff',
108
+ 'fi' => 'fi',
109
+ 'fl' => 'fl',
110
+ 'ffi' => 'ffi',
111
+ 'ffl' => 'ffl',
112
+ 'ſt' => 'st',
113
+ 'st' => 'st',
114
+ 'ﬓ' => 'մն',
115
+ 'ﬔ' => 'մե',
116
+ 'ﬕ' => 'մի',
117
+ 'ﬖ' => 'վն',
118
+ 'ﬗ' => 'մխ',
119
+ ];
@@ -81,7 +81,7 @@ return array (
81
81
  'Ī' => 'ī',
82
82
  'Ĭ' => 'ĭ',
83
83
  'Į' => 'į',
84
- 'İ' => 'i',
84
+ 'İ' => 'i̇',
85
85
  'IJ' => 'ij',
86
86
  'Ĵ' => 'ĵ',
87
87
  'Ķ' => 'ķ',
@@ -746,41 +746,41 @@ return array (
746
746
  'ύ' => 'Ύ',
747
747
  'ὼ' => 'Ὼ',
748
748
  'ώ' => 'Ώ',
749
- 'ᾀ' => 'ᾈ',
750
- 'ᾁ' => 'ᾉ',
751
- 'ᾂ' => 'ᾊ',
752
- 'ᾃ' => 'ᾋ',
753
- 'ᾄ' => 'ᾌ',
754
- 'ᾅ' => 'ᾍ',
755
- 'ᾆ' => 'ᾎ',
756
- 'ᾇ' => 'ᾏ',
757
- 'ᾐ' => 'ᾘ',
758
- 'ᾑ' => 'ᾙ',
759
- 'ᾒ' => 'ᾚ',
760
- 'ᾓ' => 'ᾛ',
761
- 'ᾔ' => 'ᾜ',
762
- 'ᾕ' => 'ᾝ',
763
- 'ᾖ' => 'ᾞ',
764
- 'ᾗ' => 'ᾟ',
765
- 'ᾠ' => 'ᾨ',
766
- 'ᾡ' => 'ᾩ',
767
- 'ᾢ' => 'ᾪ',
768
- 'ᾣ' => 'ᾫ',
769
- 'ᾤ' => 'ᾬ',
770
- 'ᾥ' => 'ᾭ',
771
- 'ᾦ' => 'ᾮ',
772
- 'ᾧ' => 'ᾯ',
749
+ 'ᾀ' => 'ἈΙ',
750
+ 'ᾁ' => 'ἉΙ',
751
+ 'ᾂ' => 'ἊΙ',
752
+ 'ᾃ' => 'ἋΙ',
753
+ 'ᾄ' => 'ἌΙ',
754
+ 'ᾅ' => 'ἍΙ',
755
+ 'ᾆ' => 'ἎΙ',
756
+ 'ᾇ' => 'ἏΙ',
757
+ 'ᾐ' => 'ἨΙ',
758
+ 'ᾑ' => 'ἩΙ',
759
+ 'ᾒ' => 'ἪΙ',
760
+ 'ᾓ' => 'ἫΙ',
761
+ 'ᾔ' => 'ἬΙ',
762
+ 'ᾕ' => 'ἭΙ',
763
+ 'ᾖ' => 'ἮΙ',
764
+ 'ᾗ' => 'ἯΙ',
765
+ 'ᾠ' => 'ὨΙ',
766
+ 'ᾡ' => 'ὩΙ',
767
+ 'ᾢ' => 'ὪΙ',
768
+ 'ᾣ' => 'ὫΙ',
769
+ 'ᾤ' => 'ὬΙ',
770
+ 'ᾥ' => 'ὭΙ',
771
+ 'ᾦ' => 'ὮΙ',
772
+ 'ᾧ' => 'ὯΙ',
773
773
  'ᾰ' => 'Ᾰ',
774
774
  'ᾱ' => 'Ᾱ',
775
- 'ᾳ' => 'ᾼ',
775
+ 'ᾳ' => 'ΑΙ',
776
776
  'ι' => 'Ι',
777
- 'ῃ' => 'ῌ',
777
+ 'ῃ' => 'ΗΙ',
778
778
  'ῐ' => 'Ῐ',
779
779
  'ῑ' => 'Ῑ',
780
780
  'ῠ' => 'Ῠ',
781
781
  'ῡ' => 'Ῡ',
782
782
  'ῥ' => 'Ῥ',
783
- 'ῳ' => 'ῼ',
783
+ 'ῳ' => 'ΩΙ',
784
784
  'ⅎ' => 'Ⅎ',
785
785
  'ⅰ' => 'Ⅰ',
786
786
  'ⅱ' => 'Ⅱ',
@@ -1411,4 +1411,79 @@ return array (
1411
1411
  '𞥁' => '𞤟',
1412
1412
  '𞥂' => '𞤠',
1413
1413
  '𞥃' => '𞤡',
1414
+ 'ß' => 'SS',
1415
+ 'ff' => 'FF',
1416
+ 'fi' => 'FI',
1417
+ 'fl' => 'FL',
1418
+ 'ffi' => 'FFI',
1419
+ 'ffl' => 'FFL',
1420
+ 'ſt' => 'ST',
1421
+ 'st' => 'ST',
1422
+ 'և' => 'ԵՒ',
1423
+ 'ﬓ' => 'ՄՆ',
1424
+ 'ﬔ' => 'ՄԵ',
1425
+ 'ﬕ' => 'ՄԻ',
1426
+ 'ﬖ' => 'ՎՆ',
1427
+ 'ﬗ' => 'ՄԽ',
1428
+ 'ʼn' => 'ʼN',
1429
+ 'ΐ' => 'Ϊ́',
1430
+ 'ΰ' => 'Ϋ́',
1431
+ 'ǰ' => 'J̌',
1432
+ 'ẖ' => 'H̱',
1433
+ 'ẗ' => 'T̈',
1434
+ 'ẘ' => 'W̊',
1435
+ 'ẙ' => 'Y̊',
1436
+ 'ẚ' => 'Aʾ',
1437
+ 'ὐ' => 'Υ̓',
1438
+ 'ὒ' => 'Υ̓̀',
1439
+ 'ὔ' => 'Υ̓́',
1440
+ 'ὖ' => 'Υ̓͂',
1441
+ 'ᾶ' => 'Α͂',
1442
+ 'ῆ' => 'Η͂',
1443
+ 'ῒ' => 'Ϊ̀',
1444
+ 'ΐ' => 'Ϊ́',
1445
+ 'ῖ' => 'Ι͂',
1446
+ 'ῗ' => 'Ϊ͂',
1447
+ 'ῢ' => 'Ϋ̀',
1448
+ 'ΰ' => 'Ϋ́',
1449
+ 'ῤ' => 'Ρ̓',
1450
+ 'ῦ' => 'Υ͂',
1451
+ 'ῧ' => 'Ϋ͂',
1452
+ 'ῶ' => 'Ω͂',
1453
+ 'ᾈ' => 'ἈΙ',
1454
+ 'ᾉ' => 'ἉΙ',
1455
+ 'ᾊ' => 'ἊΙ',
1456
+ 'ᾋ' => 'ἋΙ',
1457
+ 'ᾌ' => 'ἌΙ',
1458
+ 'ᾍ' => 'ἍΙ',
1459
+ 'ᾎ' => 'ἎΙ',
1460
+ 'ᾏ' => 'ἏΙ',
1461
+ 'ᾘ' => 'ἨΙ',
1462
+ 'ᾙ' => 'ἩΙ',
1463
+ 'ᾚ' => 'ἪΙ',
1464
+ 'ᾛ' => 'ἫΙ',
1465
+ 'ᾜ' => 'ἬΙ',
1466
+ 'ᾝ' => 'ἭΙ',
1467
+ 'ᾞ' => 'ἮΙ',
1468
+ 'ᾟ' => 'ἯΙ',
1469
+ 'ᾨ' => 'ὨΙ',
1470
+ 'ᾩ' => 'ὩΙ',
1471
+ 'ᾪ' => 'ὪΙ',
1472
+ 'ᾫ' => 'ὫΙ',
1473
+ 'ᾬ' => 'ὬΙ',
1474
+ 'ᾭ' => 'ὭΙ',
1475
+ 'ᾮ' => 'ὮΙ',
1476
+ 'ᾯ' => 'ὯΙ',
1477
+ 'ᾼ' => 'ΑΙ',
1478
+ 'ῌ' => 'ΗΙ',
1479
+ 'ῼ' => 'ΩΙ',
1480
+ 'ᾲ' => 'ᾺΙ',
1481
+ 'ᾴ' => 'ΆΙ',
1482
+ 'ῂ' => 'ῊΙ',
1483
+ 'ῄ' => 'ΉΙ',
1484
+ 'ῲ' => 'ῺΙ',
1485
+ 'ῴ' => 'ΏΙ',
1486
+ 'ᾷ' => 'Α͂Ι',
1487
+ 'ῇ' => 'Η͂Ι',
1488
+ 'ῷ' => 'Ω͂Ι',
1414
1489
  );
@@ -11,6 +11,10 @@
11
11
 
12
12
  use Symfony\Polyfill\Mbstring as p;
13
13
 
14
+ if (\PHP_VERSION_ID >= 80000) {
15
+ return require __DIR__.'/bootstrap80.php';
16
+ }
17
+
14
18
  if (!function_exists('mb_convert_encoding')) {
15
19
  function mb_convert_encoding($string, $to_encoding, $from_encoding = null) { return p\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); }
16
20
  }
@@ -18,7 +22,7 @@ if (!function_exists('mb_decode_mimeheader')) {
18
22
  function mb_decode_mimeheader($string) { return p\Mbstring::mb_decode_mimeheader($string); }
19
23
  }
20
24
  if (!function_exists('mb_encode_mimeheader')) {
21
- function mb_encode_mimeheader($string, $charset = null, $transfer_encoding = null, $newline = null, $indent = null) { return p\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); }
25
+ function mb_encode_mimeheader($string, $charset = null, $transfer_encoding = null, $newline = "\r\n", $indent = 0) { return p\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); }
22
26
  }
23
27
  if (!function_exists('mb_decode_numericentity')) {
24
28
  function mb_decode_numericentity($string, $map, $encoding = null) { return p\Mbstring::mb_decode_numericentity($string, $map, $encoding); }
@@ -51,7 +55,7 @@ if (!function_exists('mb_detect_order')) {
51
55
  function mb_detect_order($encoding = null) { return p\Mbstring::mb_detect_order($encoding); }
52
56
  }
53
57
  if (!function_exists('mb_parse_str')) {
54
- function mb_parse_str($string, &$result = array()) { parse_str($string, $result); }
58
+ function mb_parse_str($string, &$result = []) { parse_str($string, $result); return (bool) $result; }
55
59
  }
56
60
  if (!function_exists('mb_strlen')) {
57
61
  function mb_strlen($string, $encoding = null) { return p\Mbstring::mb_strlen($string, $encoding); }
@@ -108,15 +112,11 @@ if (!function_exists('mb_output_handler')) {
108
112
  function mb_output_handler($string, $status) { return p\Mbstring::mb_output_handler($string, $status); }
109
113
  }
110
114
  if (!function_exists('mb_http_input')) {
111
- function mb_http_input($type = '') { return p\Mbstring::mb_http_input($type); }
115
+ function mb_http_input($type = null) { return p\Mbstring::mb_http_input($type); }
112
116
  }
113
117
 
114
118
  if (!function_exists('mb_convert_variables')) {
115
- if (PHP_VERSION_ID >= 80000) {
116
- function mb_convert_variables($to_encoding, $from_encoding, &$var, &...$vars) { return p\Mbstring::mb_convert_variables($to_encoding, $from_encoding, $var, ...$vars); }
117
- } else {
118
- function mb_convert_variables($to_encoding, $from_encoding, &...$vars) { return p\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); }
119
- }
119
+ function mb_convert_variables($to_encoding, $from_encoding, &...$vars) { return p\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); }
120
120
  }
121
121
 
122
122
  if (!function_exists('mb_ord')) {
@@ -132,6 +132,31 @@ if (!function_exists('mb_str_split')) {
132
132
  function mb_str_split($string, $length = 1, $encoding = null) { return p\Mbstring::mb_str_split($string, $length, $encoding); }
133
133
  }
134
134
 
135
+ if (!function_exists('mb_str_pad')) {
136
+ function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); }
137
+ }
138
+
139
+ if (!function_exists('mb_ucfirst')) {
140
+ function mb_ucfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); }
141
+ }
142
+
143
+ if (!function_exists('mb_lcfirst')) {
144
+ function mb_lcfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); }
145
+ }
146
+
147
+ if (!function_exists('mb_trim')) {
148
+ function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
149
+ }
150
+
151
+ if (!function_exists('mb_ltrim')) {
152
+ function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
153
+ }
154
+
155
+ if (!function_exists('mb_rtrim')) {
156
+ function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
157
+ }
158
+
159
+
135
160
  if (extension_loaded('mbstring')) {
136
161
  return;
137
162
  }
@@ -0,0 +1,167 @@
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\Mbstring as p;
13
+
14
+ if (!function_exists('mb_convert_encoding')) {
15
+ function mb_convert_encoding(array|string|null $string, ?string $to_encoding, array|string|null $from_encoding = null): array|string|false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); }
16
+ }
17
+ if (!function_exists('mb_decode_mimeheader')) {
18
+ function mb_decode_mimeheader(?string $string): string { return p\Mbstring::mb_decode_mimeheader((string) $string); }
19
+ }
20
+ if (!function_exists('mb_encode_mimeheader')) {
21
+ function mb_encode_mimeheader(?string $string, ?string $charset = null, ?string $transfer_encoding = null, ?string $newline = "\r\n", ?int $indent = 0): string { return p\Mbstring::mb_encode_mimeheader((string) $string, $charset, $transfer_encoding, (string) $newline, (int) $indent); }
22
+ }
23
+ if (!function_exists('mb_decode_numericentity')) {
24
+ function mb_decode_numericentity(?string $string, array $map, ?string $encoding = null): string { return p\Mbstring::mb_decode_numericentity((string) $string, $map, $encoding); }
25
+ }
26
+ if (!function_exists('mb_encode_numericentity')) {
27
+ function mb_encode_numericentity(?string $string, array $map, ?string $encoding = null, ?bool $hex = false): string { return p\Mbstring::mb_encode_numericentity((string) $string, $map, $encoding, (bool) $hex); }
28
+ }
29
+ if (!function_exists('mb_convert_case')) {
30
+ function mb_convert_case(?string $string, ?int $mode, ?string $encoding = null): string { return p\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); }
31
+ }
32
+ if (!function_exists('mb_internal_encoding')) {
33
+ function mb_internal_encoding(?string $encoding = null): string|bool { return p\Mbstring::mb_internal_encoding($encoding); }
34
+ }
35
+ if (!function_exists('mb_language')) {
36
+ function mb_language(?string $language = null): string|bool { return p\Mbstring::mb_language($language); }
37
+ }
38
+ if (!function_exists('mb_list_encodings')) {
39
+ function mb_list_encodings(): array { return p\Mbstring::mb_list_encodings(); }
40
+ }
41
+ if (!function_exists('mb_encoding_aliases')) {
42
+ function mb_encoding_aliases(?string $encoding): array { return p\Mbstring::mb_encoding_aliases((string) $encoding); }
43
+ }
44
+ if (!function_exists('mb_check_encoding')) {
45
+ function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool { return p\Mbstring::mb_check_encoding($value, $encoding); }
46
+ }
47
+ if (!function_exists('mb_detect_encoding')) {
48
+ function mb_detect_encoding(?string $string, array|string|null $encodings = null, ?bool $strict = false): string|false { return p\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); }
49
+ }
50
+ if (!function_exists('mb_detect_order')) {
51
+ function mb_detect_order(array|string|null $encoding = null): array|bool { return p\Mbstring::mb_detect_order($encoding); }
52
+ }
53
+ if (!function_exists('mb_parse_str')) {
54
+ function mb_parse_str(?string $string, &$result = []): bool { parse_str((string) $string, $result); return (bool) $result; }
55
+ }
56
+ if (!function_exists('mb_strlen')) {
57
+ function mb_strlen(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strlen((string) $string, $encoding); }
58
+ }
59
+ if (!function_exists('mb_strpos')) {
60
+ function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
61
+ }
62
+ if (!function_exists('mb_strtolower')) {
63
+ function mb_strtolower(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtolower((string) $string, $encoding); }
64
+ }
65
+ if (!function_exists('mb_strtoupper')) {
66
+ function mb_strtoupper(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtoupper((string) $string, $encoding); }
67
+ }
68
+ if (!function_exists('mb_substitute_character')) {
69
+ function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool { return p\Mbstring::mb_substitute_character($substitute_character); }
70
+ }
71
+ if (!function_exists('mb_substr')) {
72
+ function mb_substr(?string $string, ?int $start, ?int $length = null, ?string $encoding = null): string { return p\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); }
73
+ }
74
+ if (!function_exists('mb_stripos')) {
75
+ function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
76
+ }
77
+ if (!function_exists('mb_stristr')) {
78
+ function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
79
+ }
80
+ if (!function_exists('mb_strrchr')) {
81
+ function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
82
+ }
83
+ if (!function_exists('mb_strrichr')) {
84
+ function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
85
+ }
86
+ if (!function_exists('mb_strripos')) {
87
+ function mb_strripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
88
+ }
89
+ if (!function_exists('mb_strrpos')) {
90
+ function mb_strrpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
91
+ }
92
+ if (!function_exists('mb_strstr')) {
93
+ function mb_strstr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
94
+ }
95
+ if (!function_exists('mb_get_info')) {
96
+ function mb_get_info(?string $type = 'all'): array|string|int|false|null { return p\Mbstring::mb_get_info((string) $type); }
97
+ }
98
+ if (!function_exists('mb_http_output')) {
99
+ function mb_http_output(?string $encoding = null): string|bool { return p\Mbstring::mb_http_output($encoding); }
100
+ }
101
+ if (!function_exists('mb_strwidth')) {
102
+ function mb_strwidth(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strwidth((string) $string, $encoding); }
103
+ }
104
+ if (!function_exists('mb_substr_count')) {
105
+ function mb_substr_count(?string $haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring::mb_substr_count((string) $haystack, (string) $needle, $encoding); }
106
+ }
107
+ if (!function_exists('mb_output_handler')) {
108
+ function mb_output_handler(?string $string, ?int $status): string { return p\Mbstring::mb_output_handler((string) $string, (int) $status); }
109
+ }
110
+ if (!function_exists('mb_http_input')) {
111
+ function mb_http_input(?string $type = null): array|string|false { return p\Mbstring::mb_http_input($type); }
112
+ }
113
+
114
+ if (!function_exists('mb_convert_variables')) {
115
+ function mb_convert_variables(?string $to_encoding, array|string|null $from_encoding, mixed &$var, mixed &...$vars): string|false { return p\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); }
116
+ }
117
+
118
+ if (!function_exists('mb_ord')) {
119
+ function mb_ord(?string $string, ?string $encoding = null): int|false { return p\Mbstring::mb_ord((string) $string, $encoding); }
120
+ }
121
+ if (!function_exists('mb_chr')) {
122
+ function mb_chr(?int $codepoint, ?string $encoding = null): string|false { return p\Mbstring::mb_chr((int) $codepoint, $encoding); }
123
+ }
124
+ if (!function_exists('mb_scrub')) {
125
+ function mb_scrub(?string $string, ?string $encoding = null): string { $encoding ??= mb_internal_encoding(); return mb_convert_encoding((string) $string, $encoding, $encoding); }
126
+ }
127
+ if (!function_exists('mb_str_split')) {
128
+ function mb_str_split(?string $string, ?int $length = 1, ?string $encoding = null): array { return p\Mbstring::mb_str_split((string) $string, (int) $length, $encoding); }
129
+ }
130
+
131
+ if (!function_exists('mb_str_pad')) {
132
+ function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); }
133
+ }
134
+
135
+ if (!function_exists('mb_ucfirst')) {
136
+ function mb_ucfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); }
137
+ }
138
+
139
+ if (!function_exists('mb_lcfirst')) {
140
+ function mb_lcfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); }
141
+ }
142
+
143
+ if (!function_exists('mb_trim')) {
144
+ function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
145
+ }
146
+
147
+ if (!function_exists('mb_ltrim')) {
148
+ function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
149
+ }
150
+
151
+ if (!function_exists('mb_rtrim')) {
152
+ function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
153
+ }
154
+
155
+ if (extension_loaded('mbstring')) {
156
+ return;
157
+ }
158
+
159
+ if (!defined('MB_CASE_UPPER')) {
160
+ define('MB_CASE_UPPER', 0);
161
+ }
162
+ if (!defined('MB_CASE_LOWER')) {
163
+ define('MB_CASE_LOWER', 1);
164
+ }
165
+ if (!defined('MB_CASE_TITLE')) {
166
+ define('MB_CASE_TITLE', 2);
167
+ }
@@ -16,7 +16,11 @@
16
16
  }
17
17
  ],
18
18
  "require": {
19
- "php": ">=7.1"
19
+ "php": ">=7.2",
20
+ "ext-iconv": "*"
21
+ },
22
+ "provide": {
23
+ "ext-mbstring": "*"
20
24
  },
21
25
  "autoload": {
22
26
  "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" },
@@ -27,9 +31,6 @@
27
31
  },
28
32
  "minimum-stability": "dev",
29
33
  "extra": {
30
- "branch-alias": {
31
- "dev-main": "1.20-dev"
32
- },
33
34
  "thanks": {
34
35
  "name": "symfony/polyfill",
35
36
  "url": "https://github.com/symfony/polyfill"
@@ -1,6 +1,69 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 7.3
5
+ ---
6
+
7
+ * Add casters for `Dba\Connection`, `SQLite3Result`, `OpenSSLAsymmetricKey` and `OpenSSLCertificateSigningRequest`
8
+ * Deprecate `ResourceCaster::castCurl()`, `ResourceCaster::castGd()` and `ResourceCaster::castOpensslX509()`
9
+ * Mark all casters as `@internal`
10
+
11
+ 7.2
12
+ ---
13
+
14
+ * Add support for `FORCE_COLOR` environment variable
15
+ * Add support for virtual properties
16
+
17
+ 7.1
18
+ ---
19
+
20
+ * Add support for new DOM extension classes in `DOMCaster`
21
+
22
+ 7.0
23
+ ---
24
+
25
+ * Add argument `$label` to `VarDumper::dump()`
26
+ * Require explicit argument when calling `VarDumper::setHandler()`
27
+ * Remove display of backtrace in `Twig_Template`, only `Twig\Template` is supported
28
+
29
+ 6.4
30
+ ---
31
+
32
+ * Dump uninitialized properties
33
+
34
+ 6.3
35
+ ---
36
+
37
+ * Add caster for `WeakMap`
38
+ * Add support of named arguments to `dd()` and `dump()` to display the argument name
39
+ * Add support for `Relay\Relay`
40
+ * Add display of invisible characters
41
+
42
+ 6.2
43
+ ---
44
+
45
+ * Add support for `FFI\CData` and `FFI\CType`
46
+ * Deprecate calling `VarDumper::setHandler()` without arguments
47
+
48
+ 5.4
49
+ ---
50
+
51
+ * Add ability to style integer and double values independently
52
+ * Add casters for Symfony's UUIDs and ULIDs
53
+ * Add support for `Fiber`
54
+
55
+ 5.2.0
56
+ -----
57
+
58
+ * added support for PHPUnit `--colors` option
59
+ * added `VAR_DUMPER_FORMAT=server` env var value support
60
+ * prevent replacing the handler when the `VAR_DUMPER_FORMAT` env var is set
61
+
62
+ 5.1.0
63
+ -----
64
+
65
+ * added `RdKafka` support
66
+
4
67
  4.4.0
5
68
  -----
6
69