X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Ftest%2FFormatter%2FSignatureFormatterTest.php;h=42361792068a6166c51ab1911bda5bd575e6dfd4;hb=419f97be044f1aebd0713921ee604841127e9e84;hp=d2919799033412b1242730eb387469d9de312147;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php b/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php index d29197990..423617920 100644 --- a/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php +++ b/vendor/psy/psysh/test/Formatter/SignatureFormatterTest.php @@ -56,6 +56,18 @@ class SignatureFormatterTest extends \PHPUnit\Framework\TestCase . 'extends PhpParser\NodeVisitorAbstract ' . 'implements PhpParser\NodeVisitor', ], + [ + new \ReflectionFunction('array_chunk'), + 'function array_chunk($arg, $size, $preserve_keys = unknown)', + ], + [ + new \ReflectionClass('Psy\Test\Formatter\Fixtures\BoringTrait'), + 'trait Psy\Test\Formatter\Fixtures\BoringTrait', + ], + [ + new \ReflectionMethod('Psy\Test\Formatter\Fixtures\BoringTrait', 'boringMethod'), + 'public function boringMethod($one = 1)', + ], ]; }