Skip to content

Commit

Permalink
[DX] Remove deprecated attributes (#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 9, 2022
1 parent 55575af commit 3e4e571
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions packages/NodeTypeResolver/Node/AttributeKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Rector\NodeTypeResolver\Node;

use Rector\Core\PhpParser\Node\BetterNodeFinder;
use Rector\NodeNameResolver\NodeNameResolver;

/**
* @enum
*/
Expand All @@ -28,40 +25,6 @@ final class AttributeKey
*/
public const USE_NODES = 'useNodes';

/**
* @deprecated Use
* @see BetterNodeFinder and
* @see NodeNameResolver to find your parent nodes.
*
* @var string
*/
public const CLASS_NAME = 'className';

/**
* @deprecated Use
* @see BetterNodeFinder::findParentType($node, ClassLike::class) to find your parent nodes.
*
* @var string
*/
public const CLASS_NODE = 'class_node';

/**
* @deprecated Use
* @see BetterNodeFinder and
* @see NodeNameResolver
*
* @var string
*/
public const METHOD_NAME = 'methodName';

/**
* @deprecated Use
* @see BetterNodeFinder::findParentType($node, ClassMethod::class) to find your parent nodes.
*
* @var string
*/
public const METHOD_NODE = 'methodNode';

/**
* Internal php-parser name.
* Do not change this even if you want!
Expand Down

0 comments on commit 3e4e571

Please sign in to comment.