Skip to content

✨ feat(phpmd): add phpmd #4

✨ feat(phpmd): add phpmd

✨ feat(phpmd): add phpmd #4

Workflow file for this run

name: Code quality
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
phpcs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 8.3 ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHP_CodeSniffer
run: composer run phpcs
phpstan:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 8.3 ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHPStan
run: composer run phpstan