Skip to content

Merge pull request #318 from 10up/fix/release-1.8.1-issues-313 #452

Merge pull request #318 from 10up/fix/release-1.8.1-issues-313

Merge pull request #318 from 10up/fix/release-1.8.1-issues-313 #452

Workflow file for this run

name: PHPCS
on:
push:
branches:
- develop
- trunk
paths:
- "**.php"
pull_request:
branches:
- develop
paths:
- "**.php"
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none
tools: composer:v2
- name: Install dependencies
run: composer install
- name: Test
run: ./vendor/bin/phpcs --runtime-set testVersion 7.4 .