Skip to content

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

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 #4

Workflow file for this run

name: php-cs
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, phpcbf
- name: Run phpcbf
run: phpcbf -q --report=checkstyle lib | cs2pr
continue-on-error: true