File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ public function testClassMethodScope(): void
63
63
});
64
64
}
65
65
66
- private function getFileScope (string $ filename ): Scope
66
+ private static function getFileScope (string $ filename ): Scope
67
67
{
68
68
$ testScope = null ;
69
- $ this -> processFile ($ filename , static function (Node $ node , Scope $ scope ) use (&$ testScope ): void {
69
+ self :: processFile ($ filename , static function (Node $ node , Scope $ scope ) use (&$ testScope ): void {
70
70
if (!($ node instanceof Exit_)) {
71
71
return ;
72
72
}
@@ -230,7 +230,7 @@ public function testUnionAndIntersection(
230
230
231
231
public static function dataAssignInIf (): array
232
232
{
233
- $ testScope = $ this -> getFileScope (__DIR__ . '/data/if.php ' );
233
+ $ testScope = self :: getFileScope (__DIR__ . '/data/if.php ' );
234
234
235
235
return [
236
236
[
@@ -760,7 +760,7 @@ public function testAssignInIf(
760
760
761
761
public static function dataConstantTypes (): array
762
762
{
763
- $ testScope = $ this -> getFileScope (__DIR__ . '/data/constantTypes.php ' );
763
+ $ testScope = self :: getFileScope (__DIR__ . '/data/constantTypes.php ' );
764
764
765
765
return [
766
766
[
You can’t perform that action at this time.
0 commit comments