Skip to content

Improve Composer-based developer workflow and fix PHPCS/PHPStan issues#1296

Open
Marcus-Nightingale wants to merge 10 commits into
vrana:masterfrom
Marcus-Nightingale:ci-cleanup
Open

Improve Composer-based developer workflow and fix PHPCS/PHPStan issues#1296
Marcus-Nightingale wants to merge 10 commits into
vrana:masterfrom
Marcus-Nightingale:ci-cleanup

Conversation

@Marcus-Nightingale

Copy link
Copy Markdown
Contributor

This change updates the project’s Composer workflow so developers can run checks more easily and CI uses the same entry points.

Main changes:
• Added Composer scripts for phpcs, phpcbf, and phpstan
• Added fallback behavior so the coding tools can run from vendor/bin, a global Composer install, or PATH
• Updated CI to run composer phpcs and composer phpstan directly
• Fixed the PHPStan config and resolved the PHPStan issues reported on this branch
• Fixed the PHPCS issues reported on this branch
• Updated the README with the Composer-based coding standard commands
• Confirmed composer compile still works

Validation:
• composer phpcs
• composer phpstan
• composer compile

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