Skip to content

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor #6

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor #6

Workflow file for this run

name: Run PHP Code Sniffer to enforce code style
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: cs2pr, phpcs
- name: Run phpcs
run: phpcs -q --report=checkstyle lib | cs2pr
continue-on-error: true