Skip to content

Commit 74bb7a0

Browse files
authored
Remove deprecated TYPE_DECLARATION_SET (rectorphp#3352)
1 parent 4ef31e9 commit 74bb7a0

File tree

3 files changed

+0
-35
lines changed

3 files changed

+0
-35
lines changed

config/set/type-declaration-strict.php

-11
This file was deleted.

packages/Set/ValueObject/SetList.php

-6
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ final class SetList implements SetListInterface
126126
*/
127127
public const TYPE_DECLARATION = __DIR__ . '/../../../config/set/type-declaration.php';
128128

129-
/**
130-
* @deprecated Use only TYPE_DECLARATION instead
131-
* @var string
132-
*/
133-
public const TYPE_DECLARATION_STRICT = __DIR__ . '/../../../config/set/type-declaration-strict.php';
134-
135129
/**
136130
* @var string
137131
*/

rules/CodingStyle/Enum/PreferenceSelfThis.php

-18
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,4 @@ final class PreferenceSelfThis
1717
* @var string
1818
*/
1919
public const PREFER_SELF = 'prefer_self';
20-
21-
/**
22-
* @api
23-
* @deprecated Use direct constant
24-
*/
25-
public static function PREFER_THIS(): string
26-
{
27-
return self::PREFER_THIS;
28-
}
29-
30-
/**
31-
* @api
32-
* @deprecated Use direct constant
33-
*/
34-
public static function PREFER_SELF(): string
35-
{
36-
return self::PREFER_SELF;
37-
}
3820
}

0 commit comments

Comments
 (0)