updated requirements

This commit is contained in:
Torsten Schulz
2023-06-16 13:08:22 +02:00
parent 1c6f08b77a
commit 079ce3e41d
60 changed files with 8228 additions and 774 deletions

View File

@@ -6,5 +6,4 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'PhpImap' => array($vendorDir . '/php-imap/php-imap/src'),
);

View File

@@ -6,5 +6,6 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'PhpImap\\' => array($vendorDir . '/php-imap/php-imap/src/PhpImap'),
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
);

View File

@@ -9,27 +9,22 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
public static $prefixLengthsPsr4 = array (
'P' =>
array (
'PhpImap\\' => 8,
'PHPMailer\\PHPMailer\\' => 20,
),
);
public static $prefixDirsPsr4 = array (
'PhpImap\\' =>
array (
0 => __DIR__ . '/..' . '/php-imap/php-imap/src/PhpImap',
),
'PHPMailer\\PHPMailer\\' =>
array (
0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src',
),
);
public static $prefixesPsr0 = array (
'P' =>
array (
'PhpImap' =>
array (
0 => __DIR__ . '/..' . '/php-imap/php-imap/src',
),
),
);
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
);
@@ -39,7 +34,6 @@ class ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3::$prefixesPsr0;
$loader->classMap = ComposerStaticInitb3a3dfb766a515d49b7f8665bad574b3::$classMap;
}, null, ClassLoader::class);

View File

@@ -2,33 +2,53 @@
"packages": [
{
"name": "php-imap/php-imap",
"version": "2.0.3",
"version_normalized": "2.0.3.0",
"version": "5.0.0",
"version_normalized": "5.0.0.0",
"source": {
"type": "git",
"url": "https://github.com/barbushin/php-imap.git",
"reference": "cc1a49a3f68090db182183c59ffbc09055d59f5b"
"reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barbushin/php-imap/zipball/cc1a49a3f68090db182183c59ffbc09055d59f5b",
"reference": "cc1a49a3f68090db182183c59ffbc09055d59f5b",
"url": "https://api.github.com/repos/barbushin/php-imap/zipball/13bdfa9a6f541798253e24e2d8f44332c8be098c",
"reference": "13bdfa9a6f541798253e24e2d8f44332c8be098c",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"ext-fileinfo": "*",
"ext-iconv": "*",
"ext-imap": "*",
"ext-json": "*",
"ext-mbstring": "*",
"php": "^7.4 || ^8.0"
},
"time": "2015-09-16T07:40:39+00:00",
"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"
},
"time": "2022-03-12T14:39:59+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PhpImap": "src/"
"psr-4": {
"PhpImap\\": "src/PhpImap"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD 3-Clause"
"MIT"
],
"authors": [
{
@@ -37,16 +57,19 @@
"homepage": "http://linkedin.com/in/barbushin"
}
],
"description": "PHP class to access mailbox by POP3/IMAP/NNTP using IMAP extension",
"description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
"homepage": "https://github.com/barbushin/php-imap",
"keywords": [
"imap",
"mail",
"php"
"mailbox",
"php",
"pop3",
"receive emails"
],
"support": {
"issues": "https://github.com/barbushin/php-imap/issues",
"source": "https://github.com/barbushin/php-imap/tree/master"
"source": "https://github.com/barbushin/php-imap/tree/5.0.0"
},
"install-path": "../php-imap/php-imap"
},

View File

@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => '__root__',
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'reference' => NULL,
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '1c6f08b77a9f8f7d91de74616da0b18dfccef4e8',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -11,18 +11,18 @@
),
'versions' => array(
'__root__' => array(
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'reference' => NULL,
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '1c6f08b77a9f8f7d91de74616da0b18dfccef4e8',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'php-imap/php-imap' => array(
'pretty_version' => '2.0.3',
'version' => '2.0.3.0',
'reference' => 'cc1a49a3f68090db182183c59ffbc09055d59f5b',
'pretty_version' => '5.0.0',
'version' => '5.0.0.0',
'reference' => '13bdfa9a6f541798253e24e2d8f44332c8be098c',
'type' => 'library',
'install_path' => __DIR__ . '/../php-imap/php-imap',
'aliases' => array(),

View File

@@ -4,8 +4,8 @@
$issues = array();
if (!(PHP_VERSION_ID >= 50500)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.5.0". You are running ' . PHP_VERSION . '.';
if (!(PHP_VERSION_ID >= 70400)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {