Skip to content

Bug: PHP 8.4.1 Time Static function #9290

@ALTITUDE-DEV-FR

Description

@ALTITUDE-DEV-FR

PHP Version

8.4.1 (new released today)

CodeIgniter4 Version

4.6.0

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Windows

Which server did you use?

apache

Database

Mysql latest

What happened?

Hi, the php spark is not working for PHP 8.4.1

Steps to Reproduce

Just launch php spark serve to 8.4.1

Expected Output

Error 500
CRITICAL - 2024-11-21 14:06:53 --> ErrorException: Declaration of CodeIgniter\I18n\TimeTrait::createFromTimestamp(int $timestamp, $timezone = null, ?string $locale = null) must be compatible with DateTimeImmutable::createFromTimestamp(int|float $timestamp): static

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions