Skip to content

Set PHPCS default scope to docroot and test docroot merge#2

Merged
UltraBob merged 2 commits intomainfrom
feature/phpcs-docroot-default-scope
Feb 18, 2026
Merged

Set PHPCS default scope to docroot and test docroot merge#2
UltraBob merged 2 commits intomainfrom
feature/phpcs-docroot-default-scope

Conversation

@UltraBob
Copy link
Owner

Summary

  • update PHPCS add-on amendments to set default scan scope to __DOCROOT__
  • add PHPCS excludes for __DOCROOT__/core/** and **/contrib/**
  • keep existing excludes for **/node_modules/** and __DOCROOT__/sites/*/files/**
  • extend the non-web-docroot Bats test to confirm merged PHPCS content and docroot substitution

Verification

  • bats ./tests/test.bats --filter "install from directory with non-web docroot" --print-output-on-failure

@UltraBob UltraBob self-assigned this Feb 18, 2026
@UltraBob UltraBob merged commit 87a4ad3 into main Feb 18, 2026
3 checks passed
@UltraBob UltraBob deleted the feature/phpcs-docroot-default-scope branch February 18, 2026 07:40
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