diff --git a/composer.json b/composer.json
index 75dd48c..75c218a 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,7 @@
"require": {
"tinymce/tinymce": "*",
"phpmailer/phpmailer": "dev-master",
- "php-imap/php-imap": "5.0"
+ "webklex/php-imap": "^4.1"
},
"minimum-stability": "dev"
}
diff --git a/composer.lock b/composer.lock
index 8caae0b..bc6392a 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,49 +4,37 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "28af27dc1d7f1cf3b23cc196c9a13301",
+ "content-hash": "f05155f56696cab73e4da7f772d9cc96",
"packages": [
{
- "name": "php-imap/php-imap",
- "version": "5.0.0",
+ "name": "doctrine/inflector",
+ "version": "2.1.x-dev",
"source": {
"type": "git",
- "url": "https://github.com/barbushin/php-imap.git",
- "reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c"
+ "url": "https://github.com/doctrine/inflector.git",
+ "reference": "d62dadcaaf16432c7c1364bf50be9e03f26ff043"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barbushin/php-imap/zipball/13bdfa9a6f541798253e24e2d8f44332c8be098c",
- "reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/d62dadcaaf16432c7c1364bf50be9e03f26ff043",
+ "reference": "d62dadcaaf16432c7c1364bf50be9e03f26ff043",
"shasum": ""
},
"require": {
- "ext-fileinfo": "*",
- "ext-iconv": "*",
- "ext-imap": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "php": "^7.4 || ^8.0"
+ "php": "^7.2 || ^8.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.4",
- "maglnet/composer-require-checker": "^2.0|^3.2",
- "nikic/php-parser": "^4.3,<4.7|^4.10",
- "paragonie/hidden-string": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3",
- "phpunit/phpunit": "^8.5|^9.5",
- "povils/phpmnd": "^2.2",
- "psalm/plugin-phpunit": "^0.10.0|^0.15.1",
- "roave/security-advisories": "dev-master",
- "sebastian/phpcpd": "^4.1|^6.0"
- },
- "suggest": {
- "ext-fileinfo": "To facilitate IncomingMailAttachment::getFileInfo() auto-detection"
+ "doctrine/coding-standard": "^11.0",
+ "phpstan/phpstan": "^1.8",
+ "phpstan/phpstan-phpunit": "^1.1",
+ "phpstan/phpstan-strict-rules": "^1.3",
+ "phpunit/phpunit": "^8.5 || ^9.5",
+ "vimeo/psalm": "^4.25 || ^5.4"
},
"type": "library",
"autoload": {
"psr-4": {
- "PhpImap\\": "src/PhpImap"
+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -55,26 +43,432 @@
],
"authors": [
{
- "name": "Sergey Barbushin",
- "email": "barbushin@gmail.com",
- "homepage": "http://linkedin.com/in/barbushin"
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Benjamin Eberlei",
+ "email": "kontakt@beberlei.de"
+ },
+ {
+ "name": "Jonathan Wage",
+ "email": "jonwage@gmail.com"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
}
],
- "description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
- "homepage": "https://github.com/barbushin/php-imap",
+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",
+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",
"keywords": [
- "imap",
- "mail",
- "mailbox",
+ "inflection",
+ "inflector",
+ "lowercase",
+ "manipulation",
"php",
- "pop3",
- "receive emails"
+ "plural",
+ "singular",
+ "strings",
+ "uppercase",
+ "words"
],
"support": {
- "issues": "https://github.com/barbushin/php-imap/issues",
- "source": "https://github.com/barbushin/php-imap/tree/5.0.0"
+ "issues": "https://github.com/doctrine/inflector/issues",
+ "source": "https://github.com/doctrine/inflector/tree/2.1.x"
},
- "time": "2022-03-12T14:39:59+00:00"
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-06-16T13:41:28+00:00"
+ },
+ {
+ "name": "illuminate/collections",
+ "version": "8.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/collections.git",
+ "reference": "705a4e1ef93cd492c45b9b3e7911cccc990a07f4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/705a4e1ef93cd492c45b9b3e7911cccc990a07f4",
+ "reference": "705a4e1ef93cd492c45b9b3e7911cccc990a07f4",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0",
+ "php": "^7.3|^8.0"
+ },
+ "suggest": {
+ "symfony/var-dumper": "Required to use the dump method (^5.4)."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "helpers.php"
+ ],
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Collections package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2022-06-23T15:29:49+00:00"
+ },
+ {
+ "name": "illuminate/contracts",
+ "version": "8.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/contracts.git",
+ "reference": "5e0fd287a1b22a6b346a9f7cd484d8cf0234585d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/5e0fd287a1b22a6b346a9f7cd484d8cf0234585d",
+ "reference": "5e0fd287a1b22a6b346a9f7cd484d8cf0234585d",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3|^8.0",
+ "psr/container": "^1.0",
+ "psr/simple-cache": "^1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Contracts\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Contracts package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2022-01-13T14:47:47+00:00"
+ },
+ {
+ "name": "illuminate/macroable",
+ "version": "8.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/macroable.git",
+ "reference": "aed81891a6e046fdee72edd497f822190f61c162"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/macroable/zipball/aed81891a6e046fdee72edd497f822190f61c162",
+ "reference": "aed81891a6e046fdee72edd497f822190f61c162",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3|^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Macroable package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2021-11-16T13:57:03+00:00"
+ },
+ {
+ "name": "illuminate/pagination",
+ "version": "8.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/pagination.git",
+ "reference": "16fe8dc35f9d18c58a3471469af656a02e9ab692"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/pagination/zipball/16fe8dc35f9d18c58a3471469af656a02e9ab692",
+ "reference": "16fe8dc35f9d18c58a3471469af656a02e9ab692",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/support": "^8.0",
+ "php": "^7.3|^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Pagination\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Pagination package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2022-06-27T13:26:06+00:00"
+ },
+ {
+ "name": "illuminate/support",
+ "version": "8.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/support.git",
+ "reference": "ad030d68770e00a395822a4c243b931be3e4d3c7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/ad030d68770e00a395822a4c243b931be3e4d3c7",
+ "reference": "ad030d68770e00a395822a4c243b931be3e4d3c7",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/inflector": "^1.4|^2.0",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0",
+ "nesbot/carbon": "^2.53.1",
+ "php": "^7.3|^8.0",
+ "voku/portable-ascii": "^1.6.1"
+ },
+ "conflict": {
+ "tightenco/collect": "<5.5.33"
+ },
+ "suggest": {
+ "illuminate/filesystem": "Required to use the composer class (^8.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
+ "symfony/process": "Required to use the composer class (^5.4).",
+ "symfony/var-dumper": "Required to use the dd function (^5.4).",
+ "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "helpers.php"
+ ],
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Support package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2023-06-11T21:11:10+00:00"
+ },
+ {
+ "name": "nesbot/carbon",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/briannesbitt/Carbon.git",
+ "reference": "98276233188583f2ff845a0f992a235472d9466a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/98276233188583f2ff845a0f992a235472d9466a",
+ "reference": "98276233188583f2ff845a0f992a235472d9466a",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.1.8 || ^8.0",
+ "psr/clock": "^1.0",
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
+ },
+ "provide": {
+ "psr/clock-implementation": "1.0"
+ },
+ "require-dev": {
+ "doctrine/dbal": "^2.0 || ^3.1.4",
+ "doctrine/orm": "^2.7",
+ "friendsofphp/php-cs-fixer": "^3.0",
+ "kylekatarnls/multi-tester": "^2.0",
+ "ondrejmirtes/better-reflection": "*",
+ "phpmd/phpmd": "^2.9",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.99 || ^1.7.14",
+ "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",
+ "squizlabs/php_codesniffer": "^3.4"
+ },
+ "default-branch": true,
+ "bin": [
+ "bin/carbon"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-3.x": "3.x-dev",
+ "dev-master": "2.x-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Carbon\\Laravel\\ServiceProvider"
+ ]
+ },
+ "phpstan": {
+ "includes": [
+ "extension.neon"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Carbon\\": "src/Carbon/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Brian Nesbitt",
+ "email": "brian@nesbot.com",
+ "homepage": "https://markido.com"
+ },
+ {
+ "name": "kylekatarnls",
+ "homepage": "https://github.com/kylekatarnls"
+ }
+ ],
+ "description": "An API extension for DateTime that supports 281 different languages.",
+ "homepage": "https://carbon.nesbot.com",
+ "keywords": [
+ "date",
+ "datetime",
+ "time"
+ ],
+ "support": {
+ "docs": "https://carbon.nesbot.com/docs",
+ "issues": "https://github.com/briannesbitt/Carbon/issues",
+ "source": "https://github.com/briannesbitt/Carbon"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sponsors/kylekatarnls",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/Carbon#sponsor",
+ "type": "opencollective"
+ },
+ {
+ "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-09-25T11:31:05+00:00"
},
{
"name": "phpmailer/phpmailer",
@@ -82,12 +476,12 @@
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
- "reference": "312ed95ab03e7f3f0316191e5bfb9f920b705825"
+ "reference": "a1fa2714c447adda7e6b07c4bfa290dfc1a035b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/312ed95ab03e7f3f0316191e5bfb9f920b705825",
- "reference": "312ed95ab03e7f3f0316191e5bfb9f920b705825",
+ "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a1fa2714c447adda7e6b07c4bfa290dfc1a035b2",
+ "reference": "a1fa2714c447adda7e6b07c4bfa290dfc1a035b2",
"shasum": ""
},
"require": {
@@ -155,7 +549,640 @@
"type": "github"
}
],
- "time": "2023-06-08T09:54:07+00:00"
+ "time": "2023-10-09T11:27:29+00:00"
+ },
+ {
+ "name": "psr/clock",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/clock.git",
+ "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d",
+ "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Clock\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for reading the clock.",
+ "homepage": "https://github.com/php-fig/clock",
+ "keywords": [
+ "clock",
+ "now",
+ "psr",
+ "psr-20",
+ "time"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/clock/issues",
+ "source": "https://github.com/php-fig/clock/tree/1.0.0"
+ },
+ "time": "2022-11-25T14:36:26+00:00"
+ },
+ {
+ "name": "psr/container",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/container.git",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Container\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common Container Interface (PHP FIG PSR-11)",
+ "homepage": "https://github.com/php-fig/container",
+ "keywords": [
+ "PSR-11",
+ "container",
+ "container-interface",
+ "container-interop",
+ "psr"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
+ },
+ "time": "2021-11-05T16:50:12+00:00"
+ },
+ {
+ "name": "psr/simple-cache",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/simple-cache.git",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\SimpleCache\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interfaces for simple caching",
+ "keywords": [
+ "cache",
+ "caching",
+ "psr",
+ "psr-16",
+ "simple-cache"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/simple-cache/tree/master"
+ },
+ "time": "2017-10-23T01:57:42+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "2.5.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "80d075412b557d41002320b96a096ca65aa2c98d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d",
+ "reference": "80d075412b557d41002320b96a096ca65aa2c98d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/2.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-24T14:02:46+00:00"
+ },
+ {
+ "name": "symfony/http-foundation",
+ "version": "5.4.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-foundation.git",
+ "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/365992c83a836dfe635f1e903ccca43ee03d3dd2",
+ "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "require-dev": {
+ "predis/predis": "~1.0",
+ "symfony/cache": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^5.4|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4",
+ "symfony/mime": "^4.4|^5.0|^6.0",
+ "symfony/rate-limiter": "^5.2|^6.0"
+ },
+ "suggest": {
+ "symfony/mime": "To use the file extension guesser"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\HttpFoundation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Defines an object-oriented layer for the HTTP specification",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-foundation/tree/5.4"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-08-21T07:23:18+00:00"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "42292d99c55abe617799667f454222c54c60e229"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229",
+ "reference": "42292d99c55abe617799667f454222c54c60e229",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-mbstring": "*"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-07-28T09:04:16+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "1.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
+ "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-01-26T09:26:14+00:00"
+ },
+ {
+ "name": "symfony/translation",
+ "version": "5.4.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation.git",
+ "reference": "96015d73801bb59de5a43d71906c5690759f29ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/96015d73801bb59de5a43d71906c5690759f29ea",
+ "reference": "96015d73801bb59de5a43d71906c5690759f29ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation-contracts": "^2.3"
+ },
+ "conflict": {
+ "symfony/config": "<4.4",
+ "symfony/console": "<5.3",
+ "symfony/dependency-injection": "<5.0",
+ "symfony/http-kernel": "<5.0",
+ "symfony/twig-bundle": "<5.0",
+ "symfony/yaml": "<4.4"
+ },
+ "provide": {
+ "symfony/translation-implementation": "2.3"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/console": "^5.4|^6.0",
+ "symfony/dependency-injection": "^5.0|^6.0",
+ "symfony/finder": "^4.4|^5.0|^6.0",
+ "symfony/http-client-contracts": "^1.1|^2.0|^3.0",
+ "symfony/http-kernel": "^5.0|^6.0",
+ "symfony/intl": "^4.4|^5.0|^6.0",
+ "symfony/polyfill-intl-icu": "^1.21",
+ "symfony/service-contracts": "^1.1.2|^2|^3",
+ "symfony/yaml": "^4.4|^5.0|^6.0"
+ },
+ "suggest": {
+ "psr/log-implementation": "To use logging capability in translator",
+ "symfony/config": "",
+ "symfony/yaml": ""
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\Translation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools to internationalize your application",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/translation/tree/5.4"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-10-14T16:25:31+00:00"
+ },
+ {
+ "name": "symfony/translation-contracts",
+ "version": "2.5.x-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation-contracts.git",
+ "reference": "129138dd46853de65d8e4fcc526ba1f3f777ba57"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/129138dd46853de65d8e4fcc526ba1f3f777ba57",
+ "reference": "129138dd46853de65d8e4fcc526ba1f3f777ba57",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5"
+ },
+ "suggest": {
+ "symfony/translation-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Translation\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to translation",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/translation-contracts/tree/2.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-05-29T12:43:27+00:00"
},
{
"name": "tinymce/tinymce",
@@ -163,12 +1190,12 @@
"source": {
"type": "git",
"url": "https://github.com/tinymce/tinymce-dist.git",
- "reference": "6a37da4822eebcd2706793454b07bd891c5277a8"
+ "reference": "02e194ec4d37aab8335332f8ac3e8d2292ba2d47"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/6a37da4822eebcd2706793454b07bd891c5277a8",
- "reference": "6a37da4822eebcd2706793454b07bd891c5277a8",
+ "url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/02e194ec4d37aab8335332f8ac3e8d2292ba2d47",
+ "reference": "02e194ec4d37aab8335332f8ac3e8d2292ba2d47",
"shasum": ""
},
"default-branch": true,
@@ -213,9 +1240,161 @@
"wysiwyg"
],
"support": {
- "source": "https://github.com/tinymce/tinymce-dist/tree/6.4.2"
+ "source": "https://github.com/tinymce/tinymce-dist/tree/6.7.0"
},
- "time": "2023-04-26T10:48:15+00:00"
+ "time": "2023-08-30T11:10:35+00:00"
+ },
+ {
+ "name": "voku/portable-ascii",
+ "version": "1.6.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/portable-ascii.git",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-intl": "Use Intl for transliterator_transliterate() support"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "voku\\": "src/voku/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable ASCII library - performance optimized (ascii) string functions for php.",
+ "homepage": "https://github.com/voku/portable-ascii",
+ "keywords": [
+ "ascii",
+ "clean",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/portable-ascii/issues",
+ "source": "https://github.com/voku/portable-ascii/tree/1.6.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-ascii",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-24T18:55:24+00:00"
+ },
+ {
+ "name": "webklex/php-imap",
+ "version": "4.1.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Webklex/php-imap.git",
+ "reference": "94bf93ae8868ac1e073cfbaef377f0ca1acac2bc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Webklex/php-imap/zipball/94bf93ae8868ac1e073cfbaef377f0ca1acac2bc",
+ "reference": "94bf93ae8868ac1e073cfbaef377f0ca1acac2bc",
+ "shasum": ""
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "ext-iconv": "*",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "ext-openssl": "*",
+ "illuminate/pagination": ">=5.0.0",
+ "nesbot/carbon": ">=1.0",
+ "php": ">=7.0.0",
+ "symfony/http-foundation": ">=2.8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "suggest": {
+ "symfony/mime": "Recomended for better extension support"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Webklex\\PHPIMAP\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Malte Goldenbaum",
+ "email": "github@webklex.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "PHP IMAP client",
+ "homepage": "https://github.com/webklex/php-imap",
+ "keywords": [
+ "imap",
+ "mail",
+ "php-imap",
+ "pop3",
+ "webklex"
+ ],
+ "support": {
+ "issues": "https://github.com/Webklex/php-imap/issues",
+ "source": "https://github.com/Webklex/php-imap/tree/4.1.2"
+ },
+ "funding": [
+ {
+ "url": "https://www.buymeacoffee.com/webklex",
+ "type": "custom"
+ },
+ {
+ "url": "https://ko-fi.com/webklex",
+ "type": "ko_fi"
+ }
+ ],
+ "time": "2022-12-14T15:45:15+00:00"
}
],
"packages-dev": [],
@@ -231,5 +1410,5 @@
"platform-overrides": {
"php": "8.0"
},
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/include/emailinbox.php b/include/emailinbox.php
index 6e1e8de..6ab411d 100644
--- a/include/emailinbox.php
+++ b/include/emailinbox.php
@@ -14,6 +14,7 @@ class Emailinbox extends Renderer {
}
protected function readEmailHeaders(): array {
+ return [];
$cleanedHeaders = [];
try {
$mailsIds = $this->mbox->searchMailbox('ALL');
@@ -69,12 +70,12 @@ class Emailinbox extends Renderer {
protected function generateFolders(): void {
$this->connectToImap();
- $folders = $this->mbox->getMailboxes("*");
+ $folders = $this->mbox->generateFolders();
$folderItems = [];
foreach ($folders as $folder) {
- $item = '
folder ? ' class="active-folder"' : '') . '>' .
- utf8_encode($folder['shortpath']) . '';
+ $item = 'name) === $this->folder ? ' class="active-folder"' : '') . '>' .
+ utf8_encode($folder->full_name) . '';
$folderItems[] = $item;
}
$this->content['folders'] = implode('', $folderItems);
diff --git a/include/mail.php b/include/mail.php
index 6912cae..1ce9cdb 100644
--- a/include/mail.php
+++ b/include/mail.php
@@ -21,6 +21,8 @@ class Mail extends Mailhandling {
protected function generateContent(): void {
$this->mail = $this->fetchEmail();
+ $textHtml = $this->mail->textHtml;
+ $textPlain = $this->mail->textPlain;
$this->content['sender'] = $this->mail->headers->senderaddress;
$this->content['receiver'] = $this->mail->headers->toaddress;
$this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y');
diff --git a/include/renderer.php b/include/renderer.php
index 3726c25..9dd6aab 100644
--- a/include/renderer.php
+++ b/include/renderer.php
@@ -2,7 +2,8 @@
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;
-use PhpImap\Mailbox;
+use Webklex\PHPIMAP\ClientManager;
+use Webklex\PHPIMAP\Client;
require 'vendor/autoload.php';
@@ -34,7 +35,8 @@ class Renderer {
protected int $smtpPort = 465;
protected string $emailUser = 'foerderverein-ajs@gmx.de';
protected string $emailPassword = 'HarheimerWeg16';
- protected $mbox;
+ protected ClientManager $imapClientManager;
+ protected Client $mbox;
public function __construct(?string $templateName = null) {
session_start();
@@ -452,21 +454,18 @@ class Renderer {
}
protected function connectToImap($folder = ''): bool {
- $this->mbox = new PhpImap\Mailbox(
- '{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}' . imap_utf7_encode($folder),
- $this->emailUser,
- $this->emailPassword,
- __DIR__,
- 'UTF-8',
- true,
- false
- );
- $this->mbox->setConnectionArgs(
- CL_EXPUNGE,
- 3,
- []
- );
- return ($this->mbox !== false);
+ $this->imapClientManager = new ClientManager('conf/imap.php');
+ $this->mbox = $this->imapClientManager->make([
+ 'host' => $this->imapServer,
+ 'port' => $this->imapPort,
+ 'encryption' => 'ssl',
+ 'validate_cert' => true,
+ 'username' => $this->emailUser,
+ 'password' => $this->emailPassword,
+ 'protocol' => 'imap'
+ ]);
+ $this->mbox->connect();
+ return $this->mbox->isConnected();;
}
protected function saveFileLocal(string $newFileName, string $content, string $salt): void {
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
index a72151c..7824d8f 100644
--- a/vendor/composer/ClassLoader.php
+++ b/vendor/composer/ClassLoader.php
@@ -45,35 +45,34 @@ class ClassLoader
/** @var \Closure(string):void */
private static $includeFile;
- /** @var ?string */
+ /** @var string|null */
private $vendorDir;
// PSR-4
/**
- * @var array[]
- * @psalm-var array>
+ * @var array>
*/
private $prefixLengthsPsr4 = array();
/**
- * @var array[]
- * @psalm-var array>
+ * @var array>
*/
private $prefixDirsPsr4 = array();
/**
- * @var array[]
- * @psalm-var array
+ * @var list
*/
private $fallbackDirsPsr4 = array();
// PSR-0
/**
- * @var array[]
- * @psalm-var array>
+ * List of PSR-0 prefixes
+ *
+ * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
+ *
+ * @var array>>
*/
private $prefixesPsr0 = array();
/**
- * @var array[]
- * @psalm-var array
+ * @var list
*/
private $fallbackDirsPsr0 = array();
@@ -81,8 +80,7 @@ class ClassLoader
private $useIncludePath = false;
/**
- * @var string[]
- * @psalm-var array
+ * @var array
*/
private $classMap = array();
@@ -90,21 +88,20 @@ class ClassLoader
private $classMapAuthoritative = false;
/**
- * @var bool[]
- * @psalm-var array
+ * @var array
*/
private $missingClasses = array();
- /** @var ?string */
+ /** @var string|null */
private $apcuPrefix;
/**
- * @var self[]
+ * @var array
*/
private static $registeredLoaders = array();
/**
- * @param ?string $vendorDir
+ * @param string|null $vendorDir
*/
public function __construct($vendorDir = null)
{
@@ -113,7 +110,7 @@ class ClassLoader
}
/**
- * @return string[]
+ * @return array>
*/
public function getPrefixes()
{
@@ -125,8 +122,7 @@ class ClassLoader
}
/**
- * @return array[]
- * @psalm-return array>
+ * @return array>
*/
public function getPrefixesPsr4()
{
@@ -134,8 +130,7 @@ class ClassLoader
}
/**
- * @return array[]
- * @psalm-return array
+ * @return list
*/
public function getFallbackDirs()
{
@@ -143,8 +138,7 @@ class ClassLoader
}
/**
- * @return array[]
- * @psalm-return array
+ * @return list
*/
public function getFallbackDirsPsr4()
{
@@ -152,8 +146,7 @@ class ClassLoader
}
/**
- * @return string[] Array of classname => path
- * @psalm-return array
+ * @return array Array of classname => path
*/
public function getClassMap()
{
@@ -161,8 +154,7 @@ class ClassLoader
}
/**
- * @param string[] $classMap Class to filename map
- * @psalm-param array $classMap
+ * @param array $classMap Class to filename map
*
* @return void
*/
@@ -179,24 +171,25 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
- * @param string $prefix The prefix
- * @param string[]|string $paths The PSR-0 root directories
- * @param bool $prepend Whether to prepend the directories
+ * @param string $prefix The prefix
+ * @param list|string $paths The PSR-0 root directories
+ * @param bool $prepend Whether to prepend the directories
*
* @return void
*/
public function add($prefix, $paths, $prepend = false)
{
+ $paths = (array) $paths;
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
- (array) $paths,
+ $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
- (array) $paths
+ $paths
);
}
@@ -205,19 +198,19 @@ class ClassLoader
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
- $this->prefixesPsr0[$first][$prefix] = (array) $paths;
+ $this->prefixesPsr0[$first][$prefix] = $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
- (array) $paths,
+ $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
- (array) $paths
+ $paths
);
}
}
@@ -226,9 +219,9 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param string[]|string $paths The PSR-4 base directories
- * @param bool $prepend Whether to prepend the directories
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param list|string $paths The PSR-4 base directories
+ * @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*
@@ -236,17 +229,18 @@ class ClassLoader
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
+ $paths = (array) $paths;
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
- (array) $paths,
+ $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
- (array) $paths
+ $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -256,18 +250,18 @@ class ClassLoader
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ $this->prefixDirsPsr4[$prefix] = $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
- (array) $paths,
+ $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
- (array) $paths
+ $paths
);
}
}
@@ -276,8 +270,8 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
- * @param string $prefix The prefix
- * @param string[]|string $paths The PSR-0 base directories
+ * @param string $prefix The prefix
+ * @param list|string $paths The PSR-0 base directories
*
* @return void
*/
@@ -294,8 +288,8 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param string[]|string $paths The PSR-4 base directories
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param list|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*
@@ -481,9 +475,9 @@ class ClassLoader
}
/**
- * Returns the currently registered loaders indexed by their corresponding vendor directories.
+ * Returns the currently registered loaders keyed by their corresponding vendor directories.
*
- * @return self[]
+ * @return array
*/
public static function getRegisteredLoaders()
{
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 0fb0a2c..5490b88 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -6,5 +6,10 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
+ 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
+ 'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
+ 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
+ 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
+ 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
);
diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php
index f45d4f6..a9966aa 100644
--- a/vendor/composer/autoload_psr4.php
+++ b/vendor/composer/autoload_psr4.php
@@ -6,6 +6,20 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
- 'PhpImap\\' => array($vendorDir . '/php-imap/php-imap/src/PhpImap'),
+ 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'),
+ 'Webklex\\PHPIMAP\\' => array($vendorDir . '/webklex/php-imap/src'),
+ 'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
+ 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
+ 'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
+ 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
+ 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
+ 'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
+ 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
+ 'Psr\\Clock\\' => array($vendorDir . '/psr/clock/src'),
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
+ 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/support'),
+ 'Illuminate\\Pagination\\' => array($vendorDir . '/illuminate/pagination'),
+ 'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'),
+ 'Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'),
+ 'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
);
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
index 6ee0461..cc8e283 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -33,6 +33,18 @@ class ComposerAutoloaderInitb3a3dfb766a515d49b7f8665bad574b3
$loader->register(true);
+ $filesToLoad = \Composer\Autoload\ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3::$files;
+ $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
+ if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
+ $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
+
+ require $file;
+ }
+ }, null, null);
+ foreach ($filesToLoad as $fileIdentifier => $file) {
+ $requireFile($fileIdentifier, $file);
+ }
+
return $loader;
}
}
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index 00513ac..85166ea 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -6,27 +6,131 @@ namespace Composer\Autoload;
class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
{
+ public static $files = array (
+ '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
+ 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
+ '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
+ '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php',
+ 'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
+ '72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php',
+ );
+
public static $prefixLengthsPsr4 = array (
+ 'v' =>
+ array (
+ 'voku\\' => 5,
+ ),
+ 'W' =>
+ array (
+ 'Webklex\\PHPIMAP\\' => 16,
+ ),
+ 'S' =>
+ array (
+ 'Symfony\\Polyfill\\Php80\\' => 23,
+ 'Symfony\\Polyfill\\Mbstring\\' => 26,
+ 'Symfony\\Contracts\\Translation\\' => 30,
+ 'Symfony\\Component\\Translation\\' => 30,
+ 'Symfony\\Component\\HttpFoundation\\' => 33,
+ ),
'P' =>
array (
- 'PhpImap\\' => 8,
+ 'Psr\\SimpleCache\\' => 16,
+ 'Psr\\Container\\' => 14,
+ 'Psr\\Clock\\' => 10,
'PHPMailer\\PHPMailer\\' => 20,
),
+ 'I' =>
+ array (
+ 'Illuminate\\Support\\' => 19,
+ 'Illuminate\\Pagination\\' => 22,
+ 'Illuminate\\Contracts\\' => 21,
+ ),
+ 'D' =>
+ array (
+ 'Doctrine\\Inflector\\' => 19,
+ ),
+ 'C' =>
+ array (
+ 'Carbon\\' => 7,
+ ),
);
public static $prefixDirsPsr4 = array (
- 'PhpImap\\' =>
+ 'voku\\' =>
array (
- 0 => __DIR__ . '/..' . '/php-imap/php-imap/src/PhpImap',
+ 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku',
+ ),
+ 'Webklex\\PHPIMAP\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/webklex/php-imap/src',
+ ),
+ 'Symfony\\Polyfill\\Php80\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
+ ),
+ 'Symfony\\Polyfill\\Mbstring\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
+ ),
+ 'Symfony\\Contracts\\Translation\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/translation-contracts',
+ ),
+ 'Symfony\\Component\\Translation\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/translation',
+ ),
+ 'Symfony\\Component\\HttpFoundation\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/symfony/http-foundation',
+ ),
+ 'Psr\\SimpleCache\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/simple-cache/src',
+ ),
+ 'Psr\\Container\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/container/src',
+ ),
+ 'Psr\\Clock\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/psr/clock/src',
),
'PHPMailer\\PHPMailer\\' =>
array (
0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
),
+ 'Illuminate\\Support\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/illuminate/macroable',
+ 1 => __DIR__ . '/..' . '/illuminate/collections',
+ 2 => __DIR__ . '/..' . '/illuminate/support',
+ ),
+ 'Illuminate\\Pagination\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/illuminate/pagination',
+ ),
+ 'Illuminate\\Contracts\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/illuminate/contracts',
+ ),
+ 'Doctrine\\Inflector\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector',
+ ),
+ 'Carbon\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon',
+ ),
);
public static $classMap = array (
+ 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
+ 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
+ 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
+ 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
+ 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
);
public static function getInitializer(ClassLoader $loader)
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index ec7418b..d271251 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -1,49 +1,37 @@
{
"packages": [
{
- "name": "php-imap/php-imap",
- "version": "5.0.0",
- "version_normalized": "5.0.0.0",
+ "name": "doctrine/inflector",
+ "version": "2.1.x-dev",
+ "version_normalized": "2.1.9999999.9999999-dev",
"source": {
"type": "git",
- "url": "https://github.com/barbushin/php-imap.git",
- "reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c"
+ "url": "https://github.com/doctrine/inflector.git",
+ "reference": "d62dadcaaf16432c7c1364bf50be9e03f26ff043"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barbushin/php-imap/zipball/13bdfa9a6f541798253e24e2d8f44332c8be098c",
- "reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/d62dadcaaf16432c7c1364bf50be9e03f26ff043",
+ "reference": "d62dadcaaf16432c7c1364bf50be9e03f26ff043",
"shasum": ""
},
"require": {
- "ext-fileinfo": "*",
- "ext-iconv": "*",
- "ext-imap": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "php": "^7.4 || ^8.0"
+ "php": "^7.2 || ^8.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.4",
- "maglnet/composer-require-checker": "^2.0|^3.2",
- "nikic/php-parser": "^4.3,<4.7|^4.10",
- "paragonie/hidden-string": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3",
- "phpunit/phpunit": "^8.5|^9.5",
- "povils/phpmnd": "^2.2",
- "psalm/plugin-phpunit": "^0.10.0|^0.15.1",
- "roave/security-advisories": "dev-master",
- "sebastian/phpcpd": "^4.1|^6.0"
+ "doctrine/coding-standard": "^11.0",
+ "phpstan/phpstan": "^1.8",
+ "phpstan/phpstan-phpunit": "^1.1",
+ "phpstan/phpstan-strict-rules": "^1.3",
+ "phpunit/phpunit": "^8.5 || ^9.5",
+ "vimeo/psalm": "^4.25 || ^5.4"
},
- "suggest": {
- "ext-fileinfo": "To facilitate IncomingMailAttachment::getFileInfo() auto-detection"
- },
- "time": "2022-03-12T14:39:59+00:00",
+ "time": "2023-06-16T13:41:28+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
- "PhpImap\\": "src/PhpImap"
+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -52,26 +40,450 @@
],
"authors": [
{
- "name": "Sergey Barbushin",
- "email": "barbushin@gmail.com",
- "homepage": "http://linkedin.com/in/barbushin"
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Benjamin Eberlei",
+ "email": "kontakt@beberlei.de"
+ },
+ {
+ "name": "Jonathan Wage",
+ "email": "jonwage@gmail.com"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
}
],
- "description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
- "homepage": "https://github.com/barbushin/php-imap",
+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",
+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",
"keywords": [
- "imap",
- "mail",
- "mailbox",
+ "inflection",
+ "inflector",
+ "lowercase",
+ "manipulation",
"php",
- "pop3",
- "receive emails"
+ "plural",
+ "singular",
+ "strings",
+ "uppercase",
+ "words"
],
"support": {
- "issues": "https://github.com/barbushin/php-imap/issues",
- "source": "https://github.com/barbushin/php-imap/tree/5.0.0"
+ "issues": "https://github.com/doctrine/inflector/issues",
+ "source": "https://github.com/doctrine/inflector/tree/2.1.x"
},
- "install-path": "../php-imap/php-imap"
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../doctrine/inflector"
+ },
+ {
+ "name": "illuminate/collections",
+ "version": "8.x-dev",
+ "version_normalized": "8.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/collections.git",
+ "reference": "705a4e1ef93cd492c45b9b3e7911cccc990a07f4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/705a4e1ef93cd492c45b9b3e7911cccc990a07f4",
+ "reference": "705a4e1ef93cd492c45b9b3e7911cccc990a07f4",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0",
+ "php": "^7.3|^8.0"
+ },
+ "suggest": {
+ "symfony/var-dumper": "Required to use the dump method (^5.4)."
+ },
+ "time": "2022-06-23T15:29:49+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "helpers.php"
+ ],
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Collections package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "install-path": "../illuminate/collections"
+ },
+ {
+ "name": "illuminate/contracts",
+ "version": "8.x-dev",
+ "version_normalized": "8.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/contracts.git",
+ "reference": "5e0fd287a1b22a6b346a9f7cd484d8cf0234585d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/5e0fd287a1b22a6b346a9f7cd484d8cf0234585d",
+ "reference": "5e0fd287a1b22a6b346a9f7cd484d8cf0234585d",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3|^8.0",
+ "psr/container": "^1.0",
+ "psr/simple-cache": "^1.0"
+ },
+ "time": "2022-01-13T14:47:47+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Contracts\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Contracts package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "install-path": "../illuminate/contracts"
+ },
+ {
+ "name": "illuminate/macroable",
+ "version": "8.x-dev",
+ "version_normalized": "8.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/macroable.git",
+ "reference": "aed81891a6e046fdee72edd497f822190f61c162"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/macroable/zipball/aed81891a6e046fdee72edd497f822190f61c162",
+ "reference": "aed81891a6e046fdee72edd497f822190f61c162",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.3|^8.0"
+ },
+ "time": "2021-11-16T13:57:03+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Macroable package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "install-path": "../illuminate/macroable"
+ },
+ {
+ "name": "illuminate/pagination",
+ "version": "8.x-dev",
+ "version_normalized": "8.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/pagination.git",
+ "reference": "16fe8dc35f9d18c58a3471469af656a02e9ab692"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/pagination/zipball/16fe8dc35f9d18c58a3471469af656a02e9ab692",
+ "reference": "16fe8dc35f9d18c58a3471469af656a02e9ab692",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/support": "^8.0",
+ "php": "^7.3|^8.0"
+ },
+ "time": "2022-06-27T13:26:06+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Pagination\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Pagination package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "install-path": "../illuminate/pagination"
+ },
+ {
+ "name": "illuminate/support",
+ "version": "8.x-dev",
+ "version_normalized": "8.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/illuminate/support.git",
+ "reference": "ad030d68770e00a395822a4c243b931be3e4d3c7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/ad030d68770e00a395822a4c243b931be3e4d3c7",
+ "reference": "ad030d68770e00a395822a4c243b931be3e4d3c7",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/inflector": "^1.4|^2.0",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "illuminate/collections": "^8.0",
+ "illuminate/contracts": "^8.0",
+ "illuminate/macroable": "^8.0",
+ "nesbot/carbon": "^2.53.1",
+ "php": "^7.3|^8.0",
+ "voku/portable-ascii": "^1.6.1"
+ },
+ "conflict": {
+ "tightenco/collect": "<5.5.33"
+ },
+ "suggest": {
+ "illuminate/filesystem": "Required to use the composer class (^8.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
+ "symfony/process": "Required to use the composer class (^5.4).",
+ "symfony/var-dumper": "Required to use the dd function (^5.4).",
+ "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)."
+ },
+ "time": "2023-06-11T21:11:10+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "helpers.php"
+ ],
+ "psr-4": {
+ "Illuminate\\Support\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Illuminate Support package.",
+ "homepage": "https://laravel.com",
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "install-path": "../illuminate/support"
+ },
+ {
+ "name": "nesbot/carbon",
+ "version": "dev-master",
+ "version_normalized": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/briannesbitt/Carbon.git",
+ "reference": "98276233188583f2ff845a0f992a235472d9466a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/98276233188583f2ff845a0f992a235472d9466a",
+ "reference": "98276233188583f2ff845a0f992a235472d9466a",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.1.8 || ^8.0",
+ "psr/clock": "^1.0",
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
+ },
+ "provide": {
+ "psr/clock-implementation": "1.0"
+ },
+ "require-dev": {
+ "doctrine/dbal": "^2.0 || ^3.1.4",
+ "doctrine/orm": "^2.7",
+ "friendsofphp/php-cs-fixer": "^3.0",
+ "kylekatarnls/multi-tester": "^2.0",
+ "ondrejmirtes/better-reflection": "*",
+ "phpmd/phpmd": "^2.9",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.99 || ^1.7.14",
+ "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",
+ "squizlabs/php_codesniffer": "^3.4"
+ },
+ "time": "2023-09-25T11:31:05+00:00",
+ "default-branch": true,
+ "bin": [
+ "bin/carbon"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-3.x": "3.x-dev",
+ "dev-master": "2.x-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Carbon\\Laravel\\ServiceProvider"
+ ]
+ },
+ "phpstan": {
+ "includes": [
+ "extension.neon"
+ ]
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Carbon\\": "src/Carbon/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Brian Nesbitt",
+ "email": "brian@nesbot.com",
+ "homepage": "https://markido.com"
+ },
+ {
+ "name": "kylekatarnls",
+ "homepage": "https://github.com/kylekatarnls"
+ }
+ ],
+ "description": "An API extension for DateTime that supports 281 different languages.",
+ "homepage": "https://carbon.nesbot.com",
+ "keywords": [
+ "date",
+ "datetime",
+ "time"
+ ],
+ "support": {
+ "docs": "https://carbon.nesbot.com/docs",
+ "issues": "https://github.com/briannesbitt/Carbon/issues",
+ "source": "https://github.com/briannesbitt/Carbon"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sponsors/kylekatarnls",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/Carbon#sponsor",
+ "type": "opencollective"
+ },
+ {
+ "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../nesbot/carbon"
},
{
"name": "phpmailer/phpmailer",
@@ -80,12 +492,12 @@
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
- "reference": "312ed95ab03e7f3f0316191e5bfb9f920b705825"
+ "reference": "a1fa2714c447adda7e6b07c4bfa290dfc1a035b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/312ed95ab03e7f3f0316191e5bfb9f920b705825",
- "reference": "312ed95ab03e7f3f0316191e5bfb9f920b705825",
+ "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a1fa2714c447adda7e6b07c4bfa290dfc1a035b2",
+ "reference": "a1fa2714c447adda7e6b07c4bfa290dfc1a035b2",
"shasum": ""
},
"require": {
@@ -114,7 +526,7 @@
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
},
- "time": "2023-06-08T09:54:07+00:00",
+ "time": "2023-10-09T11:27:29+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
@@ -157,6 +569,666 @@
],
"install-path": "../phpmailer/phpmailer"
},
+ {
+ "name": "psr/clock",
+ "version": "1.0.0",
+ "version_normalized": "1.0.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/clock.git",
+ "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d",
+ "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0"
+ },
+ "time": "2022-11-25T14:36:26+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Clock\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for reading the clock.",
+ "homepage": "https://github.com/php-fig/clock",
+ "keywords": [
+ "clock",
+ "now",
+ "psr",
+ "psr-20",
+ "time"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/clock/issues",
+ "source": "https://github.com/php-fig/clock/tree/1.0.0"
+ },
+ "install-path": "../psr/clock"
+ },
+ {
+ "name": "psr/container",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/container.git",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.4.0"
+ },
+ "time": "2021-11-05T16:50:12+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Container\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common Container Interface (PHP FIG PSR-11)",
+ "homepage": "https://github.com/php-fig/container",
+ "keywords": [
+ "PSR-11",
+ "container",
+ "container-interface",
+ "container-interop",
+ "psr"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
+ },
+ "install-path": "../psr/container"
+ },
+ {
+ "name": "psr/simple-cache",
+ "version": "1.0.1",
+ "version_normalized": "1.0.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/simple-cache.git",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "2017-10-23T01:57:42+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Psr\\SimpleCache\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interfaces for simple caching",
+ "keywords": [
+ "cache",
+ "caching",
+ "psr",
+ "psr-16",
+ "simple-cache"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/simple-cache/tree/master"
+ },
+ "install-path": "../psr/simple-cache"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "2.5.x-dev",
+ "version_normalized": "2.5.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "80d075412b557d41002320b96a096ca65aa2c98d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d",
+ "reference": "80d075412b557d41002320b96a096ca65aa2c98d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "time": "2023-01-24T14:02:46+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/2.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/deprecation-contracts"
+ },
+ {
+ "name": "symfony/http-foundation",
+ "version": "5.4.x-dev",
+ "version_normalized": "5.4.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-foundation.git",
+ "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/365992c83a836dfe635f1e903ccca43ee03d3dd2",
+ "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "require-dev": {
+ "predis/predis": "~1.0",
+ "symfony/cache": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^5.4|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4",
+ "symfony/mime": "^4.4|^5.0|^6.0",
+ "symfony/rate-limiter": "^5.2|^6.0"
+ },
+ "suggest": {
+ "symfony/mime": "To use the file extension guesser"
+ },
+ "time": "2023-08-21T07:23:18+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\HttpFoundation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Defines an object-oriented layer for the HTTP specification",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-foundation/tree/5.4"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/http-foundation"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "42292d99c55abe617799667f454222c54c60e229"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229",
+ "reference": "42292d99c55abe617799667f454222c54c60e229",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-mbstring": "*"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "time": "2023-07-28T09:04:16+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-mbstring"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "1.x-dev",
+ "version_normalized": "1.9999999.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
+ "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "time": "2023-01-26T09:26:14+00:00",
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.28-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/polyfill-php80"
+ },
+ {
+ "name": "symfony/translation",
+ "version": "5.4.x-dev",
+ "version_normalized": "5.4.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation.git",
+ "reference": "96015d73801bb59de5a43d71906c5690759f29ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/96015d73801bb59de5a43d71906c5690759f29ea",
+ "reference": "96015d73801bb59de5a43d71906c5690759f29ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation-contracts": "^2.3"
+ },
+ "conflict": {
+ "symfony/config": "<4.4",
+ "symfony/console": "<5.3",
+ "symfony/dependency-injection": "<5.0",
+ "symfony/http-kernel": "<5.0",
+ "symfony/twig-bundle": "<5.0",
+ "symfony/yaml": "<4.4"
+ },
+ "provide": {
+ "symfony/translation-implementation": "2.3"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/console": "^5.4|^6.0",
+ "symfony/dependency-injection": "^5.0|^6.0",
+ "symfony/finder": "^4.4|^5.0|^6.0",
+ "symfony/http-client-contracts": "^1.1|^2.0|^3.0",
+ "symfony/http-kernel": "^5.0|^6.0",
+ "symfony/intl": "^4.4|^5.0|^6.0",
+ "symfony/polyfill-intl-icu": "^1.21",
+ "symfony/service-contracts": "^1.1.2|^2|^3",
+ "symfony/yaml": "^4.4|^5.0|^6.0"
+ },
+ "suggest": {
+ "psr/log-implementation": "To use logging capability in translator",
+ "symfony/config": "",
+ "symfony/yaml": ""
+ },
+ "time": "2023-10-14T16:25:31+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\Translation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools to internationalize your application",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/translation/tree/5.4"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/translation"
+ },
+ {
+ "name": "symfony/translation-contracts",
+ "version": "2.5.x-dev",
+ "version_normalized": "2.5.9999999.9999999-dev",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation-contracts.git",
+ "reference": "129138dd46853de65d8e4fcc526ba1f3f777ba57"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/129138dd46853de65d8e4fcc526ba1f3f777ba57",
+ "reference": "129138dd46853de65d8e4fcc526ba1f3f777ba57",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5"
+ },
+ "suggest": {
+ "symfony/translation-implementation": ""
+ },
+ "time": "2023-05-29T12:43:27+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Translation\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to translation",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/translation-contracts/tree/2.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../symfony/translation-contracts"
+ },
{
"name": "tinymce/tinymce",
"version": "dev-master",
@@ -164,15 +1236,15 @@
"source": {
"type": "git",
"url": "https://github.com/tinymce/tinymce-dist.git",
- "reference": "6a37da4822eebcd2706793454b07bd891c5277a8"
+ "reference": "02e194ec4d37aab8335332f8ac3e8d2292ba2d47"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/6a37da4822eebcd2706793454b07bd891c5277a8",
- "reference": "6a37da4822eebcd2706793454b07bd891c5277a8",
+ "url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/02e194ec4d37aab8335332f8ac3e8d2292ba2d47",
+ "reference": "02e194ec4d37aab8335332f8ac3e8d2292ba2d47",
"shasum": ""
},
- "time": "2023-04-26T10:48:15+00:00",
+ "time": "2023-08-30T11:10:35+00:00",
"default-branch": true,
"type": "component",
"extra": {
@@ -216,9 +1288,167 @@
"wysiwyg"
],
"support": {
- "source": "https://github.com/tinymce/tinymce-dist/tree/6.4.2"
+ "source": "https://github.com/tinymce/tinymce-dist/tree/6.7.0"
},
"install-path": "../tinymce/tinymce"
+ },
+ {
+ "name": "voku/portable-ascii",
+ "version": "1.6.1",
+ "version_normalized": "1.6.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/portable-ascii.git",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-intl": "Use Intl for transliterator_transliterate() support"
+ },
+ "time": "2022-01-24T18:55:24+00:00",
+ "type": "library",
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "voku\\": "src/voku/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable ASCII library - performance optimized (ascii) string functions for php.",
+ "homepage": "https://github.com/voku/portable-ascii",
+ "keywords": [
+ "ascii",
+ "clean",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/portable-ascii/issues",
+ "source": "https://github.com/voku/portable-ascii/tree/1.6.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-ascii",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii",
+ "type": "tidelift"
+ }
+ ],
+ "install-path": "../voku/portable-ascii"
+ },
+ {
+ "name": "webklex/php-imap",
+ "version": "4.1.2",
+ "version_normalized": "4.1.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Webklex/php-imap.git",
+ "reference": "94bf93ae8868ac1e073cfbaef377f0ca1acac2bc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Webklex/php-imap/zipball/94bf93ae8868ac1e073cfbaef377f0ca1acac2bc",
+ "reference": "94bf93ae8868ac1e073cfbaef377f0ca1acac2bc",
+ "shasum": ""
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "ext-iconv": "*",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "ext-openssl": "*",
+ "illuminate/pagination": ">=5.0.0",
+ "nesbot/carbon": ">=1.0",
+ "php": ">=7.0.0",
+ "symfony/http-foundation": ">=2.8.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "suggest": {
+ "symfony/mime": "Recomended for better extension support"
+ },
+ "time": "2022-12-14T15:45:15+00:00",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Webklex\\PHPIMAP\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Malte Goldenbaum",
+ "email": "github@webklex.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "PHP IMAP client",
+ "homepage": "https://github.com/webklex/php-imap",
+ "keywords": [
+ "imap",
+ "mail",
+ "php-imap",
+ "pop3",
+ "webklex"
+ ],
+ "support": {
+ "issues": "https://github.com/Webklex/php-imap/issues",
+ "source": "https://github.com/Webklex/php-imap/tree/4.1.2"
+ },
+ "funding": [
+ {
+ "url": "https://www.buymeacoffee.com/webklex",
+ "type": "custom"
+ },
+ {
+ "url": "https://ko-fi.com/webklex",
+ "type": "ko_fi"
+ }
+ ],
+ "install-path": "../webklex/php-imap"
}
],
"dev": true,
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index b98670e..8f52ac8 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '1c6f08b77a9f8f7d91de74616da0b18dfccef4e8',
+ 'reference' => '54d30dd3c3ff737ecc0ef62de19a7c9ed29fea2d',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -13,25 +13,81 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '1c6f08b77a9f8f7d91de74616da0b18dfccef4e8',
+ 'reference' => '54d30dd3c3ff737ecc0ef62de19a7c9ed29fea2d',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
- 'php-imap/php-imap' => array(
- 'pretty_version' => '5.0.0',
- 'version' => '5.0.0.0',
- 'reference' => '13bdfa9a6f541798253e24e2d8f44332c8be098c',
+ 'doctrine/inflector' => array(
+ 'pretty_version' => '2.1.x-dev',
+ 'version' => '2.1.9999999.9999999-dev',
+ 'reference' => 'd62dadcaaf16432c7c1364bf50be9e03f26ff043',
'type' => 'library',
- 'install_path' => __DIR__ . '/../php-imap/php-imap',
+ 'install_path' => __DIR__ . '/../doctrine/inflector',
'aliases' => array(),
'dev_requirement' => false,
),
+ 'illuminate/collections' => array(
+ 'pretty_version' => '8.x-dev',
+ 'version' => '8.9999999.9999999.9999999-dev',
+ 'reference' => '705a4e1ef93cd492c45b9b3e7911cccc990a07f4',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/collections',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'illuminate/contracts' => array(
+ 'pretty_version' => '8.x-dev',
+ 'version' => '8.9999999.9999999.9999999-dev',
+ 'reference' => '5e0fd287a1b22a6b346a9f7cd484d8cf0234585d',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/contracts',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'illuminate/macroable' => array(
+ 'pretty_version' => '8.x-dev',
+ 'version' => '8.9999999.9999999.9999999-dev',
+ 'reference' => 'aed81891a6e046fdee72edd497f822190f61c162',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/macroable',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'illuminate/pagination' => array(
+ 'pretty_version' => '8.x-dev',
+ 'version' => '8.9999999.9999999.9999999-dev',
+ 'reference' => '16fe8dc35f9d18c58a3471469af656a02e9ab692',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/pagination',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'illuminate/support' => array(
+ 'pretty_version' => '8.x-dev',
+ 'version' => '8.9999999.9999999.9999999-dev',
+ 'reference' => 'ad030d68770e00a395822a4c243b931be3e4d3c7',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/support',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'nesbot/carbon' => array(
+ 'pretty_version' => 'dev-master',
+ 'version' => 'dev-master',
+ 'reference' => '98276233188583f2ff845a0f992a235472d9466a',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../nesbot/carbon',
+ 'aliases' => array(
+ 0 => '2.x-dev',
+ ),
+ 'dev_requirement' => false,
+ ),
'phpmailer/phpmailer' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '312ed95ab03e7f3f0316191e5bfb9f920b705825',
+ 'reference' => 'a1fa2714c447adda7e6b07c4bfa290dfc1a035b2',
'type' => 'library',
'install_path' => __DIR__ . '/../phpmailer/phpmailer',
'aliases' => array(
@@ -39,10 +95,103 @@
),
'dev_requirement' => false,
),
+ 'psr/clock' => array(
+ 'pretty_version' => '1.0.0',
+ 'version' => '1.0.0.0',
+ 'reference' => 'e41a24703d4560fd0acb709162f73b8adfc3aa0d',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/clock',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'psr/clock-implementation' => array(
+ 'dev_requirement' => false,
+ 'provided' => array(
+ 0 => '1.0',
+ ),
+ ),
+ 'psr/container' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/container',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'psr/simple-cache' => array(
+ 'pretty_version' => '1.0.1',
+ 'version' => '1.0.1.0',
+ 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../psr/simple-cache',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/deprecation-contracts' => array(
+ 'pretty_version' => '2.5.x-dev',
+ 'version' => '2.5.9999999.9999999-dev',
+ 'reference' => '80d075412b557d41002320b96a096ca65aa2c98d',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/http-foundation' => array(
+ 'pretty_version' => '5.4.x-dev',
+ 'version' => '5.4.9999999.9999999-dev',
+ 'reference' => '365992c83a836dfe635f1e903ccca43ee03d3dd2',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/http-foundation',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/polyfill-mbstring' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '42292d99c55abe617799667f454222c54c60e229',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/polyfill-php80' => array(
+ 'pretty_version' => '1.x-dev',
+ 'version' => '1.9999999.9999999.9999999-dev',
+ 'reference' => '6caa57379c4aec19c0a12a38b59b26487dcfe4b5',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-php80',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/translation' => array(
+ 'pretty_version' => '5.4.x-dev',
+ 'version' => '5.4.9999999.9999999-dev',
+ 'reference' => '96015d73801bb59de5a43d71906c5690759f29ea',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/translation',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/translation-contracts' => array(
+ 'pretty_version' => '2.5.x-dev',
+ 'version' => '2.5.9999999.9999999-dev',
+ 'reference' => '129138dd46853de65d8e4fcc526ba1f3f777ba57',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../symfony/translation-contracts',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'symfony/translation-implementation' => array(
+ 'dev_requirement' => false,
+ 'provided' => array(
+ 0 => '2.3',
+ ),
+ ),
'tinymce/tinymce' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '6a37da4822eebcd2706793454b07bd891c5277a8',
+ 'reference' => '02e194ec4d37aab8335332f8ac3e8d2292ba2d47',
'type' => 'component',
'install_path' => __DIR__ . '/../tinymce/tinymce',
'aliases' => array(
@@ -50,5 +199,23 @@
),
'dev_requirement' => false,
),
+ 'voku/portable-ascii' => array(
+ 'pretty_version' => '1.6.1',
+ 'version' => '1.6.1.0',
+ 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../voku/portable-ascii',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'webklex/php-imap' => array(
+ 'pretty_version' => '4.1.2',
+ 'version' => '4.1.2.0',
+ 'reference' => '94bf93ae8868ac1e073cfbaef377f0ca1acac2bc',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../webklex/php-imap',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
),
);
diff --git a/vendor/php-imap/php-imap/.codeclimate.yml b/vendor/php-imap/php-imap/.codeclimate.yml
deleted file mode 100644
index 651c187..0000000
--- a/vendor/php-imap/php-imap/.codeclimate.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-# Advanced Configuration for CodeClimate: https://docs.codeclimate.com/docs
-languages:
- PHP: true
-exclude_paths: ["tests/*", "examples/*"]
-version: "2" # required to adjust maintainability checks
-checks:
- argument-count:
- config:
- threshold: 5
- complex-logic:
- config:
- threshold: 4
- file-lines:
- config:
- threshold: 250
- method-complexity:
- config:
- threshold: 5
- method-count:
- config:
- threshold: 20
- method-lines:
- config:
- threshold: 40
- nested-control-flow:
- config:
- threshold: 4
- return-statements:
- config:
- threshold: 4
- similar-code:
- config:
- threshold: # language-specific defaults. an override will affect all languages.
- identical-code:
- config:
- threshold: # language-specific defaults. an override will affect all languages.
diff --git a/vendor/php-imap/php-imap/.editorconfig b/vendor/php-imap/php-imap/.editorconfig
deleted file mode 100644
index b06b4db..0000000
--- a/vendor/php-imap/php-imap/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-root = true
-
-[*]
-indent_style = space
-indent_size = 4
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[*.yml]
-indent_size = 2
-
-[composer.json]
-indent_style = space
diff --git a/vendor/php-imap/php-imap/.github/CONTRIBUTING/contributing.md b/vendor/php-imap/php-imap/.github/CONTRIBUTING/contributing.md
deleted file mode 100644
index 9751018..0000000
--- a/vendor/php-imap/php-imap/.github/CONTRIBUTING/contributing.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# How to contribute
-
-First of all, thanks for taking the time to contribute!
-
-Every contribution, being it pull requests, bug reports or feature requests, will help to improve this library!
-
-## Ways to contribute
-
-* Found a bug? Want a feature? Or just having question? [Open an
-issue!](https://github.com/barbushin/php-imap/issues/new/choose)
-* Add a feature or fix a bug:
- * Check for existing issue or create a new one.
- * Fork the repo, make your changes.
- * Create a pull request, and reference the issue.
-* Add examples, tests, or improve documentation.
-
-## Test
-
-When committing code, please make sure to test before creating a pull request.
-
-We use PHPUnit for testing, feel free to add new tests. This is not a requirement, but helps us maintain code coverage.
diff --git a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/bug_report.md b/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 10cb27e..0000000
--- a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG] A short description of what the bug is"
-labels: needs investigation
-assignees: ''
-
----
-
-**Environment (please complete the following information):**
- - PHP IMAP version: [e.g. 3.0.11]
- - PHP Version: [e.g. 7.1.26]
- - Type of execution: [e.g. Daemon / CLI or Web Server]
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior.
-
-The used code:
-```php
-$mailbox = new Mailbox(...
-```
-
-The headers of the parsed email, if required and possible (only, if it's NOT confidential):
-```
-Received: from BN3NAM04HT142.eop-NAM04.prod.protection.outlook.com
-(2603:10a6:209:2a::30) by AM6PR05MB6294.eurprd05.prod.outlook.com with HTTPS
-via AM6PR07CA0017.EURPRD07.PROD.OUTLOOK.COM; Sun, 5 May 2019 12:29:42 +0000
-Received: from BN3NAM04FT054.eop-NAM04.prod.protection.outlook.com
-(10.152.92.54) by BN3NAM04HT142.eop-NAM04.prod.protection.outlook.com
-(10.152.92.244) with Microsoft SMTP Server (version=TLS1_2,
-cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1835.13; Sun, 5 May
-2019 12:29:41 +0000
-...
-```
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots / Outputs**
-If applicable, add screenshots or outputs of your script to help explain your problem.
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/feature_request.md b/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index 508eeef..0000000
--- a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: "[Feature Request] A short description of what you want to happen"
-labels: needs investigation
-assignees: ''
-
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.
diff --git a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/other-issue.md b/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/other-issue.md
deleted file mode 100644
index af8fbe6..0000000
--- a/vendor/php-imap/php-imap/.github/ISSUE_TEMPLATE/other-issue.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-name: Other Issue
-about: Ask your question, if it's not a bug or feature request
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**Environment (please complete the following information):**
- - PHP IMAP version: [e.g. 3.0.11]
- - PHP Version: [e.g. 7.1.26]
- - Type of execution: [e.g. Daemon / CLI or Web Server]
-
-**Your Text**
-A clear and concise description of what you want.
diff --git a/vendor/php-imap/php-imap/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/vendor/php-imap/php-imap/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
deleted file mode 100644
index 256e2e6..0000000
--- a/vendor/php-imap/php-imap/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
+++ /dev/null
@@ -1,16 +0,0 @@
-**Describe the change(s)**
-
-A clear and concise description of what you changed and why you changed it.
-
-**Example code to use new / updated methods**
-
-```php
-$mailbox = new Mailbox(...
-```
-
----
-Make sure, that these boxes are checked before creating your pull request:
-
-- [ ] A short description of this change is provided
-- [ ] A short example code is provided, if possible
-- [ ] PHPUnit tests for your changes exists
diff --git a/vendor/php-imap/php-imap/.github/workflows/php_code_coverage.yml b/vendor/php-imap/php-imap/.github/workflows/php_code_coverage.yml
deleted file mode 100644
index 9b21626..0000000
--- a/vendor/php-imap/php-imap/.github/workflows/php_code_coverage.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: PHP Code Coverage
-
-on:
- push:
- branches:
- - master
- pull_request:
-
-jobs:
- coverage:
- name: Coverage
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system: ['ubuntu-20.04']
- php-versions: ['8.1']
-
- steps:
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- coverage: xdebug
-
- - uses: actions/checkout@v2
-
- - name: Validate composer.json and composer.lock
- run: composer validate
-
- - name: Get Composer Cache Directory
- id: composer-cache
- run: |
- echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache Files
- uses: actions/cache@v2
- with:
- path: |
- ${{ steps.composer-cache.outputs.dir }}
- **/.php_cs.cache
- key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- ${{ runner.os }}-composer-
- - name: Install dependencies
- if: steps.composer-cache.outputs.cache-hit != 'true'
- run: composer install --prefer-dist --no-progress --no-suggest
-
- - name: Run tests
- uses: paambaati/codeclimate-action@v2.7.2
- env:
- CC_TEST_REPORTER_ID: "945dfb58a832d233a3caeb84e3e6d3be212e8c7abcb48117fce63b9adcb43647"
- with:
- coverageCommand: ./vendor/bin/phpunit --testdox --stop-on-failure --coverage-clover=clover.xml
diff --git a/vendor/php-imap/php-imap/.github/workflows/php_static_analysis.yml b/vendor/php-imap/php-imap/.github/workflows/php_static_analysis.yml
deleted file mode 100644
index eb68eca..0000000
--- a/vendor/php-imap/php-imap/.github/workflows/php_static_analysis.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-name: PHP Static Analysis & Tests
-
-on:
- push:
- branches:
- - master
- pull_request:
-
-jobs:
- static-analysis:
- name: Static Analysis PHP ${{ matrix.php-versions }}
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system: ['ubuntu-20.04']
- php-versions: ['7.4', '8.0', '8.1']
-
- steps:
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- coverage: none
-
- - uses: actions/checkout@v2
-
- - name: Validate composer.json and composer.lock
- run: composer validate
-
- - name: Get Composer Cache Directory
- id: composer-cache
- run: |
- echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache Files
- uses: actions/cache@v2
- with:
- path: |
- ${{ steps.composer-cache.outputs.dir }}
- **/.php_cs.cache
- key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- ${{ runner.os }}-composer-
-
- - name: Install dependencies
- if: steps.composer-cache.outputs.cache-hit != 'true'
- run: composer install --prefer-dist --no-progress --no-suggest
-
- - name: Run static analysis
- run: composer run static-analysis
diff --git a/vendor/php-imap/php-imap/.github/workflows/php_unit_tests.yml b/vendor/php-imap/php-imap/.github/workflows/php_unit_tests.yml
deleted file mode 100644
index fe1023f..0000000
--- a/vendor/php-imap/php-imap/.github/workflows/php_unit_tests.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-name: PHP Unit Tests
-
-on:
- push:
- branches:
- - master
- pull_request:
-
-jobs:
- phpunit:
- name: PHP ${{ matrix.php-versions }} Unit Tests
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system: ['ubuntu-20.04']
- php-versions: ['7.4', '8.0', '8.1']
-
- steps:
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- coverage: none
-
- - uses: actions/checkout@v2
-
- - name: Validate composer.json and composer.lock
- run: composer validate
-
- - name: Get Composer Cache Directory
- id: composer-cache
- run: |
- echo "::set-output name=dir::$(composer config cache-files-dir)"
-
- - name: Cache Files
- uses: actions/cache@v2
- with:
- path: |
- ${{ steps.composer-cache.outputs.dir }}
- **/.php_cs.cache
- key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
- restore-keys: |
- ${{ runner.os }}-composer-
-
- - name: Install dependencies
- if: steps.composer-cache.outputs.cache-hit != 'true'
- run: composer install --prefer-dist --no-progress --no-suggest
-
- - name: Run tests
- run: ./vendor/bin/phpunit --testdox --stop-on-failure
diff --git a/vendor/php-imap/php-imap/.gitignore b/vendor/php-imap/php-imap/.gitignore
deleted file mode 100644
index fb9818c..0000000
--- a/vendor/php-imap/php-imap/.gitignore
+++ /dev/null
@@ -1,179 +0,0 @@
-# All of the vendor directory should be installed by running 'composer install'
-vendor/
-composer.lock
-*.phar
-.php-cs-fixer.cache
-coverage/
-psalm/cache/
-
-#################
-## Eclipse
-#################
-
-*.pydevproject
-.project
-.metadata
-.idea
-bin/
-tmp/
-*.tmp
-*.bak
-*.swp
-*~.nib
-local.properties
-.classpath
-.settings/
-.loadpath
-
-# External tool builders
-.externalToolBuilders/
-
-# Locally stored "Eclipse launch configurations"
-*.launch
-
-# CDT-specific
-.cproject
-
-# PDT-specific
-.buildpath
-
-
-#################
-## Visual Studio
-#################
-
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# User-specific files
-*.suo
-*.user
-*.sln.docstates
-
-# Build results
-[Dd]ebug/
-[Rr]elease/
-*_i.c
-*_p.c
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.vspscc
-.builds
-*.dotCover
-
-## TODO: If you have NuGet Package Restore enabled, uncomment this
-#packages/
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opensdf
-*.sdf
-
-# Visual Studio profiler
-*.psess
-*.vsp
-
-# ReSharper is a .NET coding add-in
-_ReSharper*
-
-# Installshield output folder
-[Ee]xpress
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish
-
-# Others
-[Bb]in
-[Oo]bj
-sql
-TestResults
-*.Cache
-ClientBin
-stylecop.*
-~$*
-*.dbmdl
-Generated_Code #added for RIA/Silverlight projects
-
-# Backup & report files from converting an old project file to a newer
-# Visual Studio version. Backup files are not needed, because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-
-
-
-############
-## Windows
-############
-
-# Windows image file caches
-Thumbs.db
-
-# Folder config file
-Desktop.ini
-
-
-#############
-## Python
-#############
-
-*.py[co]
-
-# Packages
-*.egg
-*.egg-info
-dist
-build
-eggs
-parts
-bin
-var
-sdist
-develop-eggs
-.installed.cfg
-
-# Installer logs
-pip-log.txt
-
-# Unit test / coverage reports
-.coverage
-.tox
-clover.xml
-
-#Translations
-*.mo
-
-#Mr Developer
-.mr.developer.cfg
-
-# Mac crap
-.DS_Store
-
-# NetBeans IDE
-nbproject/
-
-# Visual Studio Code
-.vscode/
diff --git a/vendor/php-imap/php-imap/.php-cs-fixer.dist.php b/vendor/php-imap/php-imap/.php-cs-fixer.dist.php
deleted file mode 100644
index 924761f..0000000
--- a/vendor/php-imap/php-imap/.php-cs-fixer.dist.php
+++ /dev/null
@@ -1,39 +0,0 @@
-setRiskyAllowed(true)
- ->setRules([
- '@Symfony' => true,
- '@Symfony:risky' => true,
- '@PHP71Migration' => true, // @PHP72Migration does not exist
- '@PHP71Migration:risky' => true, // @PHP72Migration:risky does not exist
- 'array_syntax' => ['syntax' => 'short'],
- 'declare_strict_types' => true,
- 'global_namespace_import' => [
- 'import_classes' => true,
- 'import_constants' => true,
- 'import_functions' => false,
- ],
- 'native_constant_invocation' => true,
- 'native_function_invocation' => [
- 'strict' => false,
- 'include' => ['@compiler_optimized'],
- ],
- 'no_superfluous_phpdoc_tags' => true,
- 'ordered_class_elements' => true,
- 'ordered_imports' => true,
- 'php_unit_dedicate_assert' => ['target' => 'newest'],
- 'php_unit_method_casing' => true,
- 'php_unit_test_case_static_method_calls' => ['call_type' => 'this'],
- 'phpdoc_to_comment' => false,
- 'void_return' => true,
- ])
- ->setFinder(PhpCsFixer\Finder::create()
- ->exclude('vendor')
- ->in(__DIR__)
- )
-;
diff --git a/vendor/php-imap/php-imap/LICENSE b/vendor/php-imap/php-imap/LICENSE
deleted file mode 100644
index df016aa..0000000
--- a/vendor/php-imap/php-imap/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2012 Sergey Barbushin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/vendor/php-imap/php-imap/README.md b/vendor/php-imap/php-imap/README.md
deleted file mode 100644
index ad978ba..0000000
--- a/vendor/php-imap/php-imap/README.md
+++ /dev/null
@@ -1,193 +0,0 @@
-# PHP IMAP
-
-[](https://packagist.org/packages/php-imap/php-imap)
-[](README.md)
-[](LICENSE)
-[](https://packagist.org/packages/php-imap/php-imap)
-
-[](https://github.com/barbushin/php-imap/actions/workflows/php_unit_tests.yml)
-[](https://github.com/barbushin/php-imap/actions/workflows/php_static_analysis.yml)
-[](https://github.com/barbushin/php-imap/actions/workflows/php_code_coverage.yml)
-
-[](https://codeclimate.com/github/barbushin/php-imap/maintainability)
-[](https://codeclimate.com/github/barbushin/php-imap/test_coverage)
-[](https://shepherd.dev/github/barbushin/php-imap)
-
-Initially released in December 2012, the PHP IMAP Mailbox is a powerful and open source library to connect to a mailbox by POP3, IMAP and NNTP using the PHP IMAP extension. This library allows you to fetch emails from your email server. Extend the functionality or create powerful web applications to handle your incoming emails.
-
-### Features
-
-* Connect to mailbox by POP3/IMAP/NNTP, using [PHP IMAP extension](http://php.net/manual/book.imap.php)
-* Get emails with attachments and inline images
-* Get emails filtered or sorted by custom criteria
-* Mark emails as seen/unseen
-* Delete emails
-* Manage mailbox folders
-
-### Requirements
-
-| PHP Version | php-imap Version | php-imap status |
-| ------------- | ------------- | ------------- |
-| 5.6 | 3.x | End of life |
-| 7.0 | 3.x | End of life |
-| 7.1 | 3.x | End of life |
-| 7.2 | 3.x, 4.x | End of life |
-| 7.3 | 3.x, 4.x | End of life |
-| 7.4 | >3.0.33, 4.x, 5.x | Active support |
-| 8.0 | >3.0.33, 4.x, 5.x | Active support |
-| 8.1 | >4.3.0, 5.x | Active support |
-
-* PHP `fileinfo` extension must be present; so make sure this line is active in your php.ini: `extension=php_fileinfo.dll`
-* PHP `iconv` extension must be present; so make sure this line is active in your php.ini: `extension=php_iconv.dll`
-* PHP `imap` extension must be present; so make sure this line is active in your php.ini: `extension=php_imap.dll`
-* PHP `mbstring` extension must be present; so make sure this line is active in your php.ini: `extension=php_mbstring.dll`
-* PHP `json` extension must be present; so make sure this line is active in your php.ini: `extension=json.dll`
-
-### Installation by Composer
-
-Install the [latest available release](https://github.com/barbushin/php-imap/releases):
-
- $ composer require php-imap/php-imap
-
-Install the latest available and stable source code from `master`, which is may not released / tagged yet:
-
- $ composer require php-imap/php-imap:dev-master
-
-### Run Tests
-
-Before you can run the any tests you may need to run `composer install` to install all (development) dependencies.
-
-#### Run all tests
-
-You can run all available tests by running the following command (inside of the installed `php-imap` directory): `composer run tests`
-
-#### Run only PHPUnit tests
-
-You can run all PHPUnit tests by running the following command (inside of the installed `php-imap` directory): `php vendor/bin/phpunit --testdox`
-
-### Integration with frameworks
-
-* Symfony - https://github.com/secit-pl/imap-bundle
-
-### Getting Started Example
-
-Below, you'll find an example code how you can use this library. For further information and other examples, you may take a look at the [wiki](https://github.com/barbushin/php-imap/wiki).
-
-By default, this library uses random filenames for attachments as identical file names from other emails would overwrite other attachments. If you want to keep the original file name, you can set the attachment filename mode to ``true``, but then you also need to ensure, that those files don't get overwritten by other emails for example.
-
-```php
-// Create PhpImap\Mailbox instance for all further actions
-$mailbox = new PhpImap\Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********', // Password for the before configured username
- __DIR__, // Directory, where attachments will be saved (optional)
- 'UTF-8', // Server encoding (optional)
- true, // Trim leading/ending whitespaces of IMAP path (optional)
- false // Attachment filename mode (optional; false = random filename; true = original filename)
-);
-
-// set some connection arguments (if appropriate)
-$mailbox->setConnectionArgs(
- CL_EXPUNGE // expunge deleted mails upon mailbox close
- | OP_SECURE // don't do non-secure authentication
-);
-
-try {
- // Get all emails (messages)
- // PHP.net imap_search criteria: http://php.net/manual/en/function.imap-search.php
- $mailsIds = $mailbox->searchMailbox('ALL');
-} catch(PhpImap\Exceptions\ConnectionException $ex) {
- echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
- die();
-}
-
-// If $mailsIds is empty, no emails could be found
-if(!$mailsIds) {
- die('Mailbox is empty');
-}
-
-// Get the first message
-// If '__DIR__' was defined in the first line, it will automatically
-// save all attachments to the specified directory
-$mail = $mailbox->getMail($mailsIds[0]);
-
-// Show, if $mail has one or more attachments
-echo "\nMail has attachments? ";
-if($mail->hasAttachments()) {
- echo "Yes\n";
-} else {
- echo "No\n";
-}
-
-// Print all information of $mail
-print_r($mail);
-
-// Print all attachements of $mail
-echo "\n\nAttachments:\n";
-print_r($mail->getAttachments());
-```
-
-Method `imap()` allows to call any [PHP IMAP function](https://www.php.net/manual/ref.imap.php) in a context of the instance. Example:
-
-```php
-// Call imap_check() - see http://php.net/manual/function.imap-check.php
-$info = $mailbox->imap('check');
-
-
-// Show current time for the mailbox
-$currentServerTime = isset($info->Date) && $info->Date ? date('Y-m-d H:i:s', strtotime($info->Date)) : 'Unknown';
-
-echo $currentServerTime;
-```
-
-Some request require much time and resources:
-
-```php
-// If you don't need to grab attachments you can significantly increase performance of your application
-$mailbox->setAttachmentsIgnore(true);
-
-// get the list of folders/mailboxes
-$folders = $mailbox->getMailboxes('*');
-
-// loop through mailboxs
-foreach($folders as $folder) {
-
- // switch to particular mailbox
- $mailbox->switchMailbox($folder['fullpath']);
-
- // search in particular mailbox
- $mails_ids[$folder['fullpath']] = $mailbox->searchMailbox('SINCE "1 Jan 2018" BEFORE "28 Jan 2018"');
-}
-
-print_r($mails_ids);
-```
-
-### Upgrading from 3.x
-
-Prior to 3.1, `Mailbox` used a "magic" method (`Mailbox::imap()`), with the
-class `Imap` now performing it's purpose to call many `imap_*` functions with
-automated string encoding/decoding of arguments and return values:
-
-Before:
-
-```php
- public function checkMailbox()
- {
- return $this->imap('check');
- }
-```
-
-After:
-
-```php
- public function checkMailbox(): object
- {
- return Imap::check($this->getImapStream());
- }
-```
-
-### Recommended
-
-* Google Chrome extension [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef)
-* Google Chrome extension [JavaScript Errors Notifier](https://chrome.google.com/webstore/detail/javascript-errors-notifie/jafmfknfnkoekkdocjiaipcnmkklaajd)
diff --git a/vendor/php-imap/php-imap/composer-require-checker.config.json b/vendor/php-imap/php-imap/composer-require-checker.config.json
deleted file mode 100644
index 9020d1d..0000000
--- a/vendor/php-imap/php-imap/composer-require-checker.config.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "symbol-whitelist" : [
- "null", "true", "false",
- "static", "self", "parent",
- "array", "string", "int", "float", "bool", "iterable", "callable", "void", "object", "mixed", "never",
- "IMAP\\Connection"
- ],
- "php-core-extensions" : [
- "Core",
- "date",
- "pcre",
- "Phar",
- "Reflection",
- "SPL",
- "standard"
- ],
- "scan-files" : []
-}
diff --git a/vendor/php-imap/php-imap/composer.json b/vendor/php-imap/php-imap/composer.json
deleted file mode 100644
index 9b44d8e..0000000
--- a/vendor/php-imap/php-imap/composer.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "name": "php-imap/php-imap",
- "description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
- "keywords": [
- "PHP",
- "mail",
- "IMAP",
- "POP3",
- "mailbox",
- "receive emails"
- ],
- "homepage": "https://github.com/barbushin/php-imap",
- "license": "MIT",
- "type": "library",
- "authors": [
- {
- "name": "Sergey Barbushin",
- "homepage": "http://linkedin.com/in/barbushin",
- "email": "barbushin@gmail.com"
- }
- ],
- "config": {
- "sort-packages": true
- },
- "require": {
- "php": "^7.4 || ^8.0",
- "ext-fileinfo": "*",
- "ext-iconv": "*",
- "ext-imap": "*",
- "ext-mbstring": "*",
- "ext-json": "*"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^3.4",
- "maglnet/composer-require-checker": "^2.0|^3.2",
- "nikic/php-parser": "^4.3,<4.7|^4.10",
- "paragonie/hidden-string": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3",
- "phpunit/phpunit": "^8.5|^9.5",
- "povils/phpmnd": "^2.2",
- "psalm/plugin-phpunit": "^0.10.0|^0.15.1",
- "roave/security-advisories": "dev-master",
- "sebastian/phpcpd": "^4.1|^6.0"
- },
- "scripts": {
- "static-analysis": [
- "parallel-lint .php-cs-fixer.dist.php src tests examples",
- "phpcpd src tests",
- "composer-require-checker check --config-file=composer-require-checker.config.json ./composer.json",
- "phpmnd ./ --exclude=./.github/ --exclude=./examples/ --exclude=./vendor/ --non-zero-exit-on-violation --hint",
- "php-cs-fixer fix --allow-risky=yes --no-interaction --dry-run -v",
- "psalm --show-info=false"
- ],
- "tests": [
- "@static-analysis",
- "phpunit --testdox"
- ]
- },
- "suggest": {
- "ext-fileinfo": "To facilitate IncomingMailAttachment::getFileInfo() auto-detection"
- },
- "autoload-dev": {
- "psr-4": {
- "PhpImap\\": "tests/unit"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpImap\\": "src/PhpImap"
- }
- }
-}
diff --git a/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_with_matching_subject.php b/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_with_matching_subject.php
deleted file mode 100644
index ccd3d3d..0000000
--- a/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_with_matching_subject.php
+++ /dev/null
@@ -1,74 +0,0 @@
-
- */
- declare(strict_types=1);
-
- require_once __DIR__.'/../vendor/autoload.php';
-
- use PhpImap\Exceptions\ConnectionException;
- use PhpImap\Mailbox;
-
- $mailbox = new Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********', // Password for the before configured username
- __DIR__, // Directory, where attachments will be saved (optional)
- 'US-ASCII' // Server encoding (optional)
- );
-
- try {
- $mail_ids = $mailbox->searchMailbox('SUBJECT "part of the subject"');
- } catch (ConnectionException $ex) {
- exit('IMAP connection failed: '.$ex->getMessage());
- } catch (Exception $ex) {
- exit('An error occured: '.$ex->getMessage());
- }
-
- foreach ($mail_ids as $mail_id) {
- echo "+------ P A R S I N G ------+\n";
-
- $email = $mailbox->getMail(
- $mail_id, // ID of the email, you want to get
- false // Do NOT mark emails as seen (optional)
- );
-
- echo 'from-name: '.(string) ($email->fromName ?? $email->fromAddress)."\n";
- echo 'from-email: '.(string) $email->fromAddress."\n";
- echo 'to: '.(string) $email->toString."\n";
- echo 'subject: '.(string) $email->subject."\n";
- echo 'message_id: '.(string) $email->messageId."\n";
-
- echo 'mail has attachments? ';
- if ($email->hasAttachments()) {
- echo "Yes\n";
- } else {
- echo "No\n";
- }
-
- if (!empty($email->getAttachments())) {
- echo \count($email->getAttachments())." attachements\n";
- }
- if ($email->textHtml) {
- echo "Message HTML:\n".$email->textHtml;
- } else {
- echo "Message Plain:\n".$email->textPlain;
- }
-
- if (!empty($email->autoSubmitted)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Auto-Reply ------+\n";
- }
-
- if (!empty($email_content->precedence)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Non-Delivery Report/Receipt ------+\n";
- }
- }
-
- $mailbox->disconnect();
diff --git a/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_without_saving_attachments.php b/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_without_saving_attachments.php
deleted file mode 100644
index 258129e..0000000
--- a/vendor/php-imap/php-imap/examples/get_and_parse_all_emails_without_saving_attachments.php
+++ /dev/null
@@ -1,84 +0,0 @@
-
- */
- declare(strict_types=1);
-
- require_once __DIR__.'/../vendor/autoload.php';
-
- use PhpImap\Exceptions\ConnectionException;
- use PhpImap\Mailbox;
-
- $mailbox = new Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********', // Password for the before configured username
- null, // Directory, where attachments will be saved (optional)
- 'US-ASCII' // Server encoding (optional)
- );
-
- // OR
- $mailbox = new Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********' // Password for the before configured username
- );
-
- // If you haven't defined the server encoding (charset) in 'new Mailbox()', you can change it any time
- $mailbox->setServerEncoding('US-ASCII');
-
- try {
- $mail_ids = $mailbox->searchMailbox('UNSEEN');
- } catch (ConnectionException $ex) {
- exit('IMAP connection failed: '.$ex->getMessage());
- } catch (Exception $ex) {
- exit('An error occured: '.$ex->getMessage());
- }
-
- foreach ($mail_ids as $mail_id) {
- echo "+------ P A R S I N G ------+\n";
-
- $email = $mailbox->getMail(
- $mail_id, // ID of the email, you want to get
- false // Do NOT mark emails as seen (optional)
- );
-
- echo 'from-name: '.(string) ($email->fromName ?? $email->fromAddress)."\n";
- echo 'from-email: '.(string) $email->fromAddress."\n";
- echo 'to: '.(string) $email->toString."\n";
- echo 'subject: '.(string) $email->subject."\n";
- echo 'message_id: '.(string) $email->messageId."\n";
-
- echo 'mail has attachments? ';
- if ($email->hasAttachments()) {
- echo "Yes\n";
- } else {
- echo "No\n";
- }
-
- if (!empty($email->getAttachments())) {
- echo \count($email->getAttachments())." attachements\n";
- }
- if ($email->textHtml) {
- echo "Message HTML:\n".$email->textHtml;
- } else {
- echo "Message Plain:\n".$email->textPlain;
- }
-
- if (!empty($email->autoSubmitted)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Auto-Reply ------+\n";
- }
-
- if (!empty($email_content->precedence)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Non-Delivery Report/Receipt ------+\n";
- }
- }
-
- $mailbox->disconnect();
diff --git a/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails.php b/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails.php
deleted file mode 100644
index 12eb8bb..0000000
--- a/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails.php
+++ /dev/null
@@ -1,74 +0,0 @@
-
- */
- declare(strict_types=1);
-
- require_once __DIR__.'/../vendor/autoload.php';
-
- use PhpImap\Exceptions\ConnectionException;
- use PhpImap\Mailbox;
-
- $mailbox = new Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********', // Password for the before configured username
- __DIR__, // Directory, where attachments will be saved (optional)
- 'US-ASCII' // Server encoding (optional)
- );
-
- try {
- $mail_ids = $mailbox->searchMailbox('UNSEEN');
- } catch (ConnectionException $ex) {
- exit('IMAP connection failed: '.$ex->getErrors('first'));
- } catch (Exception $ex) {
- exit('An error occured: '.$ex->getMessage());
- }
-
- foreach ($mail_ids as $mail_id) {
- echo "+------ P A R S I N G ------+\n";
-
- $email = $mailbox->getMail(
- $mail_id, // ID of the email, you want to get
- false // Do NOT mark emails as seen (optional)
- );
-
- echo 'from-name: '.(string) ($email->fromName ?? $email->fromAddress)."\n";
- echo 'from-email: '.(string) $email->fromAddress."\n";
- echo 'to: '.(string) $email->toString."\n";
- echo 'subject: '.(string) $email->subject."\n";
- echo 'message_id: '.(string) $email->messageId."\n";
-
- echo 'mail has attachments? ';
- if ($email->hasAttachments()) {
- echo "Yes\n";
- } else {
- echo "No\n";
- }
-
- if (!empty($email->getAttachments())) {
- echo \count($email->getAttachments())." attachements\n";
- }
- if ($email->textHtml) {
- echo "Message HTML:\n".$email->textHtml;
- } else {
- echo "Message Plain:\n".$email->textPlain;
- }
-
- if (!empty($email->autoSubmitted)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Auto-Reply ------+\n";
- }
-
- if (!empty($email_content->precedence)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Non-Delivery Report/Receipt ------+\n";
- }
- }
-
- $mailbox->disconnect();
diff --git a/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails_save_attachments_one_by_one.php b/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails_save_attachments_one_by_one.php
deleted file mode 100644
index 54a4899..0000000
--- a/vendor/php-imap/php-imap/examples/get_and_parse_unseen_emails_save_attachments_one_by_one.php
+++ /dev/null
@@ -1,92 +0,0 @@
-
- */
- declare(strict_types=1);
-
- require_once __DIR__.'/../vendor/autoload.php';
-
- use PhpImap\Exceptions\ConnectionException;
- use PhpImap\Mailbox;
-
- $mailbox = new Mailbox(
- '{imap.gmail.com:993/imap/ssl}INBOX', // IMAP server and mailbox folder
- 'some@gmail.com', // Username for the before configured mailbox
- '*********' // Password for the before configured username
- );
-
- try {
- $mail_ids = $mailbox->searchMailbox('UNSEEN');
- } catch (ConnectionException $ex) {
- exit('IMAP connection failed: '.$ex->getMessage());
- } catch (Exception $ex) {
- exit('An error occured: '.$ex->getMessage());
- }
-
- foreach ($mail_ids as $mail_id) {
- echo "+------ P A R S I N G ------+\n";
-
- $email = $mailbox->getMail(
- $mail_id, // ID of the email, you want to get
- false // Do NOT mark emails as seen (optional)
- );
-
- echo 'from-name: '.(string) ($email->fromName ?? $email->fromAddress)."\n";
- echo 'from-email: '.(string) $email->fromAddress."\n";
- echo 'to: '.(string) $email->toString."\n";
- echo 'subject: '.(string) $email->subject."\n";
- echo 'message_id: '.(string) $email->messageId."\n";
-
- echo 'mail has attachments? ';
- if ($email->hasAttachments()) {
- echo "Yes\n";
- } else {
- echo "No\n";
- }
-
- if (!empty($email->getAttachments())) {
- echo \count($email->getAttachments())." attachements\n";
- }
-
- // Save attachments one by one
- if (!$mailbox->getAttachmentsIgnore()) {
- $attachments = $email->getAttachments();
-
- foreach ($attachments as $attachment) {
- echo '--> Saving '.(string) $attachment->name.'...';
-
- // Set individually filePath for each single attachment
- // In this case, every file will get the current Unix timestamp
- $attachment->setFilePath(__DIR__.'/files/'.\time());
-
- if ($attachment->saveToDisk()) {
- echo "OK, saved!\n";
- } else {
- echo "ERROR, could not save!\n";
- }
- }
- }
-
- if ($email->textHtml) {
- echo "Message HTML:\n".$email->textHtml;
- } else {
- echo "Message Plain:\n".$email->textPlain;
- }
-
- if (!empty($email->autoSubmitted)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Auto-Reply ------+\n";
- }
-
- if (!empty($email_content->precedence)) {
- // Mark email as "read" / "seen"
- $mailbox->markMailAsRead($mail_id);
- echo "+------ IGNORING: Non-Delivery Report/Receipt ------+\n";
- }
- }
-
- $mailbox->disconnect();
diff --git a/vendor/php-imap/php-imap/phpunit.xml b/vendor/php-imap/php-imap/phpunit.xml
deleted file mode 100644
index 6e985a5..0000000
--- a/vendor/php-imap/php-imap/phpunit.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- src
-
-
-
-
- tests
-
-
-
diff --git a/vendor/php-imap/php-imap/psalm.baseline.xml b/vendor/php-imap/php-imap/psalm.baseline.xml
deleted file mode 100644
index 12cc8fb..0000000
--- a/vendor/php-imap/php-imap/psalm.baseline.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
- $mailbox
-
-
-
-
- \is_int($section)
- !\is_string($section) && !\is_int($section)
- \is_resource($maybe)
-
-
-
-
- \in_array($imapSearchOption, $supported_options, true)
- \in_array($key, $supported_params, true)
-
-
- $element->charset
- $element->text
- $element->text
-
-
- setConnectionRetry
- setConnectionRetryDelay
- setExpungeOnDisconnect
- renameMailbox
- getListingFolders
- searchMailboxFrom
- searchMailboxFromDisableServerEncoding
- searchMailboxMergeResults
- searchMailboxMergeResultsDisableServerEncoding
- saveMail
- moveMail
- copyMail
- markMailAsUnread
- markMailAsImportant
- markMailsAsRead
- markMailsAsUnread
- markMailsAsImportant
- getMailboxHeaders
- getMailboxInfo
- getQuotaLimit
- getQuotaUsage
- getSubscribedMailboxes
- subscribeMailbox
- unsubscribeMailbox
-
-
-
-
- self::ANYTHING
-
-
-
diff --git a/vendor/php-imap/php-imap/psalm.xml b/vendor/php-imap/php-imap/psalm.xml
deleted file mode 100644
index dc5084c..0000000
--- a/vendor/php-imap/php-imap/psalm.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/vendor/php-imap/php-imap/src/PhpImap/DataPartInfo.php b/vendor/php-imap/php-imap/src/PhpImap/DataPartInfo.php
deleted file mode 100644
index 6884101..0000000
--- a/vendor/php-imap/php-imap/src/PhpImap/DataPartInfo.php
+++ /dev/null
@@ -1,126 +0,0 @@
-mail = $mail;
- $this->id = $id;
- $this->part = $part;
- $this->encoding = $encoding;
- $this->options = $options;
- }
-
- public function fetch(): string
- {
- if (0 === $this->part) {
- $this->data = Imap::body($this->mail->getImapStream(), $this->id, $this->options);
- } else {
- if (null !== $this->data) {
- return $this->data;
- }
- $this->data = Imap::fetchbody($this->mail->getImapStream(), $this->id, $this->part, $this->options);
- }
-
- return $this->decodeAfterFetch($this->data);
- }
-
- public function decodeAfterFetch(string $data): string
- {
- switch ($this->encoding) {
- case ENC8BIT:
- $this->data = \imap_utf8((string) $data);
- break;
- case ENCBINARY:
- $this->data = \imap_binary((string) $data);
- break;
- case ENCBASE64:
- $this->data = \base64_decode((string) $data, false);
- break;
- case ENCQUOTEDPRINTABLE:
- $this->data = \quoted_printable_decode((string) $data);
- break;
- }
-
- return $this->convertEncodingAfterFetch();
- }
-
- protected function convertEncodingAfterFetch(): string
- {
- if (isset($this->charset) && !empty(\trim($this->charset))) {
- $this->data = $this->mail->decodeMimeStr(
- (string) $this->data // Data to convert
- );
-
- $this->data = $this->mail->convertToUtf8(
- $this->data,
- $this->charset
- );
- }
-
- return (null === $this->data) ? '' : $this->data;
- }
-}
diff --git a/vendor/php-imap/php-imap/src/PhpImap/Exceptions/ConnectionException.php b/vendor/php-imap/php-imap/src/PhpImap/Exceptions/ConnectionException.php
deleted file mode 100644
index fb64497..0000000
--- a/vendor/php-imap/php-imap/src/PhpImap/Exceptions/ConnectionException.php
+++ /dev/null
@@ -1,42 +0,0 @@
-getMessage();
-
- switch (strtolower($select)) {
- case 'all':
- return json_decode($message);
- break;
- default:
- case 'first':
- $message = json_decode($message);
-
- return $message[0];
- break;
- case 'last':
- $message = json_decode($message);
-
- return $message[\count($message) - 1];
- break;
- }
- }
-}
diff --git a/vendor/php-imap/php-imap/src/PhpImap/Exceptions/InvalidParameterException.php b/vendor/php-imap/php-imap/src/PhpImap/Exceptions/InvalidParameterException.php
deleted file mode 100644
index f91e302..0000000
--- a/vendor/php-imap/php-imap/src/PhpImap/Exceptions/InvalidParameterException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-,
- * type:int,
- * subtype:string
- * }
- */
-final class Imap
-{
- /** @psalm-var list */
- public const SORT_CRITERIA = [
- SORTARRIVAL,
- SORTCC,
- SORTDATE,
- SORTFROM,
- SORTSIZE,
- SORTSUBJECT,
- SORTTO,
- ];
-
- /** @psalm-var list */
- public const TIMEOUT_TYPES = [
- IMAP_CLOSETIMEOUT,
- IMAP_OPENTIMEOUT,
- IMAP_READTIMEOUT,
- IMAP_WRITETIMEOUT,
- ];
-
- /** @psalm-var list */
- public const CLOSE_FLAGS = [
- 0,
- CL_EXPUNGE,
- ];
-
- /**
- * @param resource|false $imap_stream
- *
- * @return true
- *
- * @see imap_append()
- */
- public static function append(
- $imap_stream,
- string $mailbox,
- string $message,
- string $options = null,
- string $internal_date = null
- ): bool {
- \imap_errors(); // flush errors
-
- $imap_stream = self::EnsureConnection($imap_stream, __METHOD__, 1);
-
- if (null !== $options && null !== $internal_date) {
- $result = \imap_append(
- $imap_stream,
- $mailbox,
- $message,
- $options,
- $internal_date
- );
- } elseif (null !== $options) {
- $result = \imap_append($imap_stream, $mailbox, $message, $options);
- } else {
- $result = \imap_append($imap_stream, $mailbox, $message);
- }
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not append message to mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_append'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- */
- public static function body(
- $imap_stream,
- int $msg_number,
- int $options = 0
- ): string {
- \imap_errors(); // flush errors
-
- $result = \imap_body(
- self::EnsureConnection($imap_stream, __METHOD__, 1),
- $msg_number,
- $options
- );
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not fetch message body from mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_body'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- */
- public static function check($imap_stream): object
- {
- \imap_errors(); // flush errors
-
- $result = \imap_check(self::EnsureConnection($imap_stream, __METHOD__, 1));
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not check imap mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_check'));
- }
-
- /** @var object */
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- * @param int|string $sequence
- *
- * @return true
- */
- public static function clearflag_full(
- $imap_stream,
- $sequence,
- string $flag,
- int $options = 0
- ): bool {
- \imap_errors(); // flush errors
-
- $result = \imap_clearflag_full(
- self::EnsureConnection($imap_stream, __METHOD__, 1),
- self::encodeStringToUtf7Imap(static::EnsureRange(
- $sequence,
- __METHOD__,
- 2,
- true
- )),
- self::encodeStringToUtf7Imap($flag),
- $options
- );
-
- if (!$result) {
- throw new UnexpectedValueException('Could not clear flag on messages!', 0, self::HandleErrors(\imap_errors(), 'imap_clearflag_full'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- *
- * @psalm-param value-of $flag
- *
- * @return true
- */
- public static function close($imap_stream, int $flag = 0): bool
- {
- \imap_errors(); // flush errors
-
- /** @var int */
- $flag = $flag;
-
- $result = \imap_close(self::EnsureConnection($imap_stream, __METHOD__, 1), $flag);
-
- if (false === $result) {
- $message = 'Could not close imap connection';
-
- if (CL_EXPUNGE === ($flag & CL_EXPUNGE)) {
- $message .= ', messages may not have been expunged';
- }
-
- $message .= '!';
- throw new UnexpectedValueException($message, 0, self::HandleErrors(\imap_errors(), 'imap_close'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- *
- * @return true
- */
- public static function createmailbox($imap_stream, string $mailbox): bool
- {
- \imap_errors(); // flush errors
-
- $result = \imap_createmailbox(
- self::EnsureConnection($imap_stream, __METHOD__, 1),
- static::encodeStringToUtf7Imap($mailbox)
- );
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not create mailbox!', 0, self::HandleErrors(\imap_errors(), 'createmailbox'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- * @param string|int $msg_number
- *
- * @return true
- */
- public static function delete(
- $imap_stream,
- $msg_number,
- int $options = 0
- ): bool {
- /**
- * @var int
- *
- * @todo remove docblock pending resolution of https://github.com/vimeo/psalm/issues/2620
- */
- $msg_number = self::encodeStringToUtf7Imap(self::EnsureRange(
- $msg_number,
- __METHOD__,
- 1
- ));
-
- \imap_errors(); // flush errors
-
- $result = \imap_delete(
- self::EnsureConnection($imap_stream, __METHOD__, 1),
- $msg_number,
- $options
- );
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not delete message from mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_delete'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- *
- * @return true
- */
- public static function deletemailbox($imap_stream, string $mailbox): bool
- {
- \imap_errors(); // flush errors
-
- $result = \imap_deletemailbox(
- self::EnsureConnection($imap_stream, __METHOD__, 1),
- static::encodeStringToUtf7Imap($mailbox)
- );
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not delete mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_deletemailbox'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- *
- * @return true
- */
- public static function expunge($imap_stream): bool
- {
- \imap_errors(); // flush errors
-
- $result = \imap_expunge(
- self::EnsureConnection($imap_stream, __METHOD__, 1)
- );
-
- if (false === $result) {
- throw new UnexpectedValueException('Could not expunge messages from mailbox!', 0, self::HandleErrors(\imap_errors(), 'imap_expunge'));
- }
-
- return $result;
- }
-
- /**
- * @param false|resource $imap_stream
- * @param int|string $sequence
- *
- * @return object[]
- *
- * @psalm-return list