Skip to content

EPS-460: Wordpress 6.5 compatibility #51

EPS-460: Wordpress 6.5 compatibility

EPS-460: Wordpress 6.5 compatibility #51

Workflow file for this run

name: PHPCS check
on: pull_request
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
tools: composer, cs2pr
- name: Install composer dependencies
run: composer config github-oauth.github.com ${{ secrets.PRIVATE_ACCESS_TOKEN }} && composer install --prefer-dist --no-suggest --no-progress
- name: Run phpcs
id: phpcs
if: always()
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml