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 543b2a2 commit 14a2a39Copy full SHA for 14a2a39
.gitignore
@@ -1,7 +1,8 @@
1
+/.php_cs
2
+/.php_cs.cache
3
/behat.yml
4
/build/
5
/composer.lock
6
/phpspec.yml
7
/phpunit.xml
8
/vendor/
-/.php_cs.cache
.php_cs
.php_cs.dist
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ * Configuration for fabpot/php-cs-fixer
+ *
+ * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
+ */
9
+$finder = PhpCsFixer\Finder::create()
10
+ ->in('src')
11
+ ->in('spec')
12
+;
13
+return PhpCsFixer\Config::create()
14
+ ->setRules([
15
+ '@PSR2' => true,
16
+ '@Symfony' => true,
17
+ 'array_syntax' => [
18
+ 'syntax' => 'short',
19
+ ],
20
+ 'no_empty_phpdoc' => true,
21
+ 'no_superfluous_phpdoc_tags' => true,
22
+ ])
23
+ ->setFinder($finder);
0 commit comments