Tests / PHP 8.4 (push) Failing after 5m57s
PDO with ATTR_EMULATE_PREPARES = false sends a native PHP bool as an empty string. MariaDB rejects it on a TINYINT column with "Incorrect integer value: ''", so every boolean column was unwritable through the ORM: inserting a model with a bool property always failed. toDatabaseValue() now maps bool to 1/0. Other scalars, enums, dates and BigDecimal keep their existing handling. Covered by TypeCasterDatabaseValueTest.