Skip to content

CIVIPLMMSR-199: Allow users with 'administer ManualDirectDebit' permission to be able to delete mandates #222

CIVIPLMMSR-199: Allow users with 'administer ManualDirectDebit' permission to be able to delete mandates

CIVIPLMMSR-199: Allow users with 'administer ManualDirectDebit' permission to be able to delete mandates #222

Workflow file for this run

name: Linters
on: pull_request
env:
GITHUB_BASE_REF: ${{ github.base_ref }}
jobs:
run-linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install phpcs
run: cd bin && ./install-php-linter
- name: Fetch target branch
run: git fetch -n origin ${GITHUB_BASE_REF}
- name: Run phpcs linter
run: git diff --diff-filter=d origin/${GITHUB_BASE_REF} --name-only -- '*.php' | xargs -r ./bin/phpcs.phar --standard=phpcs-ruleset.xml