Skip to content

Merge pull request #16447 from misantron/redis-timeout-option #1731

Merge pull request #16447 from misantron/redis-timeout-option

Merge pull request #16447 from misantron/redis-timeout-option #1731

name: Static Code Analysis
on:
push:
paths-ignore:
- '**.md'
- '**.txt'
pull_request:
branches:
- master
- 4.0.x
- 4.1.x
jobs:
phpcs:
# To prevent build a particular commit use
# git commit -m "......... [ci skip]"
if: "!contains(github.event.head_commit.message, 'ci skip')"
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Run PHP_CodeSniffer
run: docker run --rm -v $(pwd):/data cytopia/phpcs --standard=./phpcs.xml