Code Review PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
16 Feb 2025

Pull Request for Issue # .

Summary of Changes

This PR uses StrContainsRector rule to convert our libraries code to use str_contains function. It does not change any existing behavior, just make the code cleaner and easier to read. The change is done automatically by rector, no manual change included here.

Testing Instructions

Need to have code review for every single change here.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works, with cleaner, easier to read code.

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 joomdonation joomdonation - open - 16 Feb 2025
avatar joomdonation joomdonation - change - 16 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Feb 2025
Category Libraries
avatar LadySolveig LadySolveig - change - 16 Feb 2025
Labels Added: PR-5.3-dev
avatar QuyTon QuyTon - test_item - 16 Feb 2025 - Tested successfully
avatar QuyTon
QuyTon - comment - 16 Feb 2025

I have tested this item ✅ successfully on 65f955d


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

avatar mfleeson
mfleeson - comment - 21 Feb 2025

Appears to be working correctly. Drone fails with phpstan complaining about code that's using deprecated features. Not sure I know enough to pass this but I think it tests okay.

avatar joomdonation
joomdonation - comment - 22 Feb 2025

Thanks @mfleeson for looking at the PR. Could you mark your test result?

avatar tekvishal tekvishal - test_item - 22 Feb 2025 - Not tested
avatar tekvishal
tekvishal - comment - 22 Feb 2025

I have not tested this item.


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

avatar fgsw
fgsw - comment - 22 Feb 2025

I have not tested this item.

@tekvishal Maybe you have not marked your test result as "successfully" or "unsuccessfully"?

avatar HLeithner HLeithner - change - 22 Feb 2025
Labels Added: Code Review
avatar HLeithner HLeithner - close - 22 Feb 2025
avatar HLeithner HLeithner - merge - 22 Feb 2025
avatar HLeithner HLeithner - change - 22 Feb 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-02-22 09:51:22
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 22 Feb 2025

thanks

Add a Comment

Login with GitHub to post a comment