Skip to content

Commit 8bf0408

Browse files
committed
Slevomat.Classes.ClassMemberSpacing: More tests
1 parent 080bc06 commit 8bf0408

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/Sniffs/Classes/data/classMemberSpacingNoErrors.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,21 @@ public static function getLabelDefinitions(): array
148148
}
149149

150150
}
151+
152+
class Test
153+
{
154+
155+
public function method1(): void
156+
{
157+
}
158+
#[FirstAttribute]
159+
public function method2(): void
160+
{
161+
}
162+
#[FirstAttribute]
163+
#[AnotherAttribute]
164+
public function method3(): void
165+
{
166+
}
167+
168+
}

0 commit comments

Comments
 (0)