File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Mantis 2 GitHub Connector
22
33[ ![ Packagist Version] ( https://img.shields.io/packagist/v/artemeon/mantis2github?style=for-the-badge )] ( https://packagist.org/packages/artemeon/mantis2github )
4- ![ PHPStan] ( https://img.shields.io/badge/PHPStan-level%209 -brightgreen.svg?style=for-the-badge )
4+ ![ PHPStan] ( https://img.shields.io/badge/PHPStan-level%2010 -brightgreen.svg?style=for-the-badge )
55[ ![ Packagist Downloads] ( https://img.shields.io/packagist/dt/artemeon/mantis2github?style=for-the-badge )] ( https://packagist.org/packages/artemeon/mantis2github )
66[ ![ License] ( https://img.shields.io/github/license/artemeon/mantis2github?style=for-the-badge )] ( https://packagist.org/packages/artemeon/mantis2github )
77
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ includes:
22 - phar://phpstan.phar/conf/bleedingEdge.neon
33
44parameters :
5- level : 9
5+ level : 10
66 checkUninitializedProperties : true
77 checkImplicitMixed : true
88 rememberPossiblyImpureFunctionValues : false
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ public function __invoke(): int
2929 $ this ->checkConfig ();
3030
3131 $ this ->title ('Mantis 2 GitHub Sync ' );
32+ /** @var string[]|bool|string|null $idsArgument */
3233 $ idsArgument = $ this ->argument ('ids ' );
3334
3435 if (!is_array ($ idsArgument )) {
3536 return self ::INVALID ;
3637 }
3738
38- /** @var string[] $ids */
3939 $ ids = array_unique ($ idsArgument );
4040 $ message = count ($ ids ) !== 1 ? 'Creating issues ... ' : 'Creating issue ... ' ;
4141
You can’t perform that action at this time.
0 commit comments