Feature RTC Code Review PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar janschoenherr
janschoenherr
13 Feb 2025

Remove pointless boolean expressions reported by PhpStorm inspections.

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 janschoenherr janschoenherr - open - 13 Feb 2025
avatar janschoenherr janschoenherr - change - 13 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Feb 2025
Category Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_templates Modules Front End com_contact com_users Layout Libraries
avatar janschoenherr janschoenherr - change - 16 Feb 2025
Labels Added: PR-5.3-dev
avatar QuyTon QuyTon - test_item - 21 Feb 2025 - Tested successfully
avatar QuyTon
QuyTon - comment - 21 Feb 2025

I have tested this item ✅ successfully on 196f28d


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

avatar QuyTon QuyTon - change - 21 Feb 2025
Labels Added: Code Review
avatar komalm komalm - test_item - 22 Feb 2025 - Tested successfully
avatar komalm
komalm - comment - 22 Feb 2025

I have tested this item ✅ successfully on ec8cc4b


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

avatar QuyTon
QuyTon - comment - 22 Feb 2025

@janschoenherr Please fix conflicts. Thanks!

avatar QuyTon QuyTon - alter_testresult - 24 Feb 2025 - QuyTon: Tested successfully
avatar QuyTon QuyTon - alter_testresult - 24 Feb 2025 - komalm: Tested successfully
avatar QuyTon QuyTon - change - 24 Feb 2025
Status Pending Ready to Commit
avatar QuyTon
QuyTon - comment - 24 Feb 2025

RTC


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

avatar rdeutz rdeutz - change - 27 Feb 2025
Labels Added: RTC
avatar rdeutz
rdeutz - comment - 9 Mar 2025

Thanks @joomdonation for the code review, I agree that's the way to go.

avatar QuyTon QuyTon - change - 10 Mar 2025
Status Ready to Commit Pending
avatar janschoenherr janschoenherr - change - 10 Mar 2025
Labels Added: Updates Requested RMDQ
Removed: RTC
avatar joomla-cms-bot joomla-cms-bot - change - 10 Mar 2025
Category Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_templates Modules Front End com_contact com_users Layout Libraries Administration com_associations com_categories com_checkin com_config com_contact com_content com_contenthistory com_cpanel com_fields com_finder com_installer com_joomlaupdate com_menus com_modules com_postinstall com_redirect com_tags
avatar joomla-cms-bot joomla-cms-bot - change - 10 Mar 2025
Category Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_contact com_checkin com_contenthistory com_cpanel com_fields com_joomlaupdate com_modules com_postinstall Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_templates Modules Front End com_contact com_users Layout Libraries
avatar joomdonation
joomdonation - comment - 11 Mar 2025

@janschoenherr There are still some other code changes which I suggested for the PR. Could you please review these suggestions as well and commit these changes if you agree so that we can move forward? Thanks.

avatar joomdonation joomdonation - test_item - 12 Mar 2025 - Tested successfully
avatar joomdonation
joomdonation - comment - 12 Mar 2025

I have tested this item ✅ successfully on 819b43d


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

avatar joomdonation
joomdonation - comment - 12 Mar 2025

@QuyTon Could you please check it again one more time? And if it is possible, please make code suggestion to fix PHPCS, too :)

avatar joomdonation
joomdonation - comment - 12 Mar 2025

@janschoenherr Could you please undo the change you made to this file administrator/components/com_categories/src/Field/CategoryeditField.php ? I made a separate with further clean up to that class #45116 . Also, look at some code suggestions from @QuyTon to fix the code style. After that, I think we are done with this PR.

avatar janschoenherr janschoenherr - change - 16 Mar 2025
Labels Removed: Updates Requested
3bf56c2 17 Mar 2025 avatar QuyTon cs
avatar joomdonation joomdonation - test_item - 22 Mar 2025 - Tested successfully
avatar joomdonation
joomdonation - comment - 22 Mar 2025

I have tested this item ✅ successfully on 3bf56c2


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

avatar joomdonation
joomdonation - comment - 22 Mar 2025

@QuyTon Could you please give this another (hopefully final) review?

avatar QuyTon QuyTon - test_item - 22 Mar 2025 - Tested successfully
avatar QuyTon
QuyTon - comment - 22 Mar 2025

I have tested this item ✅ successfully on 3bf56c2


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

avatar QuyTon QuyTon - change - 22 Mar 2025
Status Pending Ready to Commit
avatar QuyTon
QuyTon - comment - 22 Mar 2025

RTC


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

avatar QuyTon QuyTon - change - 22 Mar 2025
Labels Added: RTC
avatar richard67 richard67 - change - 26 Mar 2025
Labels Added: Feature
avatar joomla-cms-bot joomla-cms-bot - change - 26 Mar 2025
Category Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_contact com_templates Modules Front End com_users Layout Libraries Administration com_admin com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_templates Modules Front End com_contact com_users Layout Libraries
avatar richard67 richard67 - change - 26 Mar 2025
Title
[5.3] Remove pointless boolean expressions
[5.4] Remove pointless boolean expressions
avatar richard67 richard67 - edited - 26 Mar 2025
avatar richard67
richard67 - comment - 26 Mar 2025

As agreed today in the maintainers meeting, I've rebased this PR to 5.4-dev.

avatar richard67 richard67 - change - 26 Mar 2025
Labels Added: PR-5.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 26 Mar 2025
Category Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_contact com_templates Modules Front End com_users Layout Libraries com_admin Administration com_associations com_categories com_config com_content com_finder com_installer com_menus com_redirect com_tags com_templates Modules Front End com_contact com_users Layout Libraries
avatar richard67 richard67 - alter_testresult - 27 Mar 2025 - joomdonation: Tested successfully
avatar richard67 richard67 - alter_testresult - 27 Mar 2025 - QuyTon: Tested successfully
avatar laoneo
laoneo - comment - 2 Apr 2025

I really like the improvements work as done in this pr. Unfortunately I fear that it might lead to regressions when that amount of files are touched. If possible it should be split into smaller pieces. When it still is intended to be merged as a whole, then this should be done very early in the 5.4 release cycle to iron out potential regressions. Just my 2cent's.

avatar muhme muhme - change - 13 Apr 2025
Labels Removed: RMDQ PR-5.3-dev
avatar muhme
muhme - comment - 13 Apr 2025

Thanks all

avatar muhme muhme - change - 13 Apr 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-04-13 11:24:47
Closed_By muhme
avatar muhme muhme - close - 13 Apr 2025
avatar muhme muhme - merge - 13 Apr 2025

Add a Comment

Login with GitHub to post a comment