We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cd3e0a commit 245c9afCopy full SHA for 245c9af
2 files changed
.github/workflows/code-style.yml
@@ -0,0 +1,20 @@
1
+on: push
2
+name: Code Style
3
+jobs:
4
+ php-cs-fixer:
5
+ runs-on: ubuntu-latest
6
+ container:
7
+ image: kirschbaumdevelopment/laravel-test-runner:7.3.0
8
+
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ with:
12
+ fetch-depth: 1
13
14
+ - name: Install PHP CS Fixer
15
+ run: |
16
+ composer global require friendsofphp/php-cs-fixer
17
18
+ - name: Check Coding Standards
19
+ run: php-cs-fixer fix --dry-run
20
.php_cs
@@ -1,11 +1,8 @@
<?php
$finder = PhpCsFixer\Finder::create()
- ->exclude('bootstrap/cache')
- ->exclude('storage')
- ->exclude('vendor')
- ->exclude('bower_components')
->exclude('node_modules')
+ ->exclude('vendor')
->in(__DIR__)
->name('*.php')
->notName('*.blade.php')
0 commit comments