Skip to content

Conversation

@richard67
Copy link
Member

@richard67 richard67 commented Apr 1, 2023

Pull Request for Issue # .

Summary of Changes

This pull request (PR) removes obsolete exclude patterns from the "ruleset.xml" file which is used by phpcs e.g. in the ci tests with Drone.

Obsolete means the corresponding file or folder has been removed (or moved to another place) with some PR but the exclude pattern has been forgotten about.

In detail following entries are removed due to the mentioned PR:

The list of obsolete exclude patterns has been created with help of a small tool (PHP CLI script) which I provide with PR #40278 .

Which PR has caused each change has then been "manually" investigated by me.

Testing Instructions

Code review: Check that the removed exclude patterns belong to files mentioned in the list in the description above and the corresponding files don't exist on a clean, current 4.3-dev branch.

Verify that the PHPCS step succeeded in the Drone ci checks for this PR here.

Actual result BEFORE applying this Pull Request

File "ruleset.xml" in the Joomla root contains exclude patterns for files which don't exist anymore in the 4.3-dev branch.

Expected result AFTER applying this Pull Request

File "ruleset.xml" in the Joomla root doesn't contain these exclude patterns.

PHPCS still succeeds in Drone for this PR.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

@obuisard obuisard requested a review from HLeithner May 11, 2023 17:12
@HLeithner HLeithner merged commit e2f23b4 into joomla:4.3-dev May 11, 2023
@HLeithner
Copy link
Member

Thx

@richard67 richard67 deleted the 4.3-dev-clean-up-ruleset-xml_2023-04-01 branch May 11, 2023 17:31
@richard67
Copy link
Member Author

Thanks

@richard67 richard67 added this to the Joomla! 4.3.2 milestone May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants