File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 55[ ![ Latest stable version] ( https://img.shields.io/packagist/v/kubawerlos/php-cs-fixer-custom-fixers.svg?label=current%20version )] ( https://packagist.org/packages/kubawerlos/php-cs-fixer-custom-fixers )
66[ ![ PHP version] ( https://img.shields.io/packagist/php-v/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( https://php.net )
77[ ![ License] ( https://img.shields.io/github/license/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( LICENSE )
8- ![ Tests] ( https://img.shields.io/badge/tests-3800 -brightgreen.svg )
8+ ![ Tests] ( https://img.shields.io/badge/tests-3801 -brightgreen.svg )
99[ ![ Downloads] ( https://img.shields.io/packagist/dt/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( https://packagist.org/packages/kubawerlos/php-cs-fixer-custom-fixers )
1010
1111[ ![ CI status] ( https://github.com/kubawerlos/php-cs-fixer-custom-fixers/actions/workflows/ci.yaml/badge.svg )] ( https://github.com/kubawerlos/php-cs-fixer-custom-fixers/actions/workflows/ci.yaml )
Original file line number Diff line number Diff line change @@ -299,5 +299,18 @@ function foo($x) {}
299299 function foo($x) {}
300300 PHP,
301301 ];
302+
303+ yield [
304+ <<<'PHP'
305+ <?php
306+ class Foo
307+ {
308+ /**
309+ * @param callable(Type $type, callable(Type): Type $traverse): Type $callback
310+ */
311+ public function __construct(mixed $callback) {}
312+ }
313+ PHP,
314+ ];
302315 }
303316}
You can’t perform that action at this time.
0 commit comments