Skip to content

Commit b1338e5

Browse files
committed
Maintenance patch.
1 parent 8ac3269 commit b1338e5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: PHP-CS-Fixer
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.operating-system }}
8+
9+
strategy:
10+
matrix:
11+
operating-system: [ubuntu-latest]
12+
php-versions: ['7.4']
13+
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Set up PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: ${{ matrix.php-versions }}
22+
extensions: pcre
23+
tools: php-cs-fixer
24+
25+
- name: PHP-CS-Fixer Check
26+
run: |
27+
php-cs-fixer fix -v --dry-run ./src --rules=@PSR2

0 commit comments

Comments
 (0)