create-berna-stencil 1.0.15 → 1.0.17

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 (356) hide show
  1. package/.gitignore +2 -1
  2. package/bin/create.js +1 -1
  3. package/package.json +3 -2
  4. package/src/api/core/composer.json +1 -2
  5. package/src/api/core/vendor/autoload.php +1 -1
  6. package/src/api/core/vendor/composer/autoload_real.php +5 -5
  7. package/src/api/core/vendor/composer/autoload_static.php +15 -15
  8. package/src/api/core/vendor/composer/installed.json +7 -7
  9. package/src/api/core/vendor/composer/installed.php +2 -2
  10. package/src/api/core/vendor/graham-campbell/result-type/LICENSE +21 -21
  11. package/src/api/core/vendor/graham-campbell/result-type/composer.json +33 -33
  12. package/src/api/core/vendor/graham-campbell/result-type/src/Error.php +121 -121
  13. package/src/api/core/vendor/graham-campbell/result-type/src/Result.php +69 -69
  14. package/src/api/core/vendor/graham-campbell/result-type/src/Success.php +120 -120
  15. package/src/api/core/vendor/phpmailer/phpmailer/COMMITMENT +46 -46
  16. package/src/api/core/vendor/phpmailer/phpmailer/LICENSE +501 -501
  17. package/src/api/core/vendor/phpmailer/phpmailer/README.md +232 -232
  18. package/src/api/core/vendor/phpmailer/phpmailer/SECURITY.md +37 -37
  19. package/src/api/core/vendor/phpmailer/phpmailer/SMTPUTF8.md +48 -48
  20. package/src/api/core/vendor/phpmailer/phpmailer/VERSION +1 -1
  21. package/src/api/core/vendor/phpmailer/phpmailer/composer.json +84 -84
  22. package/src/api/core/vendor/phpmailer/phpmailer/get_oauth_token.php +182 -182
  23. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php +26 -26
  24. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +27 -27
  25. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-as.php +35 -35
  26. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php +27 -27
  27. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php +27 -27
  28. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php +27 -27
  29. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php +27 -27
  30. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-bn.php +35 -35
  31. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +27 -27
  32. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php +28 -28
  33. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php +39 -39
  34. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +28 -28
  35. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php +33 -33
  36. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php +37 -37
  37. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +38 -38
  38. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +28 -28
  39. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php +28 -28
  40. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +27 -27
  41. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +27 -27
  42. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +36 -36
  43. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php +27 -27
  44. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php +27 -27
  45. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php +35 -35
  46. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php +27 -27
  47. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +27 -27
  48. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php +27 -27
  49. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php +31 -31
  50. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +28 -28
  51. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +37 -37
  52. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php +27 -27
  53. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php +27 -27
  54. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ku.php +27 -27
  55. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php +27 -27
  56. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php +27 -27
  57. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php +27 -27
  58. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-mn.php +27 -27
  59. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php +27 -27
  60. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php +37 -37
  61. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +38 -38
  62. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +33 -33
  63. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php +34 -34
  64. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php +38 -38
  65. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +33 -33
  66. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +36 -36
  67. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php +34 -34
  68. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +30 -30
  69. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php +36 -36
  70. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php +28 -28
  71. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php +28 -28
  72. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php +27 -27
  73. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php +28 -28
  74. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +38 -38
  75. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php +28 -28
  76. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ur.php +30 -30
  77. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php +27 -27
  78. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +29 -29
  79. package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +36 -36
  80. package/src/api/core/vendor/phpmailer/phpmailer/src/DSNConfigurator.php +245 -245
  81. package/src/api/core/vendor/phpmailer/phpmailer/src/Exception.php +40 -40
  82. package/src/api/core/vendor/phpmailer/phpmailer/src/OAuth.php +139 -139
  83. package/src/api/core/vendor/phpmailer/phpmailer/src/OAuthTokenProvider.php +44 -44
  84. package/src/api/core/vendor/phpmailer/phpmailer/src/PHPMailer.php +5525 -5525
  85. package/src/api/core/vendor/phpmailer/phpmailer/src/POP3.php +470 -470
  86. package/src/api/core/vendor/phpmailer/phpmailer/src/SMTP.php +1617 -1617
  87. package/src/api/core/vendor/phpoption/phpoption/LICENSE +200 -200
  88. package/src/api/core/vendor/phpoption/phpoption/composer.json +50 -50
  89. package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php +175 -175
  90. package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/None.php +136 -136
  91. package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/Option.php +434 -434
  92. package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/Some.php +169 -169
  93. package/src/api/core/vendor/symfony/polyfill-ctype/Ctype.php +232 -232
  94. package/src/api/core/vendor/symfony/polyfill-ctype/LICENSE +19 -19
  95. package/src/api/core/vendor/symfony/polyfill-ctype/README.md +12 -12
  96. package/src/api/core/vendor/symfony/polyfill-ctype/bootstrap.php +50 -50
  97. package/src/api/core/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -46
  98. package/src/api/core/vendor/symfony/polyfill-ctype/composer.json +38 -38
  99. package/src/api/core/vendor/symfony/polyfill-mbstring/LICENSE +19 -19
  100. package/src/api/core/vendor/symfony/polyfill-mbstring/Mbstring.php +1077 -1077
  101. package/src/api/core/vendor/symfony/polyfill-mbstring/README.md +13 -13
  102. package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -119
  103. package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -1397
  104. package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -5
  105. package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -1489
  106. package/src/api/core/vendor/symfony/polyfill-mbstring/bootstrap.php +171 -171
  107. package/src/api/core/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -167
  108. package/src/api/core/vendor/symfony/polyfill-mbstring/composer.json +39 -39
  109. package/src/api/core/vendor/symfony/polyfill-php80/LICENSE +19 -19
  110. package/src/api/core/vendor/symfony/polyfill-php80/Php80.php +115 -115
  111. package/src/api/core/vendor/symfony/polyfill-php80/PhpToken.php +106 -106
  112. package/src/api/core/vendor/symfony/polyfill-php80/README.md +25 -25
  113. package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -31
  114. package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -16
  115. package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -20
  116. package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -16
  117. package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -16
  118. package/src/api/core/vendor/symfony/polyfill-php80/bootstrap.php +42 -42
  119. package/src/api/core/vendor/symfony/polyfill-php80/composer.json +37 -37
  120. package/src/api/core/vendor/vlucas/phpdotenv/LICENSE +30 -30
  121. package/src/api/core/vendor/vlucas/phpdotenv/composer.json +60 -60
  122. package/src/api/core/vendor/vlucas/phpdotenv/src/Dotenv.php +267 -267
  123. package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php +12 -12
  124. package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php +12 -12
  125. package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php +12 -12
  126. package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php +12 -12
  127. package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php +12 -12
  128. package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/Loader.php +48 -48
  129. package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php +20 -20
  130. package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/Resolver.php +65 -65
  131. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Entry.php +59 -59
  132. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php +299 -299
  133. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Lexer.php +58 -58
  134. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Lines.php +127 -127
  135. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Parser.php +53 -53
  136. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php +19 -19
  137. package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Value.php +88 -88
  138. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php +15 -15
  139. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php +89 -89
  140. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php +80 -80
  141. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php +88 -88
  142. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php +85 -85
  143. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php +110 -110
  144. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php +48 -48
  145. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php +64 -64
  146. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php +91 -91
  147. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php +17 -17
  148. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php +104 -104
  149. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php +88 -88
  150. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php +27 -27
  151. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php +107 -107
  152. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php +272 -272
  153. package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php +51 -51
  154. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/File/Paths.php +44 -44
  155. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/File/Reader.php +81 -81
  156. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/FileStore.php +72 -72
  157. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php +141 -141
  158. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php +17 -17
  159. package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StringStore.php +37 -37
  160. package/src/api/core/vendor/vlucas/phpdotenv/src/Util/Regex.php +112 -112
  161. package/src/api/core/vendor/vlucas/phpdotenv/src/Util/Str.php +108 -108
  162. package/src/api/core/vendor/vlucas/phpdotenv/src/Validator.php +207 -207
  163. package/src/api/core/vendor/graham-campbell/result-type/.gitattributes +0 -9
  164. package/src/api/core/vendor/graham-campbell/result-type/.github/CODE_OF_CONDUCT.md +0 -132
  165. package/src/api/core/vendor/graham-campbell/result-type/.github/CONTRIBUTING.md +0 -31
  166. package/src/api/core/vendor/graham-campbell/result-type/.github/FUNDING.yml +0 -2
  167. package/src/api/core/vendor/graham-campbell/result-type/.github/SECURITY.md +0 -14
  168. package/src/api/core/vendor/graham-campbell/result-type/.github/workflows/stale.yml +0 -11
  169. package/src/api/core/vendor/graham-campbell/result-type/.github/workflows/tests.yml +0 -40
  170. package/src/api/core/vendor/graham-campbell/result-type/CHANGELOG.md +0 -53
  171. package/src/api/core/vendor/graham-campbell/result-type/README.md +0 -42
  172. package/src/api/core/vendor/graham-campbell/result-type/phpunit.xml.dist +0 -13
  173. package/src/api/core/vendor/graham-campbell/result-type/tests/ResultTest.php +0 -95
  174. package/src/api/core/vendor/phpmailer/phpmailer/.codecov.yml +0 -21
  175. package/src/api/core/vendor/phpmailer/phpmailer/.editorconfig +0 -15
  176. package/src/api/core/vendor/phpmailer/phpmailer/.gitattributes +0 -17
  177. package/src/api/core/vendor/phpmailer/phpmailer/.github/FUNDING.yml +0 -6
  178. package/src/api/core/vendor/phpmailer/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md +0 -23
  179. package/src/api/core/vendor/phpmailer/phpmailer/.github/actions/build-docs/Dockerfile +0 -15
  180. package/src/api/core/vendor/phpmailer/phpmailer/.github/actions/build-docs/entrypoint.sh +0 -5
  181. package/src/api/core/vendor/phpmailer/phpmailer/.github/dependabot.yml +0 -21
  182. package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/docs.yaml +0 -30
  183. package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/scorecards.yml +0 -61
  184. package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/tests.yml +0 -237
  185. package/src/api/core/vendor/phpmailer/phpmailer/.phan/config.php +0 -41
  186. package/src/api/core/vendor/phpmailer/phpmailer/UPGRADING.md +0 -125
  187. package/src/api/core/vendor/phpmailer/phpmailer/changelog.md +0 -1122
  188. package/src/api/core/vendor/phpmailer/phpmailer/docs/README.md +0 -9
  189. package/src/api/core/vendor/phpmailer/phpmailer/examples/DKIM_gen_keys.phps +0 -81
  190. package/src/api/core/vendor/phpmailer/phpmailer/examples/DKIM_sign.phps +0 -46
  191. package/src/api/core/vendor/phpmailer/phpmailer/examples/README.md +0 -96
  192. package/src/api/core/vendor/phpmailer/phpmailer/examples/azure_xoauth2.phps +0 -126
  193. package/src/api/core/vendor/phpmailer/phpmailer/examples/callback.phps +0 -76
  194. package/src/api/core/vendor/phpmailer/phpmailer/examples/contactform-ajax.phps +0 -146
  195. package/src/api/core/vendor/phpmailer/phpmailer/examples/contactform.phps +0 -95
  196. package/src/api/core/vendor/phpmailer/phpmailer/examples/contents.html +0 -17
  197. package/src/api/core/vendor/phpmailer/phpmailer/examples/contentsutf8.html +0 -23
  198. package/src/api/core/vendor/phpmailer/phpmailer/examples/exceptions.phps +0 -40
  199. package/src/api/core/vendor/phpmailer/phpmailer/examples/extending.phps +0 -72
  200. package/src/api/core/vendor/phpmailer/phpmailer/examples/gmail.phps +0 -106
  201. package/src/api/core/vendor/phpmailer/phpmailer/examples/gmail_xoauth.phps +0 -121
  202. package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.afdesign +0 -0
  203. package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.png +0 -0
  204. package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.svg +0 -209
  205. package/src/api/core/vendor/phpmailer/phpmailer/examples/images/phpmailer.png +0 -0
  206. package/src/api/core/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.png +0 -0
  207. package/src/api/core/vendor/phpmailer/phpmailer/examples/mail.phps +0 -35
  208. package/src/api/core/vendor/phpmailer/phpmailer/examples/mailing_list.phps +0 -96
  209. package/src/api/core/vendor/phpmailer/phpmailer/examples/pop_before_smtp.phps +0 -60
  210. package/src/api/core/vendor/phpmailer/phpmailer/examples/send_file_upload.phps +0 -60
  211. package/src/api/core/vendor/phpmailer/phpmailer/examples/send_multiple_file_upload.phps +0 -60
  212. package/src/api/core/vendor/phpmailer/phpmailer/examples/sendmail.phps +0 -37
  213. package/src/api/core/vendor/phpmailer/phpmailer/examples/sendoauth2.phps +0 -100
  214. package/src/api/core/vendor/phpmailer/phpmailer/examples/simple_contact_form.phps +0 -102
  215. package/src/api/core/vendor/phpmailer/phpmailer/examples/smime_signed_mail.phps +0 -99
  216. package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp.phps +0 -62
  217. package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_check.phps +0 -60
  218. package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_low_memory.phps +0 -117
  219. package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_no_auth.phps +0 -53
  220. package/src/api/core/vendor/phpmailer/phpmailer/examples/ssl_options.phps +0 -81
  221. package/src/api/core/vendor/phpmailer/phpmailer/phpcs.xml.dist +0 -52
  222. package/src/api/core/vendor/phpmailer/phpmailer/phpdoc.dist.xml +0 -20
  223. package/src/api/core/vendor/phpmailer/phpmailer/phpunit.xml.dist +0 -36
  224. package/src/api/core/vendor/phpmailer/phpmailer/test/DebugLogTestListener.php +0 -47
  225. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/accessible.txt +0 -1
  226. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/inaccessible.txt +0 -1
  227. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-fr.php +0 -10
  228. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-nl.php +0 -10
  229. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xa_scri_cc.php +0 -9
  230. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xb_scri.php +0 -9
  231. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xc_cc.php +0 -9
  232. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_cc.php +0 -9
  233. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_scri.php +0 -9
  234. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xe.php +0 -9
  235. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xx.php +0 -9
  236. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yy.php +0 -16
  237. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yz.php +0 -16
  238. package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-zz.php +0 -20
  239. package/src/api/core/vendor/phpmailer/phpmailer/test/Language/TranslationCompletenessTest.php +0 -97
  240. package/src/api/core/vendor/phpmailer/phpmailer/test/OAuth/OAuthTest.php +0 -76
  241. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddEmbeddedImageTest.php +0 -178
  242. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringAttachmentTest.php +0 -147
  243. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringEmbeddedImageTest.php +0 -161
  244. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddrFormatTest.php +0 -70
  245. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AuthCRAMMD5Test.php +0 -48
  246. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/CustomHeaderTest.php +0 -285
  247. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMTest.php +0 -258
  248. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMWithoutExceptionsTest.php +0 -46
  249. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DSNConfiguratorTest.php +0 -221
  250. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeQTest.php +0 -110
  251. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeStringTest.php +0 -135
  252. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/FileIsAccessibleTest.php +0 -103
  253. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/FilenameToTypeTest.php +0 -74
  254. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/GenerateIdTest.php +0 -75
  255. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/GetLastMessageIDTest.php +0 -110
  256. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/HasLineLongerThanMaxTest.php +0 -158
  257. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/Html2TextTest.php +0 -231
  258. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ICalTest.php +0 -126
  259. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/IsPermittedPathTest.php +0 -108
  260. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/IsValidHostTest.php +0 -107
  261. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/LocalizationTest.php +0 -505
  262. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MailTransportTest.php +0 -261
  263. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MbPathinfoTest.php +0 -171
  264. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MimeTypesTest.php +0 -70
  265. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/NormalizeBreaksTest.php +0 -111
  266. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/PHPMailerTest.php +0 -1388
  267. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ParseAddressesTest.php +0 -321
  268. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/PunyencodeAddressTest.php +0 -141
  269. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/QuotedStringTest.php +0 -70
  270. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ReplyToGetSetClearTest.php +0 -444
  271. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetErrorTest.php +0 -154
  272. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetFromTest.php +0 -202
  273. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetTest.php +0 -81
  274. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetWordWrapTest.php +0 -120
  275. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/Utf8CharBoundaryTest.php +0 -66
  276. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressCustomValidatorTest.php +0 -116
  277. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressTest.php +0 -485
  278. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/WrapTextTest.php +0 -125
  279. package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/XMailerTest.php +0 -75
  280. package/src/api/core/vendor/phpmailer/phpmailer/test/POP3/PopBeforeSmtpTest.php +0 -139
  281. package/src/api/core/vendor/phpmailer/phpmailer/test/PreSendTestCase.php +0 -46
  282. package/src/api/core/vendor/phpmailer/phpmailer/test/Security/DenialOfServiceVectorsTest.php +0 -52
  283. package/src/api/core/vendor/phpmailer/phpmailer/test/SendTestCase.php +0 -126
  284. package/src/api/core/vendor/phpmailer/phpmailer/test/TestCase.php +0 -392
  285. package/src/api/core/vendor/phpmailer/phpmailer/test/fakepopserver.sh +0 -126
  286. package/src/api/core/vendor/phpmailer/phpmailer/test/fakesendmail.sh +0 -22
  287. package/src/api/core/vendor/phpmailer/phpmailer/test/runfakepopserver.sh +0 -12
  288. package/src/api/core/vendor/phpmailer/phpmailer/test/testbootstrap-dist.php +0 -8
  289. package/src/api/core/vendor/phpmailer/phpmailer/test/validators.php +0 -12
  290. package/src/api/core/vendor/phpoption/phpoption/.gitattributes +0 -13
  291. package/src/api/core/vendor/phpoption/phpoption/.github/CODE_OF_CONDUCT.md +0 -132
  292. package/src/api/core/vendor/phpoption/phpoption/.github/CONTRIBUTING.md +0 -30
  293. package/src/api/core/vendor/phpoption/phpoption/.github/FUNDING.yml +0 -2
  294. package/src/api/core/vendor/phpoption/phpoption/.github/SECURITY.md +0 -14
  295. package/src/api/core/vendor/phpoption/phpoption/.github/workflows/static.yml +0 -40
  296. package/src/api/core/vendor/phpoption/phpoption/.github/workflows/tests.yml +0 -40
  297. package/src/api/core/vendor/phpoption/phpoption/Makefile +0 -17
  298. package/src/api/core/vendor/phpoption/phpoption/README.md +0 -201
  299. package/src/api/core/vendor/phpoption/phpoption/phpstan-baseline.neon +0 -44
  300. package/src/api/core/vendor/phpoption/phpoption/phpstan.neon.dist +0 -7
  301. package/src/api/core/vendor/phpoption/phpoption/phpunit.xml.dist +0 -13
  302. package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php +0 -72
  303. package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/LazyOptionTest.php +0 -357
  304. package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php +0 -153
  305. package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php +0 -166
  306. package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php +0 -194
  307. package/src/api/core/vendor/phpoption/phpoption/tests/bootstrap.php +0 -8
  308. package/src/api/core/vendor/phpoption/phpoption/vendor-bin/phpstan/composer.json +0 -8
  309. package/src/api/core/vendor/vlucas/phpdotenv/.editorconfig +0 -15
  310. package/src/api/core/vendor/vlucas/phpdotenv/.gitattributes +0 -15
  311. package/src/api/core/vendor/vlucas/phpdotenv/.github/CODE_OF_CONDUCT.md +0 -132
  312. package/src/api/core/vendor/vlucas/phpdotenv/.github/CONTRIBUTING.md +0 -30
  313. package/src/api/core/vendor/vlucas/phpdotenv/.github/FUNDING.yml +0 -2
  314. package/src/api/core/vendor/vlucas/phpdotenv/.github/SECURITY.md +0 -14
  315. package/src/api/core/vendor/vlucas/phpdotenv/.github/workflows/static.yml +0 -40
  316. package/src/api/core/vendor/vlucas/phpdotenv/.github/workflows/tests.yml +0 -70
  317. package/src/api/core/vendor/vlucas/phpdotenv/Makefile +0 -17
  318. package/src/api/core/vendor/vlucas/phpdotenv/README.md +0 -370
  319. package/src/api/core/vendor/vlucas/phpdotenv/UPGRADING.md +0 -196
  320. package/src/api/core/vendor/vlucas/phpdotenv/phpstan-baseline.neon +0 -157
  321. package/src/api/core/vendor/vlucas/phpdotenv/phpstan.neon.dist +0 -7
  322. package/src/api/core/vendor/vlucas/phpdotenv/phpunit.xml.dist +0 -13
  323. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/DotenvTest.php +0 -387
  324. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Loader/LoaderTest.php +0 -86
  325. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/EntryParserTest.php +0 -234
  326. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LexerTest.php +0 -40
  327. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LinesTest.php +0 -53
  328. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/ParserTest.php +0 -98
  329. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ArrayAdapterTest.php +0 -57
  330. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/EnvConstAdapterTest.php +0 -75
  331. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/PutenvAdapterTest.php +0 -52
  332. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ServerConstAdapterTest.php +0 -75
  333. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/RepositoryTest.php +0 -305
  334. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Store/StoreTest.php +0 -141
  335. package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/ValidatorTest.php +0 -479
  336. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/.env +0 -5
  337. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/assertions.env +0 -18
  338. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/booleans.env +0 -33
  339. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/commented.env +0 -15
  340. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/empty.env +0 -1
  341. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/example.env +0 -1
  342. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/exported.env +0 -7
  343. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/immutable.env +0 -1
  344. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/integers.env +0 -17
  345. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/large.env +0 -2
  346. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multibyte.env +0 -3
  347. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiline.env +0 -14
  348. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiple.env +0 -4
  349. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/mutable.env +0 -1
  350. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/nested.env +0 -15
  351. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/quoted.env +0 -11
  352. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/specialchars.env +0 -8
  353. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/unicodevarnames.env +0 -2
  354. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/utf8-with-bom-encoding.env +0 -3
  355. package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/windows.env +0 -1
  356. package/src/api/core/vendor/vlucas/phpdotenv/vendor-bin/phpstan/composer.json +0 -15
package/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  node_modules/
2
2
  out/
3
- .env
3
+ .env
4
+ src/api/core/vendor/
package/bin/create.js CHANGED
@@ -18,7 +18,7 @@ const COPY_TARGETS = [
18
18
 
19
19
  const PROJECT_PACKAGE = {
20
20
  name: path.basename(targetDir),
21
- version: '1.0.15',
21
+ version: '1.0.17',
22
22
  private: true,
23
23
  scripts: {
24
24
  'build:css': 'sass src/scss:out/css --no-source-map --style=compressed --quiet',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-berna-stencil",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Eleventy boilerplate with per-page SCSS/JS pipeline, esbuild bundling, multi-framework CSS support and a built-in page management CLI",
5
5
  "keywords": [
6
6
  "eleventy",
@@ -67,6 +67,7 @@
67
67
  "serve:11ty": "eleventy --serve --quiet",
68
68
  "clean": "node _tools/cleanOutput.js",
69
69
  "serve": "npm run clean && concurrently \"npm run serve:11ty\" \"npm run serve:css\" \"npm run serve:js\"",
70
- "assistant": "node _tools/assistant.js"
70
+ "assistant": "node _tools/assistant.js",
71
+ "postinstall": "cd src/api/core && composer install"
71
72
  }
72
73
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "require": {
3
- "vlucas/phpdotenv": "^5.6",
4
- "phpmailer/phpmailer": "^7.0"
3
+ "vlucas/phpdotenv": "^5.6"
5
4
  }
6
5
  }
@@ -19,4 +19,4 @@ if (PHP_VERSION_ID < 50600) {
19
19
 
20
20
  require_once __DIR__ . '/composer/autoload_real.php';
21
21
 
22
- return ComposerAutoloaderInite875ae8441d070d7dda5f4b47a2117aa::getLoader();
22
+ return ComposerAutoloaderInit06112bd3c7053b3bb5b8a9ea876cbd9f::getLoader();
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_real.php @generated by Composer
4
4
 
5
- class ComposerAutoloaderInite875ae8441d070d7dda5f4b47a2117aa
5
+ class ComposerAutoloaderInit06112bd3c7053b3bb5b8a9ea876cbd9f
6
6
  {
7
7
  private static $loader;
8
8
 
@@ -24,16 +24,16 @@ class ComposerAutoloaderInite875ae8441d070d7dda5f4b47a2117aa
24
24
 
25
25
  require __DIR__ . '/platform_check.php';
26
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInite875ae8441d070d7dda5f4b47a2117aa', 'loadClassLoader'), true, true);
27
+ spl_autoload_register(array('ComposerAutoloaderInit06112bd3c7053b3bb5b8a9ea876cbd9f', 'loadClassLoader'), true, true);
28
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInite875ae8441d070d7dda5f4b47a2117aa', 'loadClassLoader'));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit06112bd3c7053b3bb5b8a9ea876cbd9f', 'loadClassLoader'));
30
30
 
31
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa::getInitializer($loader));
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::getInitializer($loader));
33
33
 
34
34
  $loader->register(true);
35
35
 
36
- $filesToLoad = \Composer\Autoload\ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa::$files;
36
+ $filesToLoad = \Composer\Autoload\ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::$files;
37
37
  $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
38
38
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
39
39
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
@@ -4,7 +4,7 @@
4
4
 
5
5
  namespace Composer\Autoload;
6
6
 
7
- class ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa
7
+ class ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f
8
8
  {
9
9
  public static $files = array (
10
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -13,53 +13,53 @@ class ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa
13
13
  );
14
14
 
15
15
  public static $prefixLengthsPsr4 = array (
16
- 'S' =>
16
+ 'S' =>
17
17
  array (
18
18
  'Symfony\\Polyfill\\Php80\\' => 23,
19
19
  'Symfony\\Polyfill\\Mbstring\\' => 26,
20
20
  'Symfony\\Polyfill\\Ctype\\' => 23,
21
21
  ),
22
- 'P' =>
22
+ 'P' =>
23
23
  array (
24
24
  'PhpOption\\' => 10,
25
25
  'PHPMailer\\PHPMailer\\' => 20,
26
26
  ),
27
- 'G' =>
27
+ 'G' =>
28
28
  array (
29
29
  'GrahamCampbell\\ResultType\\' => 26,
30
30
  ),
31
- 'D' =>
31
+ 'D' =>
32
32
  array (
33
33
  'Dotenv\\' => 7,
34
34
  ),
35
35
  );
36
36
 
37
37
  public static $prefixDirsPsr4 = array (
38
- 'Symfony\\Polyfill\\Php80\\' =>
38
+ 'Symfony\\Polyfill\\Php80\\' =>
39
39
  array (
40
40
  0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
41
41
  ),
42
- 'Symfony\\Polyfill\\Mbstring\\' =>
42
+ 'Symfony\\Polyfill\\Mbstring\\' =>
43
43
  array (
44
44
  0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
45
45
  ),
46
- 'Symfony\\Polyfill\\Ctype\\' =>
46
+ 'Symfony\\Polyfill\\Ctype\\' =>
47
47
  array (
48
48
  0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
49
49
  ),
50
- 'PhpOption\\' =>
50
+ 'PhpOption\\' =>
51
51
  array (
52
52
  0 => __DIR__ . '/..' . '/phpoption/phpoption/src/PhpOption',
53
53
  ),
54
- 'PHPMailer\\PHPMailer\\' =>
54
+ 'PHPMailer\\PHPMailer\\' =>
55
55
  array (
56
56
  0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
57
57
  ),
58
- 'GrahamCampbell\\ResultType\\' =>
58
+ 'GrahamCampbell\\ResultType\\' =>
59
59
  array (
60
60
  0 => __DIR__ . '/..' . '/graham-campbell/result-type/src',
61
61
  ),
62
- 'Dotenv\\' =>
62
+ 'Dotenv\\' =>
63
63
  array (
64
64
  0 => __DIR__ . '/..' . '/vlucas/phpdotenv/src',
65
65
  ),
@@ -77,9 +77,9 @@ class ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa
77
77
  public static function getInitializer(ClassLoader $loader)
78
78
  {
79
79
  return \Closure::bind(function () use ($loader) {
80
- $loader->prefixLengthsPsr4 = ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa::$prefixLengthsPsr4;
81
- $loader->prefixDirsPsr4 = ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa::$prefixDirsPsr4;
82
- $loader->classMap = ComposerStaticInite875ae8441d070d7dda5f4b47a2117aa::$classMap;
80
+ $loader->prefixLengthsPsr4 = ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::$prefixLengthsPsr4;
81
+ $loader->prefixDirsPsr4 = ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::$prefixDirsPsr4;
82
+ $loader->classMap = ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::$classMap;
83
83
 
84
84
  }, null, ClassLoader::class);
85
85
  }
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "time": "2025-12-27T19:43:20+00:00",
26
26
  "type": "library",
27
- "installation-source": "source",
27
+ "installation-source": "dist",
28
28
  "autoload": {
29
29
  "psr-4": {
30
30
  "GrahamCampbell\\ResultType\\": "src/"
@@ -110,7 +110,7 @@
110
110
  },
111
111
  "time": "2026-01-09T18:02:33+00:00",
112
112
  "type": "library",
113
- "installation-source": "source",
113
+ "installation-source": "dist",
114
114
  "autoload": {
115
115
  "psr-4": {
116
116
  "PHPMailer\\PHPMailer\\": "src/"
@@ -183,7 +183,7 @@
183
183
  "dev-master": "1.9-dev"
184
184
  }
185
185
  },
186
- "installation-source": "source",
186
+ "installation-source": "dist",
187
187
  "autoload": {
188
188
  "psr-4": {
189
189
  "PhpOption\\": "src/PhpOption/"
@@ -260,7 +260,7 @@
260
260
  "name": "symfony/polyfill"
261
261
  }
262
262
  },
263
- "installation-source": "source",
263
+ "installation-source": "dist",
264
264
  "autoload": {
265
265
  "files": [
266
266
  "bootstrap.php"
@@ -347,7 +347,7 @@
347
347
  "name": "symfony/polyfill"
348
348
  }
349
349
  },
350
- "installation-source": "source",
350
+ "installation-source": "dist",
351
351
  "autoload": {
352
352
  "files": [
353
353
  "bootstrap.php"
@@ -428,7 +428,7 @@
428
428
  "name": "symfony/polyfill"
429
429
  }
430
430
  },
431
- "installation-source": "source",
431
+ "installation-source": "dist",
432
432
  "autoload": {
433
433
  "files": [
434
434
  "bootstrap.php"
@@ -532,7 +532,7 @@
532
532
  "dev-master": "5.6-dev"
533
533
  }
534
534
  },
535
- "installation-source": "source",
535
+ "installation-source": "dist",
536
536
  "autoload": {
537
537
  "psr-4": {
538
538
  "Dotenv\\": "src/"
@@ -3,7 +3,7 @@
3
3
  'name' => '__root__',
4
4
  'pretty_version' => 'dev-main',
5
5
  'version' => 'dev-main',
6
- 'reference' => '502e10b37fd8c7bc22b9999b018b0c12926c0f51',
6
+ 'reference' => '515d800eabcb60aedfa0efd171eadc0378aa7884',
7
7
  'type' => 'library',
8
8
  'install_path' => __DIR__ . '/../../',
9
9
  'aliases' => array(),
@@ -13,7 +13,7 @@
13
13
  '__root__' => array(
14
14
  'pretty_version' => 'dev-main',
15
15
  'version' => 'dev-main',
16
- 'reference' => '502e10b37fd8c7bc22b9999b018b0c12926c0f51',
16
+ 'reference' => '515d800eabcb60aedfa0efd171eadc0378aa7884',
17
17
  'type' => 'library',
18
18
  'install_path' => __DIR__ . '/../../',
19
19
  'aliases' => array(),
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2020-2024 Graham Campbell <hello@gjcampbell.co.uk>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020-2024 Graham Campbell <hello@gjcampbell.co.uk>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -1,33 +1,33 @@
1
- {
2
- "name": "graham-campbell/result-type",
3
- "description": "An Implementation Of The Result Type",
4
- "keywords": ["result", "result-type", "Result", "Result Type", "Result-Type", "Graham Campbell", "GrahamCampbell"],
5
- "license": "MIT",
6
- "authors": [
7
- {
8
- "name": "Graham Campbell",
9
- "email": "hello@gjcampbell.co.uk",
10
- "homepage": "https://github.com/GrahamCampbell"
11
- }
12
- ],
13
- "require": {
14
- "php": "^7.2.5 || ^8.0",
15
- "phpoption/phpoption": "^1.9.5"
16
- },
17
- "require-dev": {
18
- "phpunit/phpunit": "^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7"
19
- },
20
- "autoload": {
21
- "psr-4": {
22
- "GrahamCampbell\\ResultType\\": "src/"
23
- }
24
- },
25
- "autoload-dev": {
26
- "psr-4": {
27
- "GrahamCampbell\\Tests\\ResultType\\": "tests/"
28
- }
29
- },
30
- "config": {
31
- "preferred-install": "dist"
32
- }
33
- }
1
+ {
2
+ "name": "graham-campbell/result-type",
3
+ "description": "An Implementation Of The Result Type",
4
+ "keywords": ["result", "result-type", "Result", "Result Type", "Result-Type", "Graham Campbell", "GrahamCampbell"],
5
+ "license": "MIT",
6
+ "authors": [
7
+ {
8
+ "name": "Graham Campbell",
9
+ "email": "hello@gjcampbell.co.uk",
10
+ "homepage": "https://github.com/GrahamCampbell"
11
+ }
12
+ ],
13
+ "require": {
14
+ "php": "^7.2.5 || ^8.0",
15
+ "phpoption/phpoption": "^1.9.5"
16
+ },
17
+ "require-dev": {
18
+ "phpunit/phpunit": "^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7"
19
+ },
20
+ "autoload": {
21
+ "psr-4": {
22
+ "GrahamCampbell\\ResultType\\": "src/"
23
+ }
24
+ },
25
+ "autoload-dev": {
26
+ "psr-4": {
27
+ "GrahamCampbell\\Tests\\ResultType\\": "tests/"
28
+ }
29
+ },
30
+ "config": {
31
+ "preferred-install": "dist"
32
+ }
33
+ }
@@ -1,121 +1,121 @@
1
- <?php
2
-
3
- declare(strict_types=1);
4
-
5
- /*
6
- * This file is part of Result Type.
7
- *
8
- * (c) Graham Campbell <hello@gjcampbell.co.uk>
9
- *
10
- * For the full copyright and license information, please view the LICENSE
11
- * file that was distributed with this source code.
12
- */
13
-
14
- namespace GrahamCampbell\ResultType;
15
-
16
- use PhpOption\None;
17
- use PhpOption\Some;
18
-
19
- /**
20
- * @template T
21
- * @template E
22
- *
23
- * @extends \GrahamCampbell\ResultType\Result<T,E>
24
- */
25
- final class Error extends Result
26
- {
27
- /**
28
- * @var E
29
- */
30
- private $value;
31
-
32
- /**
33
- * Internal constructor for an error value.
34
- *
35
- * @param E $value
36
- *
37
- * @return void
38
- */
39
- private function __construct($value)
40
- {
41
- $this->value = $value;
42
- }
43
-
44
- /**
45
- * Create a new error value.
46
- *
47
- * @template F
48
- *
49
- * @param F $value
50
- *
51
- * @return \GrahamCampbell\ResultType\Result<T,F>
52
- */
53
- public static function create($value)
54
- {
55
- return new self($value);
56
- }
57
-
58
- /**
59
- * Get the success option value.
60
- *
61
- * @return \PhpOption\Option<T>
62
- */
63
- public function success()
64
- {
65
- return None::create();
66
- }
67
-
68
- /**
69
- * Map over the success value.
70
- *
71
- * @template S
72
- *
73
- * @param callable(T):S $f
74
- *
75
- * @return \GrahamCampbell\ResultType\Result<S,E>
76
- */
77
- public function map(callable $f)
78
- {
79
- return self::create($this->value);
80
- }
81
-
82
- /**
83
- * Flat map over the success value.
84
- *
85
- * @template S
86
- * @template F
87
- *
88
- * @param callable(T):\GrahamCampbell\ResultType\Result<S,F> $f
89
- *
90
- * @return \GrahamCampbell\ResultType\Result<S,F>
91
- */
92
- public function flatMap(callable $f)
93
- {
94
- /** @var \GrahamCampbell\ResultType\Result<S,F> */
95
- return self::create($this->value);
96
- }
97
-
98
- /**
99
- * Get the error option value.
100
- *
101
- * @return \PhpOption\Option<E>
102
- */
103
- public function error()
104
- {
105
- return Some::create($this->value);
106
- }
107
-
108
- /**
109
- * Map over the error value.
110
- *
111
- * @template F
112
- *
113
- * @param callable(E):F $f
114
- *
115
- * @return \GrahamCampbell\ResultType\Result<T,F>
116
- */
117
- public function mapError(callable $f)
118
- {
119
- return self::create($f($this->value));
120
- }
121
- }
1
+ <?php
2
+
3
+ declare(strict_types=1);
4
+
5
+ /*
6
+ * This file is part of Result Type.
7
+ *
8
+ * (c) Graham Campbell <hello@gjcampbell.co.uk>
9
+ *
10
+ * For the full copyright and license information, please view the LICENSE
11
+ * file that was distributed with this source code.
12
+ */
13
+
14
+ namespace GrahamCampbell\ResultType;
15
+
16
+ use PhpOption\None;
17
+ use PhpOption\Some;
18
+
19
+ /**
20
+ * @template T
21
+ * @template E
22
+ *
23
+ * @extends \GrahamCampbell\ResultType\Result<T,E>
24
+ */
25
+ final class Error extends Result
26
+ {
27
+ /**
28
+ * @var E
29
+ */
30
+ private $value;
31
+
32
+ /**
33
+ * Internal constructor for an error value.
34
+ *
35
+ * @param E $value
36
+ *
37
+ * @return void
38
+ */
39
+ private function __construct($value)
40
+ {
41
+ $this->value = $value;
42
+ }
43
+
44
+ /**
45
+ * Create a new error value.
46
+ *
47
+ * @template F
48
+ *
49
+ * @param F $value
50
+ *
51
+ * @return \GrahamCampbell\ResultType\Result<T,F>
52
+ */
53
+ public static function create($value)
54
+ {
55
+ return new self($value);
56
+ }
57
+
58
+ /**
59
+ * Get the success option value.
60
+ *
61
+ * @return \PhpOption\Option<T>
62
+ */
63
+ public function success()
64
+ {
65
+ return None::create();
66
+ }
67
+
68
+ /**
69
+ * Map over the success value.
70
+ *
71
+ * @template S
72
+ *
73
+ * @param callable(T):S $f
74
+ *
75
+ * @return \GrahamCampbell\ResultType\Result<S,E>
76
+ */
77
+ public function map(callable $f)
78
+ {
79
+ return self::create($this->value);
80
+ }
81
+
82
+ /**
83
+ * Flat map over the success value.
84
+ *
85
+ * @template S
86
+ * @template F
87
+ *
88
+ * @param callable(T):\GrahamCampbell\ResultType\Result<S,F> $f
89
+ *
90
+ * @return \GrahamCampbell\ResultType\Result<S,F>
91
+ */
92
+ public function flatMap(callable $f)
93
+ {
94
+ /** @var \GrahamCampbell\ResultType\Result<S,F> */
95
+ return self::create($this->value);
96
+ }
97
+
98
+ /**
99
+ * Get the error option value.
100
+ *
101
+ * @return \PhpOption\Option<E>
102
+ */
103
+ public function error()
104
+ {
105
+ return Some::create($this->value);
106
+ }
107
+
108
+ /**
109
+ * Map over the error value.
110
+ *
111
+ * @template F
112
+ *
113
+ * @param callable(E):F $f
114
+ *
115
+ * @return \GrahamCampbell\ResultType\Result<T,F>
116
+ */
117
+ public function mapError(callable $f)
118
+ {
119
+ return self::create($f($this->value));
120
+ }
121
+ }