1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Drop whitespace after ... varargs collection

Also drop an obsolete pretty printer test.
This commit is contained in:
Nikita Popov 2015-03-12 22:18:51 +01:00
parent 3ad0d4b310
commit dc28449d81
3 changed files with 5 additions and 26 deletions

View File

@ -1,21 +0,0 @@
Function parameters
-----
<?php
function test($a, &$b, Type $c, Type &$c, Type &... $d) {}
function test(... $foo) {}
function test(Type ... $foo) {}
function test(&... $foo) {}
-----
function test($a, &$b, Type $c, Type &$c, Type &... $d)
{
}
function test(... $foo)
{
}
function test(Type ... $foo)
{
}
function test(&... $foo)
{
}