? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
2 Mar 2023

Summary of Changes

These changes resulted from a static analysis run of phan. These are the changes:

  1. The use statement is not used in the code anywhere
  2. parseRule() returns null, not an array. The return statement and the $array can be removed.
  3. onUserAfterSave() actually returns null and not boolean.
  4. The way we are setting the cookie has been deprecated and this is now the new version how to call that.

Testing Instructions

Codereview

Link to documentations

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

avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2023
Category Front End Plugins
avatar Hackwar Hackwar - open - 2 Mar 2023
avatar Hackwar Hackwar - change - 2 Mar 2023
Status New Pending
avatar Hackwar Hackwar - change - 2 Mar 2023
Labels Added: PR-4.3-dev
avatar Hackwar Hackwar - change - 2 Mar 2023
Title
[4.3] Languagefilter: Fixes from static code analysis
[4.3] Phan: Languagefilter plugin
avatar Hackwar Hackwar - edited - 2 Mar 2023
avatar Fedik Fedik - test_item - 4 Mar 2023 - Tested successfully
avatar Fedik
Fedik - comment - 4 Mar 2023

I have tested this item successfully on d089a96


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

avatar chmst chmst - test_item - 12 Mar 2023 - Tested successfully
avatar chmst
chmst - comment - 12 Mar 2023

I have tested this item successfully on d089a96


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

avatar chmst chmst - change - 12 Mar 2023
Status Pending Ready to Commit
avatar chmst
chmst - comment - 12 Mar 2023

RTC


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

avatar obuisard obuisard - change - 12 Mar 2023
Labels Added: ?
avatar obuisard obuisard - close - 12 Mar 2023
avatar obuisard obuisard - merge - 12 Mar 2023
avatar obuisard obuisard - change - 12 Mar 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-03-12 15:11:12
Closed_By obuisard
avatar obuisard
obuisard - comment - 12 Mar 2023

Thank you Hannes @Hackwar

Add a Comment

Login with GitHub to post a comment