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 8ab66b1 commit b848dcbCopy full SHA for b848dcb
.gitignore
@@ -7,7 +7,6 @@
7
8
# PHP CS Fixer
9
/.php-cs-fixer.cache
10
-/.php-cs-fixer.php
11
12
# Editor directories and files
13
/.idea
@@ -39,7 +38,6 @@ Thumbs.db
39
38
/.php_cs.cache
40
/.php_cs.dist
41
/_ide_helper.php
42
43
44
# Build artifacts
45
/build/
.php-cs-fixer.php
@@ -0,0 +1,16 @@
1
+<?php
2
+
3
+$finder = PhpCsFixer\Finder::create()
4
+ ->exclude([
5
+ 'examples',
6
+ 'vendor',
+ 'tests/Mocks',
+ ])
+ ->in(__DIR__);
+return (new PhpCsFixer\Config)
+ ->setRules([
+ '@PSR12' => true,
14
+ 'array_syntax' => ['syntax' => 'short'],
15
16
+ ->setFinder($finder);
0 commit comments