Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Improve api app code using rector rules #44975

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

joomdonation
Copy link
Contributor

Pull Request for Issue # .

Summary of Changes

The api does not contain much code, so I run several rector rules at once (same as the rules I use for components and libraries code) to improve code of our api application. All the changes here are done by rector, no manual change needed.

Turned out, only 3 rules applied:

Testing Instructions

Code review

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works, with cleaner 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

@QuyTon
Copy link
Contributor

QuyTon commented Feb 22, 2025

I have tested this item ✅ successfully on 96c756e


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

@alikon
Copy link
Contributor

alikon commented Feb 22, 2025

#44976 cross reference

@joomdonation
Copy link
Contributor Author

#44976 cross reference

@alikon Could you please explain more details? I do not understand your last comment. Thanks !

@alikon
Copy link
Contributor

alikon commented Feb 23, 2025

sorry for the noise
i've added a reference for myself

@alikon
Copy link
Contributor

alikon commented Feb 23, 2025

I have tested this item ✅ successfully on 96c756e


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

@alikon
Copy link
Contributor

alikon commented Feb 23, 2025

RTC


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

@joomdonation
Copy link
Contributor Author

sorry for the noise i've added a reference for myself

Ah, OK. Thanks

@joomla-cms-bot joomla-cms-bot added RTC This Pull Request is Ready To Commit labels Feb 23, 2025
@HLeithner HLeithner merged commit 3f2caca into joomla:5.3-dev Feb 26, 2025
0 of 2 checks passed
@HLeithner
Copy link
Member

thanks

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Feb 26, 2025
@QuyTon QuyTon added this to the Joomla! 5.3.0 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants