Skip to content

Commit 4bf5347

Browse files
committed
fix: remove code sample
1 parent ca89ab2 commit 4bf5347

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

rules/CodeQuality/Rector/ClassConstFetch/ConvertStaticPrivateConstantToSelfRector.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -54,35 +54,6 @@ public function run()
5454
$baz = static::BAZ;
5555
}
5656
}
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-
CODE_SAMPLE
73-
,
74-
<<<'CODE_SAMPLE'
75-
final class Foo
76-
{
77-
private const BAR = 'bar';
78-
public const BAZ = 'baz';
79-
80-
public function run()
81-
{
82-
$bar = self::BAR;
83-
$baz = self::BAZ;
84-
}
85-
}
8657
CODE_SAMPLE
8758
),
8859
],

0 commit comments

Comments
 (0)