Skip to content

Warnings on PHP 8.3 #181

@swissspidy

Description

@swissspidy

Bug Report

Describe the current, buggy behavior

Seems to happen when running wp profile hook init

Warning: A non-numeric value encountered in src/Formatter.php on line 152

Run: https://github.com/wp-cli/profile-command/actions/runs/6006901011/job/16292159428

Describe how other contributors can replicate this bug

  • a list of
  • steps to replicate
  • the error condition
// You can also use code snippets if needed.

Describe what you would expect as the correct outcome

A clear and concise description of what you expected to happen (or code).

Let us know what environment you are running this on

(Paste the output of "wp cli info" into this box)

Provide a possible solution

If you happen to have a suggestion on how to fix this bug, please tell us in here.

Just leave this section out if you don't know how to fix it.

Provide additional context/Screenshots

Add any other context about the problem here.

If applicable, add screenshots to help explain (you can just drag&drop images into the Github issue).

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