File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /**
4
+ * @copyright Copyright (C) Ibexa AS. All rights reserved.
5
+ * @license For full copyright and license information view LICENSE file distributed with this source code.
6
+ */
7
+ declare (strict_types=1 );
8
+
9
+ use Ibexa \CodeStyle \PhpCsFixer \InternalConfigFactory ;
10
+
11
+ $ configFactory = new InternalConfigFactory ();
12
+ $ configFactory ->withRules ([
13
+ 'declare_strict_types ' => false ,
14
+ ]);
15
+
16
+ return $ configFactory
17
+ ->buildConfig ()
18
+ ->setFinder (
19
+ PhpCsFixer \Finder::create ()
20
+ ->in ([
21
+ __DIR__ . '/src ' ,
22
+ __DIR__ . '/tests ' ,
23
+ ])
24
+ ->files ()->name ('*.php ' )
25
+ );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 60
60
}
61
61
},
62
62
"scripts" : {
63
- "fix-cs" : " php-cs-fixer fix -v --show-progress=estimating "
63
+ "fix-cs" : " php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots "
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments