Merge pull request #16447 from misantron/redis-timeout-option #1731
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |