Skip to content

Version 1.0.0

Version 1.0.0 #42

Workflow file for this run

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: Install PHP code sniffer as dev dependency
run: composer require squizlabs/php_codesniffer --dev
- name: Code sniffer
run: vendor/bin/phpcs src --standard=PSR2 -n