Skip to content

Start fixing phpstan fails #2835

Start fixing phpstan fails

Start fixing phpstan fails #2835

Workflow file for this run

name: 'PHP CodeSniffer'
on:
pull_request:
paths:
- 'src/**.php'
- '*.php'
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 100
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: the-events-calendar/action-tribe-phpcs@master
with:
github-bot-token: ${{ secrets.GH_BOT_TOKEN }}