Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Feb 4, 2024
1 parent 8396360 commit 2ae5073
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/OverrideTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class C {
public function f(): void {}
}
',
'error_message' => 'InvalidOverride - src' . DIRECTORY_SEPARATOR . 'somefile.php:3:25',
'error_message' => 'InvalidOverride',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -97,7 +97,7 @@ class C2 extends C {
public function f(): void {}
}
',
'error_message' => 'MissingOverrideAttribute - src' . DIRECTORY_SEPARATOR . 'somefile.php:7:25',
'error_message' => 'MissingOverrideAttribute',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -113,7 +113,7 @@ class C {
public function f(): void {}
}
',
'error_message' => 'MissingOverrideAttribute - src' . DIRECTORY_SEPARATOR . 'somefile.php:9:25',
'error_message' => 'MissingOverrideAttribute',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -131,7 +131,7 @@ class C2 extends C {
public function __construct() {}
}
',
'error_message' => 'InvalidOverride - src' . DIRECTORY_SEPARATOR . 'somefile.php:10:25',
'error_message' => 'InvalidOverride',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -145,7 +145,7 @@ interface I2 extends I {
public function f(): void;
}
',
'error_message' => 'MissingOverrideAttribute - src' . DIRECTORY_SEPARATOR . 'somefile.php:7:25',
'error_message' => 'MissingOverrideAttribute',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -160,7 +160,7 @@ class C2 extends C {
private function f(): void {}
}
',
'error_message' => 'InvalidOverride - src' . DIRECTORY_SEPARATOR . 'somefile.php:7:25',
'error_message' => 'InvalidOverride',
'error_levels' => [],
'php_version' => '8.3',
],
Expand All @@ -171,7 +171,7 @@ interface I {
public function f(): void;
}
',
'error_message' => 'InvalidOverride - src' . DIRECTORY_SEPARATOR . 'somefile.php:3:25',
'error_message' => 'InvalidOverride',
'error_levels' => [],
'php_version' => '8.3',
],
Expand Down

0 comments on commit 2ae5073

Please sign in to comment.