User tests: Successful: Unsuccessful:
Signed-off-by: Phil E. Taylor phil@phil-taylor.com
Pull Request for Issue #31896
Add ability to dump arrays and objects that are in JConfig class when using CLI
add the following property to your JConfig class (simulates a profiling session)
public $execution = array('datetime' => '2020-06-29 22:34:47', 'timestamp' => 1593470087, 'microtimestamp' => 1593470087.0546);
php cli/joomla.php config:get
The following commands all work with no errors:
php cli/joomla.php config:get
php cli/joomla.php config:get execution -vvvv
none
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Title |
|
Labels |
Added:
?
|
I have tested this item
For me the first test command works but does not include the added line in the output. Is that the expected behaviour? The second command works fine.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-08 08:14:28 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
Removed: ? |
thanks
I have tested this item✅ successfully on 3a44189
Tested successfully in Beta8-dev of 3 April in Wampserver 3.2.4 using PHP 8.0.2.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32971.