Skip to content

Commit 4ee40b3

Browse files
committed
PHP 8.2 | Squiz/DocCommentAlignment: add test for readonly classes
Adjust existing unit test to confirm this is already handled correctly.
1 parent 81f322e commit 4ee40b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MyClass
3131
* Some info about the class here
3232
*
3333
*/
34-
class MyClass
34+
readonly class MyClass
3535
{
3636
/**
3737
* Some info about the function here.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MyClass
3131
* Some info about the class here
3232
*
3333
*/
34-
class MyClass
34+
readonly class MyClass
3535
{
3636
/**
3737
* Some info about the function here.

0 commit comments

Comments
 (0)