Skip to content

Merge pull request #39 from metno/coding_standard_fix #80

Merge pull request #39 from metno/coding_standard_fix

Merge pull request #39 from metno/coding_standard_fix #80

Workflow file for this run

name: PHP Code Sniffer
on: push
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP Code Sniffer
run: |
cd .ci
composer require --dev dealerdirect/phpcodesniffer-composer-installer
composer require --dev drupal/coder
- name: Check coding standards
run: |
.ci/vendor/bin/phpcs --colors -n --standard=Drupal --extensions=php,module,yml metsis