[PHP] Update to 8.5.13

This commit is contained in:
FreddleSpl0it committed 2026-11-20 00:05:14 +01:00
1 parent e34905807f
commit 7c3ca9ba10
254 files changed
+20 -25707

No files matched your search

+4 -3
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Mailcow\Tests\Auth;
use PDO;
use Pdo\Sqlite;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
@@ -16,13 +17,13 @@ class AppPasswordLoginTest extends TestCase
{
private const PROTOCOLS = ['imap_access', 'smtp_access', 'pop3_access', 'sieve_access', 'eas_access', 'dav_access'];
private PDO $pdo;
private Sqlite $pdo;
protected function setUp(): void
{
$this->pdo = new PDO('sqlite::memory:');
$this->pdo = new Sqlite('sqlite::memory:');
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$this->pdo->sqliteCreateFunction('regexp', fn ($pattern, $value) => preg_match('/' . $pattern . '/', (string)$value) === 1, 2);
$this->pdo->createFunction('regexp', fn ($pattern, $value) => preg_match('/' . $pattern . '/', (string)$value) === 1, 2);
$this->pdo->exec("CREATE TABLE `domain` (`domain` TEXT PRIMARY KEY, `active` INTEGER NOT NULL DEFAULT 1)");
$this->pdo->exec("CREATE TABLE `mailbox` (`username` TEXT PRIMARY KEY, `domain` TEXT, `kind` TEXT NOT NULL DEFAULT '',
`active` INTEGER NOT NULL DEFAULT 1, `attributes` TEXT)");
+1 -1
View File
@@ -14,7 +14,7 @@
},
"config": {
"platform": {
"php": "8.2.29"
"php": "8.5.13"
},
"sort-packages": true
}
+2 -2
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4211ddb7f0a4ed07b766e52d30177798",
"content-hash": "9764455703f9794907471be583c8c15b",
"packages": [],
"packages-dev": [
{
@@ -2013,7 +2013,7 @@
"platform": {},
"platform-dev": {},
"platform-overrides": {
"php": "8.2.29"
"php": "8.5.13"
},
"plugin-api-version": "2.11.0"
}