diff options
Diffstat (limited to 'vendor/phpunit/php-token-stream/tests/_fixture/source.php')
-rw-r--r-- | vendor/phpunit/php-token-stream/tests/_fixture/source.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/phpunit/php-token-stream/tests/_fixture/source.php b/vendor/phpunit/php-token-stream/tests/_fixture/source.php new file mode 100644 index 0000000..0c9b87f --- /dev/null +++ b/vendor/phpunit/php-token-stream/tests/_fixture/source.php @@ -0,0 +1,36 @@ +<?php +/** + * Some comment + */ +class Foo{function foo(){} + + /** + * @param Baz $baz + */ + public function bar(Baz $baz) + { + } + + /** + * @param Foobar $foobar + */ + static public function foobar(Foobar $foobar) + { + } + + public function barfoo(Barfoo $barfoo) + { + } + + /** + * This docblock does not belong to the baz function + */ + + public function baz() + { + } + + public function blaz($x, $y) + { + } +} |