Skip to content

Merge pull request #19 from nextcloud/changelog/1.2.2 #44

Merge pull request #19 from nextcloud/changelog/1.2.2

Merge pull request #19 from nextcloud/changelog/1.2.2 #44

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