Skip to content

Commit c43ce75

Browse files
committed
PHP 8.4 | Squiz/BlockComment: add test with final property
1 parent 4c1eb36 commit c43ce75

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
@@ -307,3 +307,10 @@ abstract class MyClass
307307
enum MyEnum {
308308

309309
}
310+
311+
class FinalProperties {
312+
/**
313+
* Comment should be ignored.
314+
*/
315+
final int $prop = 1;
316+
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,10 @@ abstract class MyClass
309309
enum MyEnum {
310310

311311
}
312+
313+
class FinalProperties {
314+
/**
315+
* Comment should be ignored.
316+
*/
317+
final int $prop = 1;
318+
}

0 commit comments

Comments
 (0)