Skip to content

Commit

Permalink
Replace Scrutinizer with GA
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Jan 11, 2021
1 parent 5158b45 commit cedb057
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Coding Standards"

on:
pull_request:
push:
branches:
- "master"

jobs:
coding-standards:
name: "Coding Standards"
runs-on: "ubuntu-20.04"

strategy:
matrix:
php-version:
- "7.2"

steps:
- name: "Checkout"
uses: "actions/checkout@v2"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
tools: "cs2pr"
extensions: pdo_sqlite

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"

- name: "Run PHP_CodeSniffer"
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
3 changes: 0 additions & 3 deletions .scrutinizer.yml

This file was deleted.

0 comments on commit cedb057

Please sign in to comment.