wp-cli / profile-command

Quickly identify what's slow with WordPress
MIT License
266 stars 29 forks source link

Warnings on PHP 8.3 #181

Open swissspidy opened 1 year ago

swissspidy commented 1 year ago

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

// 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).