Skip to content

PHP 8.4 Deprecation? #314

@andrewteg

Description

@andrewteg

I get the following when testing a pretty basic setup on PHP 8.4.3. It looks like it's this deprecation (https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated) and I'm wondering if there's a roadmap to make this PHP 8.4 compatible, or if I've done something wrong. Thanks.

Deprecated: Delight\Db\PdoDatabase::__construct(): Implicitly marking parameter $pdoInstance as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 49

Deprecated: Delight\Db\PdoDatabase::__construct(): Implicitly marking parameter $pdoDsn as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 49

Deprecated: Delight\Db\PdoDatabase::select(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 117

Deprecated: Delight\Db\PdoDatabase::selectValue(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 124

Deprecated: Delight\Db\PdoDatabase::selectRow(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 131

Deprecated: Delight\Db\PdoDatabase::selectColumn(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 138

Deprecated: Delight\Db\PdoDatabase::exec(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 246

Deprecated: Delight\Db\PdoDatabase::setProfiler(): Implicitly marking parameter $profiler as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 364

Deprecated: Delight\Db\PdoDatabase::configureConnection(): Implicitly marking parameter $newAttributes as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 514

Deprecated: Delight\Db\PdoDatabase::configureConnection(): Implicitly marking parameter $oldAttributes as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 514

Deprecated: Delight\Db\PdoDatabase::selectInternal(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\PdoDatabase.php on line 567

Deprecated: Delight\Db\Database::select(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 31

Deprecated: Delight\Db\Database::selectValue(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 44

Deprecated: Delight\Db\Database::selectRow(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 57

Deprecated: Delight\Db\Database::selectColumn(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 70

Deprecated: Delight\Db\Database::exec(): Implicitly marking parameter $bindValues as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 117

Deprecated: Delight\Db\Database::setProfiler(): Implicitly marking parameter $profiler as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\db\src\Database.php on line 183

Deprecated: Delight\Auth\Auth::register(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\Auth.php on line 228

Deprecated: Delight\Auth\Auth::registerWithUniqueUsername(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\Auth.php on line 269

Deprecated: Delight\Auth\Auth::login(): Implicitly marking parameter $onBeforeSuccess as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\Auth.php on line 294

Deprecated: Delight\Auth\Auth::loginWithUsername(): Implicitly marking parameter $onBeforeSuccess as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\Auth.php on line 319

Deprecated: Delight\Auth\Auth::authenticateUserInternal(): Implicitly marking parameter $onBeforeSuccess as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\Auth.php on line 1035

Deprecated: Delight\Auth\UserManager::createUserInternal(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in \php-auth\vendor\delight-im\auth\src\UserManager.php on line 125

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in \php-auth\vendor\delight-im\auth\src\Auth.php on line 61

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in \php-auth\vendor\delight-im\auth\src\Auth.php on line 63

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in \php-auth\vendor\delight-im\auth\src\Auth.php on line 65

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions