Skip to content

Rename phpcs.xml.dist to .phpcs.xml.dist#767

Merged
GaryJones merged 2 commits intodevelopfrom
feat/rename-phpcs-config
Nov 6, 2025
Merged

Rename phpcs.xml.dist to .phpcs.xml.dist#767
GaryJones merged 2 commits intodevelopfrom
feat/rename-phpcs-config

Conversation

@GaryJones
Copy link
Contributor

@GaryJones GaryJones commented Nov 6, 2025

Summary

  • Renamed phpcs.xml.dist to .phpcs.xml.dist to standardize configuration file naming convention
  • Updated all references in composer.json and bin/phpcs-diff.sh
  • Simplified composer scripts to leverage auto-discovery of .phpcs.xml.dist

This change makes the PHPCS configuration file a hidden file, consistent with other dotfiles like .editorconfig and .gitignore.

Test plan

  • Verify composer cs runs successfully with the renamed config file
  • Verify composer cs-fix runs successfully with the renamed config file
  • Verify bin/phpcs-diff.sh works correctly with the updated reference

🤖 Generated with Claude Code

This standardizes the PHPCS configuration file naming convention by prefixing it with a dot, making it a hidden file consistent with other configuration files like .editorconfig and .gitignore.

Updated all references to the renamed file in composer.json scripts and bin/phpcs-diff.sh. Simplified composer scripts to use auto-discovery of the .phpcs.xml.dist configuration file.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@GaryJones GaryJones force-pushed the feat/rename-phpcs-config branch from ddfe6af to 5171c97 Compare November 6, 2025 13:33
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Nov 6, 2025
@GaryJones GaryJones merged commit bda07a3 into develop Nov 6, 2025
4 of 5 checks passed
@GaryJones GaryJones deleted the feat/rename-phpcs-config branch November 6, 2025 13:57
@GaryJones GaryJones added this to the Next patch milestone Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant