Store string instead of array for Name
Name::$parts array is replaced by Name::$name string.
Showing
- grammar/php5.y 12 additions, 12 deletionsgrammar/php5.y
- grammar/php7.y 12 additions, 12 deletionsgrammar/php7.y
- lib/PhpParser/Node/Name.php 59 additions, 32 deletionslib/PhpParser/Node/Name.php
- lib/PhpParser/NodeVisitor/NameResolver.php 3 additions, 3 deletionslib/PhpParser/NodeVisitor/NameResolver.php
- lib/PhpParser/Parser/Php5.php 2 additions, 2 deletionslib/PhpParser/Parser/Php5.php
- lib/PhpParser/Parser/Php7.php 2 additions, 2 deletionslib/PhpParser/Parser/Php7.php
- lib/PhpParser/PrettyPrinter/Standard.php 3 additions, 3 deletionslib/PhpParser/PrettyPrinter/Standard.php
- test/PhpParser/Node/NameTest.php 24 additions, 12 deletionstest/PhpParser/Node/NameTest.php
- test/PhpParser/NodeDumperTest.php 1 addition, 4 deletionstest/PhpParser/NodeDumperTest.php
- test/PhpParser/NodeVisitor/NameResolverTest.php 1 addition, 1 deletiontest/PhpParser/NodeVisitor/NameResolverTest.php
- test/code/parser/errorHandling/eofError.test 2 additions, 6 deletionstest/code/parser/errorHandling/eofError.test
- test/code/parser/errorHandling/recovery.test 10 additions, 30 deletionstest/code/parser/errorHandling/recovery.test
- test/code/parser/expr/assignNewByRef.test 2 additions, 6 deletionstest/code/parser/expr/assignNewByRef.test
- test/code/parser/expr/closure.test 2 additions, 5 deletionstest/code/parser/expr/closure.test
- test/code/parser/expr/comparison.test 2 additions, 4 deletionstest/code/parser/expr/comparison.test
- test/code/parser/expr/constant_expr.test 1 addition, 3 deletionstest/code/parser/expr/constant_expr.test
- test/code/parser/expr/fetchAndCall/args.test 5 additions, 15 deletionstest/code/parser/expr/fetchAndCall/args.test
- test/code/parser/expr/fetchAndCall/constFetch.test 3 additions, 9 deletionstest/code/parser/expr/fetchAndCall/constFetch.test
- test/code/parser/expr/fetchAndCall/constantDeref.test 2 additions, 6 deletionstest/code/parser/expr/fetchAndCall/constantDeref.test
- test/code/parser/expr/fetchAndCall/funcCall.test 2 additions, 6 deletionstest/code/parser/expr/fetchAndCall/funcCall.test
Please register or sign in to comment