User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Fix code style errors introduced with release of 4.2.4.
Check drone logs for PHPCS checks.
FILE: .../plugins/system/debug/src/DataCollector/RequestDataCollector.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
24 | WARNING | [ ] Visibility must be declared on all constants if
| | your project supports PHP 7.1 or later
44 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Success. No errors and no warnings.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
Title |
|
You cannot now change the visibility of the constant, as this as already been released, and changing it from public to private would be a B/C break! Yes I know its only been released less than an hour, but still a b/c promise is exactly that - a promise, and this breaks that promise
@leetempest Yep. This PR here just unmasked another error and when that will be fixed, this PR here will not be necessary anymore, so I will close it.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-25 15:59:44 |
Closed_By | ⇒ | richard67 |
@leetempest P.S.: Your comment doesn’t apply here since the b/c promise doesn’t cover extensions, and the debug plugin is an extension and not e.g. an API.
You cannot now change the visibility of the constant, as this as already been released, and changing it from public to private would be a B/C break! Yes I know its only been released less than an hour, but still a b/c promise is exactly that - a promise, and this breaks that promise