Skip to content

Commit 7f3e8f2

Browse files
committed
Merge branch 'master' into 4.x
2 parents d170d4f + e74e6c1 commit 7f3e8f2

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
4949
T_STATIC => T_STATIC,
5050
T_READONLY => T_READONLY,
5151
T_FINAL => T_FINAL,
52+
T_ABSTRACT => T_ABSTRACT,
5253
T_WHITESPACE => T_WHITESPACE,
5354
T_NULLABLE => T_NULLABLE,
5455
T_TYPE_UNION => T_TYPE_UNION,

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,3 +534,10 @@ class AsymVisibility {
534534
*/
535535
private(set) protected int $hasDocblockC;
536536
}
537+
538+
abstract class PHP84AbstractProperties {
539+
/**
540+
* @var Type
541+
*/
542+
abstract Type $hasDocblock {get;}
543+
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,3 +534,10 @@ class AsymVisibility {
534534
*/
535535
private(set) protected int $hasDocblockC;
536536
}
537+
538+
abstract class PHP84AbstractProperties {
539+
/**
540+
* @var Type
541+
*/
542+
abstract Type $hasDocblock {get;}
543+
}

0 commit comments

Comments
 (0)