? ? ? Success

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
6 Sep 2020

Alternative to #29353 and also fixes errors on PHP 8.

Summary of Changes

Removes double minus sign when storing time and memory in Profiler. This fixes type error on PHP 8 and notices on PHP 7.

Testing Instructions

Enable debug on PHP 8.

Actual result BEFORE applying this Pull Request

round(): Argument #1 ($number) must be of type int|float, string given
C:\wamp\www\joomla-cms-3\plugins\system\debug\debug.php:716

Expected result AFTER applying this Pull Request

No errors.

Documentation Changes Required

Don't think so.

avatar SharkyKZ SharkyKZ - open - 6 Sep 2020
avatar SharkyKZ SharkyKZ - change - 6 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2020
Category Libraries
avatar viocassel viocassel - test_item - 6 Sep 2020 - Tested successfully
avatar viocassel
viocassel - comment - 6 Sep 2020

I have tested this item successfully on 24a5e42


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30582.

avatar jwaisner jwaisner - test_item - 13 Sep 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 13 Sep 2020

I have tested this item successfully on 24a5e42


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30582.

avatar jwaisner jwaisner - change - 13 Sep 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 13 Sep 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30582.

avatar HLeithner
HLeithner - comment - 19 Sep 2020

Waiting to get #29353 merged or rewritten.

avatar HLeithner HLeithner - change - 14 Nov 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-11-14 15:06:04
Closed_By HLeithner
avatar HLeithner HLeithner - close - 14 Nov 2020
avatar HLeithner HLeithner - merge - 14 Nov 2020
avatar HLeithner
HLeithner - comment - 14 Nov 2020

Thanks

Add a Comment

Login with GitHub to post a comment