File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 25
25
"require-dev" : {
26
26
"symplify/easy-coding-standard" : " ^9.1" ,
27
27
"phpstan/phpstan" : " ^0.12.73"
28
+ },
29
+ "scripts" : {
30
+ "check-cs" : " vendor/bin/ecs check --ansi" ,
31
+ "fix-cs" : " vendor/bin/ecs check --fix --ansi" ,
32
+ "phpstan" : " vendor/bin/phpstan analyse --ansi"
28
33
}
29
34
}
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
6
+ use Symplify \EasyCodingStandard \ValueObject \Option ;
7
+ use Symplify \EasyCodingStandard \ValueObject \Set \SetList ;
8
+
9
+ return static function (ContainerConfigurator $ containerConfigurator ): void {
10
+ $ parameters = $ containerConfigurator ->parameters ();
11
+ $ parameters ->set (Option::PATHS , [
12
+ __DIR__ . '/src ' ,
13
+ __DIR__ . '/tests ' ,
14
+ ]);
15
+
16
+ $ parameters ->set (Option::SETS , [
17
+ // run and fix, one by one
18
+ SetList::COMMON ,
19
+ SetList::PSR_12 ,
20
+ ]);
21
+ };
You can’t perform that action at this time.
0 commit comments