File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 2
2
\. php_cs \. cache
3
3
.phpunit.result.cache
4
4
composer.lock
5
+ .php-cs-fixer.cache
Original file line number Diff line number Diff line change 8
8
)
9
9
->in (__DIR__ );
10
10
11
- return PhpCsFixer \Config::create ()
11
+ $ config = new PhpCsFixer \Config ();
12
+
13
+ return $ config
12
14
->setRules (
13
15
[
14
16
'@Symfony ' => true ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ grumphp:
18
18
phpcsfixer :
19
19
allow_risky : true
20
20
cache_file : ~
21
- config : ' ./.php_cs '
21
+ config : ' ./.php-cs-fixer.php '
22
22
using_cache : true
23
23
verbose : true
24
24
phpstan :
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ class Type extends Enum
15
15
public const SWIP_BOX_2 = '400402 ' ;
16
16
public const POINT_PACK = '500501 ' ;
17
17
public const FOREIGN_LOCKER = '400 ' ;
18
+ public const FOREIGN_EXTERNAL_LOCKER = '501 ' ;
18
19
19
20
public static function standard (): self
20
21
{
@@ -50,4 +51,9 @@ public static function foreignLocker(): self
50
51
{
51
52
return self ::get (self ::FOREIGN_LOCKER );
52
53
}
54
+
55
+ public static function foreignExternalLocker (): self
56
+ {
57
+ return self ::get (self ::FOREIGN_EXTERNAL_LOCKER );
58
+ }
53
59
}
You can’t perform that action at this time.
0 commit comments