You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MariaDB test support and fix MySQL-family platform detection (#672)
* fix: detect MySQL family via AbstractMySQLPlatform so MariaDB uses MySQL SQL dialect
MariaDBPlatform does not extend MySQLPlatform (both extend AbstractMySQLPlatform),
so projection state storage emitted PostgreSQL ON CONFLICT syntax against MariaDB.
Switch platform checks to AbstractMySQLPlatform and add MariaDB to docker-compose.
* ci: add MariaDB pass to split-testing for all DBAL components
* test: fix MariaDB strictness in event-sourcing integration fixtures
- CustomEventStreamTest: select MariaDbSingleStreamStrategy on MariaDBPlatform
instead of falling back to MySqlSingleStreamStrategy (MySQL-8 DDL rejected by MariaDB)
- GapDetection fixtures: write created_at without timezone offset (DATE_ATOM ->
Y-m-d\TH:i:s) so MariaDB strict mode accepts it
* fixes
* fixes
* test(laravel): pin doctrine/dbal ^4 in require-dev for prefer-lowest CI
Config/PDO/Connection.php implements the DBAL-4-only ServerVersionProvider
interface, so the Laravel package's own test suite needs DBAL 4. Without a pin,
--prefer-lowest resolved DBAL 3.9 and failed with 'Interface
Doctrine\DBAL\ServerVersionProvider not found'. Pin it in require-dev only, so the
constraint scopes to this package's tests and does not propagate to consumers or
the DBAL-3 Laravel quickstarts via the path repository.
* fix(data-protection): use null comparison instead of isset for nullable param
PHPStan 2.2 flags isset($length) on the always-defined ?int parameter
(isset.variable). Use $length === null, which is behaviorally identical.
0 commit comments