Skip to content

Commit

Permalink
Create phpcs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix authored Mar 22, 2024
1 parent 994a18e commit d970ab7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: PHP Code Standards check

on: [push, pull_request]

jobs:
phpcs:
name: PHP Code Standards
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: PHPCS check
uses: chekalsky/phpcs-action@v1
with:
phpcs_bin_path: './vendor/bin/phpcs'
enable_warnings: true

0 comments on commit d970ab7

Please sign in to comment.