Skip to content

Merge pull request #131 from ToshY/feature/130 #202

Merge pull request #131 from ToshY/feature/130

Merge pull request #131 from ToshY/feature/130 #202

Workflow file for this run

name: PHPMD
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
phpmd:
name: PHPMD
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: PHPMD
run: php vendor/bin/phpmd --strict src/ text phpmd.xml