Fixed PHP warning that could occur when updating from 1.0.3 or older … #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Lint | |
on: [push] | |
jobs: | |
PHPCS: | |
name: PHPCS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
composer install --dev --prefer-dist --no-progress --no-suggest --no-scripts | |
composer require --dev staabm/annotate-pull-request-from-checkstyle --no-scripts | |
- name: Run phpcs | |
run: ./vendor/bin/phpcs -q --report=checkstyle | ./vendor/bin/cs2pr --graceful-warnings |