Skip to content

Commit 47b2589

Browse files
committed
PSR12/ConstantVisibility: remove tests which wouldn't trigger the sniff
The sniff is listening for `T_CONST`, so wouldn't trigger on these tests with properties.
1 parent c08f84e commit 47b2589

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.inc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,3 @@ enum SomeEnum {
2020
public const BAR = 'bar';
2121
const BAZ = 'baz';
2222
}
23-
24-
// Don't break on asymmetric visibility
25-
class WithAsym {
26-
27-
private(set) string $asym1;
28-
29-
public private(set) string $asym2;
30-
31-
protected(set) string $asym3;
32-
33-
public protected(set) string $asym4;
34-
}

0 commit comments

Comments
 (0)