mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Attribute: make names pascal case to be consistent with native nikic/php-parser
This commit is contained in:
parent
480381bbe1
commit
7b7914a7d2
|
@ -26,7 +26,7 @@ final class Attribute
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const SCOPE_NODE = 'scope_node';
|
||||
public const SCOPE_NODE = 'scopeNode';
|
||||
|
||||
/**
|
||||
* System name to be found in @see \PhpParser\NodeVisitor\NameResolver
|
||||
|
@ -44,22 +44,22 @@ final class Attribute
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const CLASS_NODE = 'class_node';
|
||||
public const CLASS_NODE = 'classNode';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PARENT_NODE = 'parent_node';
|
||||
public const PARENT_NODE = 'parentNode';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PREVIOUS_NODE = 'prev_node';
|
||||
public const PREVIOUS_NODE = 'prevNode';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const NEXT_NODE = 'next_node';
|
||||
public const NEXT_NODE = 'nextNode';
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user