We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca89ab2 commit 4bf5347Copy full SHA for 4bf5347
1 file changed
rules/CodeQuality/Rector/ClassConstFetch/ConvertStaticPrivateConstantToSelfRector.php
@@ -54,35 +54,6 @@ public function run()
54
$baz = static::BAZ;
55
}
56
57
-CODE_SAMPLE
58
- ),
59
- new CodeSample(
60
- <<<'CODE_SAMPLE'
61
-final class Foo
62
-{
63
- private const BAR = 'bar';
64
- public const BAZ = 'baz';
65
-
66
- public function run()
67
- {
68
- $bar = static::BAR;
69
- $baz = static::BAZ;
70
- }
71
-}
72
73
- ,
74
75
76
77
78
79
80
81
82
- $bar = self::BAR;
83
- $baz = self::BAZ;
84
85
86
CODE_SAMPLE
87
),
88
],
0 commit comments