-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 672 Bytes
/
cs.yaml
File metadata and controls
30 lines (24 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: PHP-CS-Fixer
on:
pull_request:
push:
branches:
- main
- release/**
permissions:
contents: read
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Setup PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # pin@2.32.0
with:
php-version: '8.4'
- name: Install dependencies
run: composer update --no-progress --no-interaction --prefer-dist
- name: Run script
run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run