p2 project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
446 B

name: PHP-CS-Fixer
on: [ pull_request, push ]
jobs:
lint:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Ignore comments in switch
run: php tests/remove-comments-in-switch.php
- name: Check for code style violation with PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run