Skip to content

Commit

Permalink
drepcate more configure constants (#1446)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 10, 2021
1 parent 9f8b480 commit dcabd2d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ final class PreferThisOrSelfMethodCallRector extends AbstractRector implements C
{
/**
* @api
* @deprecated
* @var string
*/
final public const TYPE_TO_PREFERENCE = 'type_to_preference';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ final class StringClassNameToClassConstantRector extends AbstractRector implemen
{
/**
* @api
* @deprecated
* @var string
*/
final public const CLASSES_TO_SKIP = 'classes_to_skip';
Expand Down
1 change: 1 addition & 0 deletions rules/Removing/Rector/Class_/RemoveParentRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class RemoveParentRector extends AbstractRector implements ConfigurableRec
{
/**
* @api
* @deprecated
* @var string
*/
final public const PARENT_TYPES_TO_REMOVE = 'parents_types_to_remove';
Expand Down
1 change: 1 addition & 0 deletions rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class RemoveFuncCallRector extends AbstractRector implements ConfigurableR
{
/**
* @api
* @deprecated
* @var string
*/
final public const REMOVE_FUNC_CALLS = 'remove_func_calls';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ final class CompleteImportForPartialAnnotationRector extends AbstractRector impl
{
/**
* @api
* @deprecated
* @var string
*/
final public const USE_IMPORTS_TO_RESTORE = '$useImportsToRestore';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ final class SingleToManyMethodRector extends AbstractRector implements Configura
{
/**
* @api
* @deprecated
* @var string
*/
final public const SINGLES_TO_MANY_METHODS = 'singles_to_many_methods';
Expand Down
1 change: 1 addition & 0 deletions rules/Transform/Rector/Class_/MergeInterfacesRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ final class MergeInterfacesRector extends AbstractRector implements Configurable
{
/**
* @api
* @deprecated
* @var string
*/
final public const OLD_TO_NEW_INTERFACES = 'old_to_new_interfaces';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ final class ReservedFnFunctionRector extends AbstractRector implements Configura
{
/**
* @api
* @deprecated
* @var string
*/
final public const RESERVED_NAMES_TO_NEW_ONES = '$reservedNamesToNewOnes';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ final class MethodCallToPropertyFetchRector extends AbstractRector implements Co
{
/**
* @api
* @deprecated
* @var string
*/
final public const METHOD_CALL_TO_PROPERTY_FETCHES = 'method_call_to_property_fetch_collection';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ final class StaticCallToMethodCallRector extends AbstractRector implements Confi
{
/**
* @api
* @deprecated
* @var string
*/
final public const STATIC_CALLS_TO_METHOD_CALLS = 'static_calls_to_method_calls';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class ToStringToMethodCallRector extends AbstractRector implements Configu
{
/**
* @api
* @deprecated
* @var string
*/
final public const METHOD_NAMES_BY_TYPE = 'method_names_by_type';
Expand Down

0 comments on commit dcabd2d

Please sign in to comment.