We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac3269 commit b1338e5Copy full SHA for b1338e5
.github/workflows/php-cs-fixer.yml
@@ -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