Skip to content

Commit 1039ae2

Browse files
committed
PHP 8.4 | Squiz/BlockComment: add test with abstract property
1 parent 916eb08 commit 1039ae2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,10 @@ class AsymVisibility {
331331
*/
332332
private(set) int $prop = 1;
333333
}
334+
335+
abstract class AbstractProperties {
336+
/**
337+
* Comment should be ignored.
338+
*/
339+
abstract int $prop {get;}
340+
}

src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc.fixed

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,3 +333,10 @@ class AsymVisibility {
333333
*/
334334
private(set) int $prop = 1;
335335
}
336+
337+
abstract class AbstractProperties {
338+
/**
339+
* Comment should be ignored.
340+
*/
341+
abstract int $prop {get;}
342+
}

0 commit comments

Comments
 (0)