Skip to content

Need Colon Instead of Semicolon in Case Statement #270

Closed as duplicate

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.

Activity

  1. clue commented on Aug 18, 2025

    @clue
    Member

    @oleibman Thanks for the reminder. This has already been reported and fixed in #264, so I'll mark this as a duplicate. Expect a release later this week, see #264 for details.

  2. added this to the v3.3.0 milestone on Aug 18, 2025
  3. oleibman commented on Aug 18, 2025

    @oleibman
    Author

    Thank you for the quick attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions