Skip to content

Commit 757bfc8

Browse files
Only add Override for now for skipped attributes (#328)
* Only add Override for now for skipped attributes * [ci-review] Rector Rectify --------- Co-authored-by: GitHub Action <[email protected]>
1 parent 17296b3 commit 757bfc8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ final class DowngradeAttributeToAnnotationRector extends AbstractRector implemen
3434
/**
3535
* @var string[]
3636
*/
37-
private const SKIPPED_ATTRIBUTES = [
38-
'Attribute',
39-
'ReturnTypeWillChange',
40-
'AllowDynamicProperties',
41-
'Override',
42-
'SensitiveParameter',
43-
];
37+
private const SKIPPED_ATTRIBUTES = ['Attribute', 'ReturnTypeWillChange', 'AllowDynamicProperties', 'Override'];
4438

4539
/**
4640
* @var DowngradeAttributeToAnnotation[]

0 commit comments

Comments
 (0)