Skip to content

Conversation

@Morgy93
Copy link
Collaborator

@Morgy93 Morgy93 commented Jan 20, 2026

This pull request introduces a new PHPStan static analysis workflow and updates the existing PHPCS workflow to improve code quality checks in the CI pipeline. The key changes involve adding comprehensive static analysis for the codebase, updating PHP version requirements, and modernizing GitHub Actions usage.

CI/CD Workflow Enhancements:

  • Added a new .github/workflows/phpstan.yml workflow to run PHPStan static analysis, including setup for Magento, required services (MariaDB, OpenSearch), and the MageForge module. This workflow runs on pull requests and pushes to main.
  • Introduced a phpstan.neon configuration file specifying analysis level 6 and targeting the src directory.

PHPCS Workflow Updates:

  • Renamed .github/workflows/check-phpcs.yml to .github/workflows/phpcs.yml and updated workflow name for clarity.
  • Updated the PHP version to 8.4 and modernized action versions (using actions/checkout@v4 and shivammathur/setup-php@v2).
  • Enabled continue-on-error for the PHPCS step to allow the workflow to proceed even if coding standards violations are found.

@Morgy93 Morgy93 marked this pull request as ready for review January 20, 2026 23:12
@Morgy93 Morgy93 requested a review from dermatz January 20, 2026 23:12
@Morgy93 Morgy93 enabled auto-merge (squash) January 20, 2026 23:13
@Morgy93 Morgy93 merged commit 06bcfdc into main Jan 21, 2026
11 checks passed
@Morgy93 Morgy93 deleted the add-qa branch January 21, 2026 06:51
@github-actions github-actions bot mentioned this pull request Jan 20, 2026
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