Skip to content

Commit c1720f1

Browse files
dbuNyholm
authored andcommitted
use pretty-ci instead of style-ci (#27)
1 parent 385de3b commit c1720f1

File tree

3 files changed

+12
-20
lines changed

3 files changed

+12
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.php_cs
2+
/.php_cs.cache
23
/behat.yml
34
/build/
45
/composer.lock

.php_cs.dist

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
<?php
22

33
/*
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
65
*
7-
* @link https://github.com/Soullivaneuh/php-cs-fixer-styleci-bridge
86
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
97
*/
108

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);

.styleci.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)