Skip to content

Need Colon Instead of Semicolon in Case Statement #270

@oleibman

Description

@oleibman

Php8.5 is now in Beta, so it will be official soon enough. While doing some PhpUnit testing on another project, my Php8.5 test issues the following message:

Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in C:\git\php85problems\vendor\react\promise\src\functions.php on line 300

This seems like a typo which has accidentally been supported on Php releases below 8.5, and it's trivial to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions