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.
- package/.gitignore +2 -1
- package/bin/create.js +1 -1
- package/package.json +3 -2
- package/src/api/core/composer.json +1 -2
- package/src/api/core/vendor/autoload.php +1 -1
- package/src/api/core/vendor/composer/autoload_real.php +5 -5
- package/src/api/core/vendor/composer/autoload_static.php +15 -15
- package/src/api/core/vendor/composer/installed.json +7 -7
- package/src/api/core/vendor/composer/installed.php +2 -2
- package/src/api/core/vendor/graham-campbell/result-type/LICENSE +21 -21
- package/src/api/core/vendor/graham-campbell/result-type/composer.json +33 -33
- package/src/api/core/vendor/graham-campbell/result-type/src/Error.php +121 -121
- package/src/api/core/vendor/graham-campbell/result-type/src/Result.php +69 -69
- package/src/api/core/vendor/graham-campbell/result-type/src/Success.php +120 -120
- package/src/api/core/vendor/phpmailer/phpmailer/COMMITMENT +46 -46
- package/src/api/core/vendor/phpmailer/phpmailer/LICENSE +501 -501
- package/src/api/core/vendor/phpmailer/phpmailer/README.md +232 -232
- package/src/api/core/vendor/phpmailer/phpmailer/SECURITY.md +37 -37
- package/src/api/core/vendor/phpmailer/phpmailer/SMTPUTF8.md +48 -48
- package/src/api/core/vendor/phpmailer/phpmailer/VERSION +1 -1
- package/src/api/core/vendor/phpmailer/phpmailer/composer.json +84 -84
- package/src/api/core/vendor/phpmailer/phpmailer/get_oauth_token.php +182 -182
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php +26 -26
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-as.php +35 -35
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-bn.php +35 -35
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php +39 -39
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php +33 -33
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php +37 -37
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +38 -38
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +36 -36
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php +35 -35
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php +31 -31
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +37 -37
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ku.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-mn.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php +37 -37
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +38 -38
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +33 -33
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php +34 -34
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php +38 -38
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +33 -33
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +36 -36
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php +34 -34
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +30 -30
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php +36 -36
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +38 -38
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php +28 -28
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-ur.php +30 -30
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php +27 -27
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +29 -29
- package/src/api/core/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +36 -36
- package/src/api/core/vendor/phpmailer/phpmailer/src/DSNConfigurator.php +245 -245
- package/src/api/core/vendor/phpmailer/phpmailer/src/Exception.php +40 -40
- package/src/api/core/vendor/phpmailer/phpmailer/src/OAuth.php +139 -139
- package/src/api/core/vendor/phpmailer/phpmailer/src/OAuthTokenProvider.php +44 -44
- package/src/api/core/vendor/phpmailer/phpmailer/src/PHPMailer.php +5525 -5525
- package/src/api/core/vendor/phpmailer/phpmailer/src/POP3.php +470 -470
- package/src/api/core/vendor/phpmailer/phpmailer/src/SMTP.php +1617 -1617
- package/src/api/core/vendor/phpoption/phpoption/LICENSE +200 -200
- package/src/api/core/vendor/phpoption/phpoption/composer.json +50 -50
- package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php +175 -175
- package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/None.php +136 -136
- package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/Option.php +434 -434
- package/src/api/core/vendor/phpoption/phpoption/src/PhpOption/Some.php +169 -169
- package/src/api/core/vendor/symfony/polyfill-ctype/Ctype.php +232 -232
- package/src/api/core/vendor/symfony/polyfill-ctype/LICENSE +19 -19
- package/src/api/core/vendor/symfony/polyfill-ctype/README.md +12 -12
- package/src/api/core/vendor/symfony/polyfill-ctype/bootstrap.php +50 -50
- package/src/api/core/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -46
- package/src/api/core/vendor/symfony/polyfill-ctype/composer.json +38 -38
- package/src/api/core/vendor/symfony/polyfill-mbstring/LICENSE +19 -19
- package/src/api/core/vendor/symfony/polyfill-mbstring/Mbstring.php +1077 -1077
- package/src/api/core/vendor/symfony/polyfill-mbstring/README.md +13 -13
- package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -119
- package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -1397
- package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -5
- package/src/api/core/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -1489
- package/src/api/core/vendor/symfony/polyfill-mbstring/bootstrap.php +171 -171
- package/src/api/core/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -167
- package/src/api/core/vendor/symfony/polyfill-mbstring/composer.json +39 -39
- package/src/api/core/vendor/symfony/polyfill-php80/LICENSE +19 -19
- package/src/api/core/vendor/symfony/polyfill-php80/Php80.php +115 -115
- package/src/api/core/vendor/symfony/polyfill-php80/PhpToken.php +106 -106
- package/src/api/core/vendor/symfony/polyfill-php80/README.md +25 -25
- package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -31
- package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -16
- package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -20
- package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -16
- package/src/api/core/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -16
- package/src/api/core/vendor/symfony/polyfill-php80/bootstrap.php +42 -42
- package/src/api/core/vendor/symfony/polyfill-php80/composer.json +37 -37
- package/src/api/core/vendor/vlucas/phpdotenv/LICENSE +30 -30
- package/src/api/core/vendor/vlucas/phpdotenv/composer.json +60 -60
- package/src/api/core/vendor/vlucas/phpdotenv/src/Dotenv.php +267 -267
- package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php +12 -12
- package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php +12 -12
- package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php +12 -12
- package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php +12 -12
- package/src/api/core/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php +12 -12
- package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/Loader.php +48 -48
- package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php +20 -20
- package/src/api/core/vendor/vlucas/phpdotenv/src/Loader/Resolver.php +65 -65
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Entry.php +59 -59
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php +299 -299
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Lexer.php +58 -58
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Lines.php +127 -127
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Parser.php +53 -53
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php +19 -19
- package/src/api/core/vendor/vlucas/phpdotenv/src/Parser/Value.php +88 -88
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php +15 -15
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php +89 -89
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php +80 -80
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php +88 -88
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php +85 -85
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php +110 -110
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php +48 -48
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php +64 -64
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php +91 -91
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php +17 -17
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php +104 -104
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php +88 -88
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php +27 -27
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php +107 -107
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php +272 -272
- package/src/api/core/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php +51 -51
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/File/Paths.php +44 -44
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/File/Reader.php +81 -81
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/FileStore.php +72 -72
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php +141 -141
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php +17 -17
- package/src/api/core/vendor/vlucas/phpdotenv/src/Store/StringStore.php +37 -37
- package/src/api/core/vendor/vlucas/phpdotenv/src/Util/Regex.php +112 -112
- package/src/api/core/vendor/vlucas/phpdotenv/src/Util/Str.php +108 -108
- package/src/api/core/vendor/vlucas/phpdotenv/src/Validator.php +207 -207
- package/src/api/core/vendor/graham-campbell/result-type/.gitattributes +0 -9
- package/src/api/core/vendor/graham-campbell/result-type/.github/CODE_OF_CONDUCT.md +0 -132
- package/src/api/core/vendor/graham-campbell/result-type/.github/CONTRIBUTING.md +0 -31
- package/src/api/core/vendor/graham-campbell/result-type/.github/FUNDING.yml +0 -2
- package/src/api/core/vendor/graham-campbell/result-type/.github/SECURITY.md +0 -14
- package/src/api/core/vendor/graham-campbell/result-type/.github/workflows/stale.yml +0 -11
- package/src/api/core/vendor/graham-campbell/result-type/.github/workflows/tests.yml +0 -40
- package/src/api/core/vendor/graham-campbell/result-type/CHANGELOG.md +0 -53
- package/src/api/core/vendor/graham-campbell/result-type/README.md +0 -42
- package/src/api/core/vendor/graham-campbell/result-type/phpunit.xml.dist +0 -13
- package/src/api/core/vendor/graham-campbell/result-type/tests/ResultTest.php +0 -95
- package/src/api/core/vendor/phpmailer/phpmailer/.codecov.yml +0 -21
- package/src/api/core/vendor/phpmailer/phpmailer/.editorconfig +0 -15
- package/src/api/core/vendor/phpmailer/phpmailer/.gitattributes +0 -17
- package/src/api/core/vendor/phpmailer/phpmailer/.github/FUNDING.yml +0 -6
- package/src/api/core/vendor/phpmailer/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md +0 -23
- package/src/api/core/vendor/phpmailer/phpmailer/.github/actions/build-docs/Dockerfile +0 -15
- package/src/api/core/vendor/phpmailer/phpmailer/.github/actions/build-docs/entrypoint.sh +0 -5
- package/src/api/core/vendor/phpmailer/phpmailer/.github/dependabot.yml +0 -21
- package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/docs.yaml +0 -30
- package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/scorecards.yml +0 -61
- package/src/api/core/vendor/phpmailer/phpmailer/.github/workflows/tests.yml +0 -237
- package/src/api/core/vendor/phpmailer/phpmailer/.phan/config.php +0 -41
- package/src/api/core/vendor/phpmailer/phpmailer/UPGRADING.md +0 -125
- package/src/api/core/vendor/phpmailer/phpmailer/changelog.md +0 -1122
- package/src/api/core/vendor/phpmailer/phpmailer/docs/README.md +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/examples/DKIM_gen_keys.phps +0 -81
- package/src/api/core/vendor/phpmailer/phpmailer/examples/DKIM_sign.phps +0 -46
- package/src/api/core/vendor/phpmailer/phpmailer/examples/README.md +0 -96
- package/src/api/core/vendor/phpmailer/phpmailer/examples/azure_xoauth2.phps +0 -126
- package/src/api/core/vendor/phpmailer/phpmailer/examples/callback.phps +0 -76
- package/src/api/core/vendor/phpmailer/phpmailer/examples/contactform-ajax.phps +0 -146
- package/src/api/core/vendor/phpmailer/phpmailer/examples/contactform.phps +0 -95
- package/src/api/core/vendor/phpmailer/phpmailer/examples/contents.html +0 -17
- package/src/api/core/vendor/phpmailer/phpmailer/examples/contentsutf8.html +0 -23
- package/src/api/core/vendor/phpmailer/phpmailer/examples/exceptions.phps +0 -40
- package/src/api/core/vendor/phpmailer/phpmailer/examples/extending.phps +0 -72
- package/src/api/core/vendor/phpmailer/phpmailer/examples/gmail.phps +0 -106
- package/src/api/core/vendor/phpmailer/phpmailer/examples/gmail_xoauth.phps +0 -121
- package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.afdesign +0 -0
- package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.png +0 -0
- package/src/api/core/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.svg +0 -209
- package/src/api/core/vendor/phpmailer/phpmailer/examples/images/phpmailer.png +0 -0
- package/src/api/core/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.png +0 -0
- package/src/api/core/vendor/phpmailer/phpmailer/examples/mail.phps +0 -35
- package/src/api/core/vendor/phpmailer/phpmailer/examples/mailing_list.phps +0 -96
- package/src/api/core/vendor/phpmailer/phpmailer/examples/pop_before_smtp.phps +0 -60
- package/src/api/core/vendor/phpmailer/phpmailer/examples/send_file_upload.phps +0 -60
- package/src/api/core/vendor/phpmailer/phpmailer/examples/send_multiple_file_upload.phps +0 -60
- package/src/api/core/vendor/phpmailer/phpmailer/examples/sendmail.phps +0 -37
- package/src/api/core/vendor/phpmailer/phpmailer/examples/sendoauth2.phps +0 -100
- package/src/api/core/vendor/phpmailer/phpmailer/examples/simple_contact_form.phps +0 -102
- package/src/api/core/vendor/phpmailer/phpmailer/examples/smime_signed_mail.phps +0 -99
- package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp.phps +0 -62
- package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_check.phps +0 -60
- package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_low_memory.phps +0 -117
- package/src/api/core/vendor/phpmailer/phpmailer/examples/smtp_no_auth.phps +0 -53
- package/src/api/core/vendor/phpmailer/phpmailer/examples/ssl_options.phps +0 -81
- package/src/api/core/vendor/phpmailer/phpmailer/phpcs.xml.dist +0 -52
- package/src/api/core/vendor/phpmailer/phpmailer/phpdoc.dist.xml +0 -20
- package/src/api/core/vendor/phpmailer/phpmailer/phpunit.xml.dist +0 -36
- package/src/api/core/vendor/phpmailer/phpmailer/test/DebugLogTestListener.php +0 -47
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/accessible.txt +0 -1
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/inaccessible.txt +0 -1
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-fr.php +0 -10
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-nl.php +0 -10
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xa_scri_cc.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xb_scri.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xc_cc.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_cc.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_scri.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xe.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xx.php +0 -9
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yy.php +0 -16
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yz.php +0 -16
- package/src/api/core/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-zz.php +0 -20
- package/src/api/core/vendor/phpmailer/phpmailer/test/Language/TranslationCompletenessTest.php +0 -97
- package/src/api/core/vendor/phpmailer/phpmailer/test/OAuth/OAuthTest.php +0 -76
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddEmbeddedImageTest.php +0 -178
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringAttachmentTest.php +0 -147
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringEmbeddedImageTest.php +0 -161
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AddrFormatTest.php +0 -70
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/AuthCRAMMD5Test.php +0 -48
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/CustomHeaderTest.php +0 -285
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMTest.php +0 -258
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMWithoutExceptionsTest.php +0 -46
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/DSNConfiguratorTest.php +0 -221
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeQTest.php +0 -110
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeStringTest.php +0 -135
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/FileIsAccessibleTest.php +0 -103
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/FilenameToTypeTest.php +0 -74
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/GenerateIdTest.php +0 -75
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/GetLastMessageIDTest.php +0 -110
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/HasLineLongerThanMaxTest.php +0 -158
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/Html2TextTest.php +0 -231
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ICalTest.php +0 -126
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/IsPermittedPathTest.php +0 -108
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/IsValidHostTest.php +0 -107
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/LocalizationTest.php +0 -505
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MailTransportTest.php +0 -261
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MbPathinfoTest.php +0 -171
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/MimeTypesTest.php +0 -70
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/NormalizeBreaksTest.php +0 -111
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/PHPMailerTest.php +0 -1388
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ParseAddressesTest.php +0 -321
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/PunyencodeAddressTest.php +0 -141
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/QuotedStringTest.php +0 -70
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ReplyToGetSetClearTest.php +0 -444
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetErrorTest.php +0 -154
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetFromTest.php +0 -202
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetTest.php +0 -81
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/SetWordWrapTest.php +0 -120
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/Utf8CharBoundaryTest.php +0 -66
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressCustomValidatorTest.php +0 -116
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressTest.php +0 -485
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/WrapTextTest.php +0 -125
- package/src/api/core/vendor/phpmailer/phpmailer/test/PHPMailer/XMailerTest.php +0 -75
- package/src/api/core/vendor/phpmailer/phpmailer/test/POP3/PopBeforeSmtpTest.php +0 -139
- package/src/api/core/vendor/phpmailer/phpmailer/test/PreSendTestCase.php +0 -46
- package/src/api/core/vendor/phpmailer/phpmailer/test/Security/DenialOfServiceVectorsTest.php +0 -52
- package/src/api/core/vendor/phpmailer/phpmailer/test/SendTestCase.php +0 -126
- package/src/api/core/vendor/phpmailer/phpmailer/test/TestCase.php +0 -392
- package/src/api/core/vendor/phpmailer/phpmailer/test/fakepopserver.sh +0 -126
- package/src/api/core/vendor/phpmailer/phpmailer/test/fakesendmail.sh +0 -22
- package/src/api/core/vendor/phpmailer/phpmailer/test/runfakepopserver.sh +0 -12
- package/src/api/core/vendor/phpmailer/phpmailer/test/testbootstrap-dist.php +0 -8
- package/src/api/core/vendor/phpmailer/phpmailer/test/validators.php +0 -12
- package/src/api/core/vendor/phpoption/phpoption/.gitattributes +0 -13
- package/src/api/core/vendor/phpoption/phpoption/.github/CODE_OF_CONDUCT.md +0 -132
- package/src/api/core/vendor/phpoption/phpoption/.github/CONTRIBUTING.md +0 -30
- package/src/api/core/vendor/phpoption/phpoption/.github/FUNDING.yml +0 -2
- package/src/api/core/vendor/phpoption/phpoption/.github/SECURITY.md +0 -14
- package/src/api/core/vendor/phpoption/phpoption/.github/workflows/static.yml +0 -40
- package/src/api/core/vendor/phpoption/phpoption/.github/workflows/tests.yml +0 -40
- package/src/api/core/vendor/phpoption/phpoption/Makefile +0 -17
- package/src/api/core/vendor/phpoption/phpoption/README.md +0 -201
- package/src/api/core/vendor/phpoption/phpoption/phpstan-baseline.neon +0 -44
- package/src/api/core/vendor/phpoption/phpoption/phpstan.neon.dist +0 -7
- package/src/api/core/vendor/phpoption/phpoption/phpunit.xml.dist +0 -13
- package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php +0 -72
- package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/LazyOptionTest.php +0 -357
- package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php +0 -153
- package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php +0 -166
- package/src/api/core/vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php +0 -194
- package/src/api/core/vendor/phpoption/phpoption/tests/bootstrap.php +0 -8
- package/src/api/core/vendor/phpoption/phpoption/vendor-bin/phpstan/composer.json +0 -8
- package/src/api/core/vendor/vlucas/phpdotenv/.editorconfig +0 -15
- package/src/api/core/vendor/vlucas/phpdotenv/.gitattributes +0 -15
- package/src/api/core/vendor/vlucas/phpdotenv/.github/CODE_OF_CONDUCT.md +0 -132
- package/src/api/core/vendor/vlucas/phpdotenv/.github/CONTRIBUTING.md +0 -30
- package/src/api/core/vendor/vlucas/phpdotenv/.github/FUNDING.yml +0 -2
- package/src/api/core/vendor/vlucas/phpdotenv/.github/SECURITY.md +0 -14
- package/src/api/core/vendor/vlucas/phpdotenv/.github/workflows/static.yml +0 -40
- package/src/api/core/vendor/vlucas/phpdotenv/.github/workflows/tests.yml +0 -70
- package/src/api/core/vendor/vlucas/phpdotenv/Makefile +0 -17
- package/src/api/core/vendor/vlucas/phpdotenv/README.md +0 -370
- package/src/api/core/vendor/vlucas/phpdotenv/UPGRADING.md +0 -196
- package/src/api/core/vendor/vlucas/phpdotenv/phpstan-baseline.neon +0 -157
- package/src/api/core/vendor/vlucas/phpdotenv/phpstan.neon.dist +0 -7
- package/src/api/core/vendor/vlucas/phpdotenv/phpunit.xml.dist +0 -13
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/DotenvTest.php +0 -387
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Loader/LoaderTest.php +0 -86
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/EntryParserTest.php +0 -234
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LexerTest.php +0 -40
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LinesTest.php +0 -53
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/ParserTest.php +0 -98
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ArrayAdapterTest.php +0 -57
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/EnvConstAdapterTest.php +0 -75
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/PutenvAdapterTest.php +0 -52
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ServerConstAdapterTest.php +0 -75
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/RepositoryTest.php +0 -305
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/Store/StoreTest.php +0 -141
- package/src/api/core/vendor/vlucas/phpdotenv/tests/Dotenv/ValidatorTest.php +0 -479
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/.env +0 -5
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/assertions.env +0 -18
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/booleans.env +0 -33
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/commented.env +0 -15
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/empty.env +0 -1
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/example.env +0 -1
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/exported.env +0 -7
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/immutable.env +0 -1
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/integers.env +0 -17
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/large.env +0 -2
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multibyte.env +0 -3
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiline.env +0 -14
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiple.env +0 -4
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/mutable.env +0 -1
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/nested.env +0 -15
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/quoted.env +0 -11
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/specialchars.env +0 -8
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/unicodevarnames.env +0 -2
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/utf8-with-bom-encoding.env +0 -3
- package/src/api/core/vendor/vlucas/phpdotenv/tests/fixtures/env/windows.env +0 -1
- package/src/api/core/vendor/vlucas/phpdotenv/vendor-bin/phpstan/composer.json +0 -15
package/.gitignore
CHANGED
package/bin/create.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-berna-stencil",
|
|
3
|
-
"version": "1.0.
|
|
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
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// autoload_real.php @generated by Composer
|
|
4
4
|
|
|
5
|
-
class
|
|
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('
|
|
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('
|
|
29
|
+
spl_autoload_unregister(array('ComposerAutoloaderInit06112bd3c7053b3bb5b8a9ea876cbd9f', 'loadClassLoader'));
|
|
30
30
|
|
|
31
31
|
require __DIR__ . '/autoload_static.php';
|
|
32
|
-
call_user_func(\Composer\Autoload\
|
|
32
|
+
call_user_func(\Composer\Autoload\ComposerStaticInit06112bd3c7053b3bb5b8a9ea876cbd9f::getInitializer($loader));
|
|
33
33
|
|
|
34
34
|
$loader->register(true);
|
|
35
35
|
|
|
36
|
-
$filesToLoad = \Composer\Autoload\
|
|
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
|
|
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 =
|
|
81
|
-
$loader->prefixDirsPsr4 =
|
|
82
|
-
$loader->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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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' => '
|
|
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' => '
|
|
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
|
+
}
|