Skip to content

Merge pull request #347 from 10up/feature/bump-tested-upto #378

Merge pull request #347 from 10up/feature/bump-tested-upto

Merge pull request #347 from 10up/feature/bump-tested-upto #378

Workflow file for this run

name: PHPCS
on:
push:
branches:
- develop
- trunk
pull_request:
branches:
- develop
paths: # Note: Update paths here will also require updating paths in ignore.phpcs.yml.
- '**.php'
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v2
coverage: none
- name: Install dependencies
run: composer install
- name: Run PHPCS
run: vendor/bin/phpcs autoshare-for-twitter.php includes/ --extensions=php -s