ci: custom ruleset

This commit is contained in:
Dmitrii Vershinin
2023-02-02 12:49:51 +05:00
committed by Sergey Linnik
parent 8b71bb0433
commit 248e9213a1
2 changed files with 18 additions and 2 deletions

View File

@ -22,8 +22,10 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: cs2pr, phpcs
- name: Run phpcs
run: phpcs -q --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml --ignore=node_modules,bower_components,vendor ./
run: |
phpcs --version
phpcs -q --extensions=php,module,inc,install,test,profile,theme,info --ignore=node_modules,bower_components,vendor,css,js,lib --standard=./ruleset.xml ./