File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
composer.phar
2
2
composer.lock
3
3
/vendor /
4
+ .php_cs.cache
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ // see https://github.com/FriendsOfPHP/PHP-CS-Fixer
4
+
5
+ $ finder = PhpCsFixer \Finder::create ()
6
+ ->in (array (__DIR__ .'/src ' , __DIR__ .'/tests ' , __DIR__ .'/examples ' ))
7
+ ;
8
+
9
+ return PhpCsFixer \Config::create ()
10
+ ->setRules (array (
11
+ '@PSR1 ' => true ,
12
+ '@PSR2 ' => true ,
13
+ '@Symfony ' => true ,
14
+ 'array_syntax ' => array ('syntax ' => 'long ' ),
15
+ 'phpdoc_order ' => true ,
16
+ 'no_trailing_whitespace ' => true ,
17
+ 'concat_space ' => array ('spacing ' => 'one ' ),
18
+ ))
19
+ ->setFinder ($ finder )
20
+ ;
Original file line number Diff line number Diff line change 22
22
"ext-dbase" : " For dbf files parsing"
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " ~5.2 || ~4.8"
25
+ "phpunit/phpunit" : " ~5.2 || ~4.8" ,
26
+ "friendsofphp/php-cs-fixer" : " ^2.0"
26
27
},
27
28
"autoload" : {
28
29
"psr-4" : {
You can’t perform that action at this time.
0 commit comments