Do not use schema validate on production just for development #114
Workflow file for this run
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: PHP code sniffer | |
on: | |
push: | |
branches: | |
- master | |
pull_request: null | |
jobs: | |
codesniffer: | |
runs-on: ubuntu-latest | |
name: PHP code sniffer | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Composer update | |
run: composer update --no-progress --no-interaction | |
- name: Code sniffer | |
run: vendor/bin/phpcs src --standard=PSR2 -n |