Skip to content

Merge branch 'main' of github.com:pfefferle/wordpress-microsub #54

Merge branch 'main' of github.com:pfefferle/wordpress-microsub

Merge branch 'main' of github.com:pfefferle/wordpress-microsub #54

Workflow file for this run

name: PHP Coding Standards
on:
push:
branches:
- main
pull_request:
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer, cs2pr
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPCS
run: |
composer lint -- --report-checkstyle --report-file=phpcs-report.xml || true
cs2pr phpcs-report.xml