Skip to content

Merge pull request #37 from nextcloud/feat/type_declaration_spaces #65

Merge pull request #37 from nextcloud/feat/type_declaration_spaces

Merge pull request #37 from nextcloud/feat/type_declaration_spaces #65

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