bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
1 Apr 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.

The following obsolete entries are removed:

  • Line no. 237: File "plugins/content/joomla/joomla.php" has been moved to another place and been changed with PR #40561 .
  • Line no. 238: File "plugins/content/loadmodule/loadmodule.php" has been moved to another place and been changed with PR #40561 .
  • Line no. 239: File "plugins/content/pagebreak/pagebreak.php" has been moved to another place and been changed with PR #40561 .
  • Line no. 244: File "plugins/user/joomla/joomla.php" has been moved to another place and been changed with PR #40180 .

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

Testing Instructions

Code review: Check that the removed exclude patterns belong to the files mentioned in the description and the files don't exist on a clean, current 4.4-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 doesn't exist anymore in the 4.4-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

avatar richard67 richard67 - open - 1 Apr 2023
avatar richard67 richard67 - change - 1 Apr 2023
Status New Pending
avatar richard67 richard67 - change - 1 Apr 2023
The description was changed
avatar richard67 richard67 - edited - 1 Apr 2023
avatar laoneo
laoneo - comment - 3 Apr 2023

As there are more plugin groups which got converted to service providers. Should we leave this one open and mark it as draft?

avatar richard67
richard67 - comment - 3 Apr 2023

As there are more plugin groups which got converted to service providers. Should we leave this one open and mark it as draft?

@laoneo Up to you. You can also merge by review and I make a new PR when that is necessary.

avatar richard67 richard67 - change - 3 Apr 2023
Labels Added: PR-4.4-dev
avatar richard67 richard67 - change - 3 Apr 2023
The description was changed
avatar richard67 richard67 - edited - 3 Apr 2023
avatar richard67
richard67 - comment - 4 Apr 2023

@laoneo It seems the latest merges of plugin and module conversions hasn't changed anything for the ruleset.xml, so this PR here is still up to date.

avatar richard67
richard67 - comment - 1 May 2023

I've just checked again, PR is still up to date, no changes needed.

avatar richard67 richard67 - change - 9 May 2023
Labels Added: bug
avatar richard67
richard67 - comment - 12 May 2023

@laoneo Why have you added the Updates Requested label? I see no change request in any review so that label does not make any sense for this PR.

avatar laoneo
laoneo - comment - 12 May 2023

Because they need some updates when we merge further prs which remove files. I want to make sure that people are not wasting their time testing these pr's.

avatar laoneo
laoneo - comment - 12 May 2023

I have it removed.

avatar richard67 richard67 - change - 13 May 2023
Title
[4.4] Remove obsolete exclude pattern from ruleset.xml for phpcs
[4.4] [WiP] Remove obsolete exclude pattern from ruleset.xml for phpcs
avatar richard67 richard67 - edited - 13 May 2023
avatar richard67 richard67 - change - 13 May 2023
The description was changed
avatar richard67 richard67 - edited - 13 May 2023
avatar richard67 richard67 - change - 13 May 2023
Title
[4.4] [WiP] Remove obsolete exclude pattern from ruleset.xml for phpcs
[4.4] Remove obsolete exclude pattern from ruleset.xml for phpcs
avatar richard67 richard67 - edited - 13 May 2023
avatar richard67 richard67 - change - 13 May 2023
The description was changed
avatar richard67 richard67 - edited - 13 May 2023
avatar richard67 richard67 - change - 23 May 2023
The description was changed
avatar richard67 richard67 - edited - 23 May 2023
avatar richard67
richard67 - comment - 23 May 2023

@laoneo This PR here is ready and up to date with the latest merge of the content plugins.

avatar laoneo laoneo - close - 23 May 2023
avatar laoneo laoneo - merge - 23 May 2023
avatar laoneo laoneo - change - 23 May 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-23 14:14:53
Closed_By laoneo
avatar laoneo
laoneo - comment - 23 May 2023

Thanks!

Add a Comment

Login with GitHub to post a comment