File tree 3 files changed +11
-6
lines changed
spec/Knp/DictionaryBundle/Faker/Provider
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- $ finder = PhpCsFixer \Finder::create ()
5
+ use PedroTroller \CS \Fixer \Fixers ;
6
+ use PedroTroller \CS \Fixer \RuleSetFactory ;
7
+ use PhpCsFixer \Config ;
8
+ use PhpCsFixer \Finder ;
9
+
10
+ $ finder = Finder::create ()
6
11
->in (__DIR__ )
7
12
->append ([__FILE__ , __DIR__ .'/.symfony_checker ' ])
8
13
;
9
14
10
- $ config = new PhpCsFixer \ Config ();
15
+ $ config = new Config ();
11
16
$ config ->setFinder ($ finder );
12
- $ config ->registerCustomFixers (new PedroTroller \ CS \ Fixer \ Fixers ());
17
+ $ config ->registerCustomFixers (new Fixers ());
13
18
$ config ->setRiskyAllowed (true );
14
19
$ config ->setUsingCache (true );
15
20
$ config ->setRules (
16
- PedroTroller \ CS \ Fixer \ RuleSetFactory::create ()
21
+ RuleSetFactory::create ()
17
22
->phpCsFixer (true )
18
23
->php (8.1 , true )
19
24
->pedrotroller (true )
Original file line number Diff line number Diff line change 29
29
"require-dev" : {
30
30
"fakerphp/faker" : " 1.23.1" ,
31
31
"friends-of-phpspec/phpspec-code-coverage" : " 6.3.0" ,
32
- "friendsofphp/php-cs-fixer" : " 3.40 .0" ,
32
+ "friendsofphp/php-cs-fixer" : " 3.49 .0" ,
33
33
"pedrotroller/php-cs-custom-fixer" : " 2.33.0" ,
34
34
"phpspec/phpspec" : " 7.5.0" ,
35
35
"phpspec/prophecy" : " 1.18.0" ,
Original file line number Diff line number Diff line change 12
12
final class DictionarySpec extends ObjectBehavior
13
13
{
14
14
/**
15
- * @var Dictionary\ Collection
15
+ * @var Collection
16
16
*/
17
17
private $ dictionaries ;
18
18
You can’t perform that action at this time.
0 commit comments