Skip to content

Commit 92f35dd

Browse files
committed
PHP 8.4 | Squiz/MemberVarScope: add test with abstract property
1 parent 7460df1 commit 92f35dd

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
@@ -85,3 +85,7 @@ class AsymVisibility {
8585
protected(set) public $asymPublicProtected = 'hello';
8686
protected private(set) $asymProtectedPrivate = 'hello';
8787
}
88+
89+
abstract class PHP84AbstractProperties {
90+
abstract string $abstract {get;}
91+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function getErrorList()
4343
80 => 1,
4444
81 => 1,
4545
82 => 1,
46+
90 => 1,
4647
];
4748

4849
}//end getErrorList()

0 commit comments

Comments
 (0)