From c0f0edf0441f0ddcff0604407b7600a40993faf2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 22 Oct 2016 17:05:00 +0200 Subject: [PATCH] Mark Name::$parts as deprecated --- lib/PhpParser/Node/Name.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/PhpParser/Node/Name.php b/lib/PhpParser/Node/Name.php index cc0aece..d3d33ea 100644 --- a/lib/PhpParser/Node/Name.php +++ b/lib/PhpParser/Node/Name.php @@ -6,7 +6,10 @@ use PhpParser\NodeAbstract; class Name extends NodeAbstract { - /** @var string[] Parts of the name */ + /** + * @var string[] Parts of the name + * @deprecated Avoid directly accessing $parts, use methods instead. + */ public $parts; /**