Skip to content

Combine PHPStan and PHPCS in lint script#705

Merged
n0nag0n merged 3 commits into
masterfrom
combine-phpstan-and-phpcs-in-lint-script
Jun 24, 2026
Merged

Combine PHPStan and PHPCS in lint script#705
n0nag0n merged 3 commits into
masterfrom
combine-phpstan-and-phpcs-in-lint-script

Conversation

@fadrian06

Copy link
Copy Markdown
Contributor

This pull request updates the Composer lint script to run both static analysis and code style checks, streamlining the code quality process.

Build and code quality tooling:

  • Updated the lint script in composer.json to run both phpstan (with the -n flag for no interaction) and phpcs, ensuring that both static analysis and code style checks are performed together.

Copilot AI review requested due to automatic review settings June 23, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the Composer lint script so it runs both static analysis (PHPStan) and code style checks (PHPCS) in a single command, consolidating quality checks into one workflow.

Changes:

  • Updated composer lint to run phpstan ... -n followed by phpcs.
  • Converted lint from a single string command to a Composer script array for sequential execution.

Comment thread composer.json
@n0nag0n n0nag0n merged commit dcab35b into master Jun 24, 2026
21 checks passed
@n0nag0n n0nag0n deleted the combine-phpstan-and-phpcs-in-lint-script branch June 24, 2026 13:45
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.

3 participants