User tests: Successful: Unsuccessful:
Removes missing argument handling in Joomla\CMS\Language\Text
methods. Since PHP 7.1 calling functions with missing arguments throws ArgumentCountError
. So this code is never executed anymore.
Code review or test that the methods still work.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
Those are still used, I think. To pass variables and additional options.
I have tested this item
Code Review
Those are still used, I think. To pass variables and additional options.
I haven't checked. If those are indeed used, then they need to be added to the function call as proper (optional) arguments. That stuff looks just hacky as it is
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-24 23:44:11 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
This is good enough as a first pass. Thankyou!
I'd argue one could remove a lot more code. All that is related to $args and $count should be removed and $string and $n be used in all places.