File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 3
3
! /bin /validate-json
4
4
coverage
5
5
.buildpath
6
+ .php_cs.cache
6
7
.project
7
8
.settings
8
9
composer.lock
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ use Symfony \CS \Config \Config ;
4
+ use Symfony \CS \FixerInterface ;
5
+
6
+ $ config = Config::create ()
7
+ ->level (Symfony \CS \FixerInterface::PSR2_LEVEL )
8
+ ->setUsingCache (true )
9
+ ->setUsingLinter (false );
10
+
11
+ $ finder = $ config ->getFinder ()
12
+ ->in (__DIR__ );
13
+
14
+ return $ config ;
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ script:
21
21
- cd docs && make linkcheck && cd ..
22
22
- vendor/bin/phpdoc.php -d src -t docs-api
23
23
- vendor/bin/phpunit --coverage-text
24
+ - vendor/bin/php-cs-fixer fix --dry-run --diff --verbose
Original file line number Diff line number Diff line change 40
40
},
41
41
"require-dev" : {
42
42
"json-schema/JSON-Schema-Test-Suite" : " 1.1.0" ,
43
+ "fabpot/php-cs-fixer" : " ~1.6" ,
43
44
"phpunit/phpunit" : " ~3.7" ,
44
45
"phpdocumentor/phpdocumentor" : " ~2"
45
46
},
You can’t perform that action at this time.
0 commit comments