Skip to content

style: add rules for casts / single quotes #39

style: add rules for casts / single quotes

style: add rules for casts / single quotes #39

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- stable*
pull_request:
jobs:
lint-php:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: composer install --prefer-dist
- name: Load problem matcher for php -l
uses: korelstar/phplint-problem-matcher@v1
- name: PHP syntax check
run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f"
- name: PHP Coding Standards Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff