gspc-unlink-hidden-products-in-cart.php
: Added snippet to remove li…
#1034
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: | |
branches: | |
- master | |
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 | |
composer require --dev staabm/annotate-pull-request-from-checkstyle | |
- name: Run phpcs | |
run: ./vendor/bin/phpcs -q --report=checkstyle | ./vendor/bin/cs2pr --graceful-warnings |