Skip to content

Commit 228605e

Browse files
committed
PHP 8.4 | Squiz/MemberVarScope: add tests with final properties
1 parent 81d5377 commit 228605e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ class MyClass {
7070
interface Base {
7171
protected $anonymous;
7272
}
73+
74+
class PHP84FinalProperties {
75+
final int $final;
76+
}

src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function getErrorList()
3939
41 => 1,
4040
66 => 2,
4141
67 => 1,
42+
75 => 1,
4243
];
4344

4445
}//end getErrorList()

0 commit comments

Comments
 (0)