File tree Expand file tree Collapse file tree 3 files changed +12
-20
lines changed Expand file tree Collapse file tree 3 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 1
1
/.php_cs
2
+ /.php_cs.cache
2
3
/behat.yml
3
4
/build /
4
5
/composer.lock
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/*
4
- * In order to make it work, fabpot/php-cs-fixer and sllh/php-cs-fixer-styleci-bridge must be installed globally
5
- * with composer.
4
+ * Configuration for fabpot/php-cs-fixer
6
5
*
7
- * @link https://github.com/Soullivaneuh/php-cs-fixer-styleci-bridge
8
6
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
9
7
*/
10
8
11
- use SLLH \StyleCIBridge \ConfigBridge ;
12
-
13
- return ConfigBridge::create ();
9
+ $ finder = PhpCsFixer \Finder::create ()
10
+ ->in ('src ' )
11
+ ->in ('tests ' )
12
+ ;
13
+ return PhpCsFixer \Config::create ()
14
+ ->setRules ([
15
+ '@Symfony ' => true ,
16
+ 'array_syntax ' => ['syntax ' => 'short ' ],
17
+ ])
18
+ ->setFinder ($ finder );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments