Skip to content

[5.3] Combine multiple unset call into one call#44983

Merged
HLeithner merged 6 commits intojoomla:5.3-devfrom
joomdonation:php_cs_combine_consecutive_unsets
Feb 26, 2025
Merged

[5.3] Combine multiple unset call into one call#44983
HLeithner merged 6 commits intojoomla:5.3-devfrom
joomdonation:php_cs_combine_consecutive_unsets

Conversation

@joomdonation
Copy link
Contributor

Pull Request for Issue # .

Summary of Changes

This PR improves code quality of our code base by running PHPCS Fixer for combine_consecutive_unsets rule.

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

@chmst
Copy link
Contributor

chmst commented Feb 23, 2025

I have tested this item ✅ successfully on be9ed6d

code review


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

@QuyTon
Copy link
Contributor

QuyTon commented Feb 23, 2025

Please fix extra blank lines.

@joomdonation
Copy link
Contributor Author

Done. Thanks @QuyTon

@QuyTon
Copy link
Contributor

QuyTon commented Feb 24, 2025

I have tested this item ✅ successfully on fe5ccf2

Thank you!


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

@QuyTon
Copy link
Contributor

QuyTon commented Feb 24, 2025

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Feb 24, 2025
joomdonation and others added 2 commits February 24, 2025 15:17
….php

Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: Harald Leithner <leithner@itronic.at>
@HLeithner HLeithner merged commit cef42f9 into joomla:5.3-dev Feb 26, 2025
3 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Feb 26, 2025
@QuyTon QuyTon modified the milestones: Joomla! 4.4.12, Joomla! 5.3.0 Feb 26, 2025
@joomdonation joomdonation deleted the php_cs_combine_consecutive_unsets branch February 27, 2025 05:01
janschoenherr pushed a commit to janschoenherr/joomla-cms that referenced this pull request Mar 10, 2025
* Combine multiple unset call into one call

* Remove unnecessary blank lines

* Move comments to right position

* Update administrator/components/com_templates/src/Model/TemplateModel.php

Co-authored-by: Harald Leithner <leithner@itronic.at>

* Update libraries/src/User/User.php

Co-authored-by: Harald Leithner <leithner@itronic.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants