Skip to content

Fix 365

Fix 365 #3019

Workflow file for this run

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
types: [ opened, labeled, synchronize ]
name: Inspections
jobs:
runPHPCSInspection:
if: contains(github.event.pull_request.labels.*.name, 'run analysis')
name: Run PHPCS inspection
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Composer
uses: php-actions/composer@v6
with:
php_version: "8.2"
- name: Check PHPCS
run: composer phpcs
- name: Run PHPCS Fixer
run: composer phpcsfixer
- name: Check Syntax
run: find -L . -path ./vendor -prune -o -path ./tests -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l