Skip to content

ci: support latest PHPCS globally and add commands to run PHPCS and PHPCBF - #1189

Closed
Marcus-Nightingale wants to merge 5 commits into
vrana:masterfrom
Marcus-Nightingale:ci-cleanup
Closed

ci: support latest PHPCS globally and add commands to run PHPCS and PHPCBF#1189
Marcus-Nightingale wants to merge 5 commits into
vrana:masterfrom
Marcus-Nightingale:ci-cleanup

Conversation

@Marcus-Nightingale

Copy link
Copy Markdown
Contributor
  • Added new Makefile commands:

    • get-phpcs to get phpcs latest via composer
    • phpcs to run PHPCS on the project using phpcs.xml
    • phpcbf to run PHPCBF and automatically fix fixable coding standard violations
  • Enables autofixing of files using PHPCBF directly from the Makefile

  • Updated PHPCS/PHPCBF configuration to remove rules that were removed or deprecated in PHPCBF v4, ensuring compatibility with the latest version

@vrana

vrana commented Oct 27, 2025

Copy link
Copy Markdown
Owner

I prefer Composer scripts.

@vrana vrana closed this Oct 27, 2025
@Marcus-Nightingale

Copy link
Copy Markdown
Contributor Author

@vrana no worries I will change this in favour of a composer script and resubmit 😊

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.

2 participants