Skip to content

fix(phpcs): update paths in configuration file#1477

Open
matteotrubini wants to merge 1 commit intowintercms:developfrom
matteotrubini:develop
Open

fix(phpcs): update paths in configuration file#1477
matteotrubini wants to merge 1 commit intowintercms:developfrom
matteotrubini:develop

Conversation

@matteotrubini
Copy link
Copy Markdown
Contributor

@matteotrubini matteotrubini commented Apr 7, 2026

Remove non-existent tests/ directory from source paths and fix exclude-pattern to use correct modules/system/tests/ path.

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated code quality configuration to adjust which paths are analyzed during development testing.

Note: This release contains only internal development configuration updates with no user-facing changes.

Remove non-existent tests/ directory from source paths and fix
exclude-pattern to use correct modules/system/tests/ path.
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 60a71ec5-af74-405a-8e71-6ee15b6b3db1

📥 Commits

Reviewing files that changed from the base of the PR and between 0758670 and 7b49293.

📒 Files selected for processing (1)
  • phpcs.xml

Walkthrough

The phpcs.xml configuration file was updated to modify PHPCS rule scoping. The top-level <file>tests/</file> entry was removed from the ruleset's analyzed paths, excluding the tests directory from being included directly at that level. Additionally, the exclusion pattern for a specific fixture plugin file was relocated from tests/fixtures/.../Plugin.php to modules/system/tests/fixtures/.../Plugin.php, reflecting a reorganized file structure. The net result is one line added and two lines removed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(phpcs): update paths in configuration file' is directly related to the changeset, which updates paths in the phpcs.xml configuration file by removing the tests/ entry and correcting the fixture path.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant