@@ -23,19 +23,19 @@ public function setup() : void
23
23
24
24
public function testCustomRules () : void
25
25
{
26
- $ this -> assertContainsEquals (
26
+ self :: assertContainsEquals (
27
27
['array_indentation ' => false ],
28
28
$ this ->config ->getRules ()
29
29
);
30
30
}
31
31
32
32
public function testHeaderComment () : void
33
33
{
34
- $ this -> assertFalse (
34
+ self :: assertFalse (
35
35
isset ($ this ->config ->getRules ()['header_comment ' ])
36
36
);
37
37
$ this ->config ->setHeaderComment ('ABC ' );
38
- $ this -> assertSame (
38
+ self :: assertSame (
39
39
'ABC ' ,
40
40
// @phpstan-ignore-next-line
41
41
$ this ->config ->getRules ()['header_comment ' ]['header ' ]
@@ -47,12 +47,12 @@ public function testDefaultHeaderComment() : void
47
47
$ this ->config ->setDefaultHeaderComment ('Foo Bar ' );
48
48
// @phpstan-ignore-next-line
49
49
$ header = $ this ->config ->getRules ()['header_comment ' ]['header ' ];
50
- $ this -> assertStringContainsString ('Foo Bar ' , $ header );
51
- $ this -> assertStringNotContainsString ('(c) ' , $ header );
50
+ self :: assertStringContainsString ('Foo Bar ' , $ header );
51
+ self :: assertStringNotContainsString ('(c) ' , $ header );
52
52
$ this ->config ->setDefaultHeaderComment ('Bazz ' , 'Acme ' );
53
53
// @phpstan-ignore-next-line
54
54
$ header = $ this ->config ->getRules ()['header_comment ' ]['header ' ];
55
- $ this -> assertStringContainsString ('Bazz ' , $ header );
56
- $ this -> assertStringContainsString ('(c) Acme ' , $ header );
55
+ self :: assertStringContainsString ('Bazz ' , $ header );
56
+ self :: assertStringContainsString ('(c) Acme ' , $ header );
57
57
}
58
58
}
0 commit comments