File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Mantis 2 GitHub Connector
2
2
3
3
[ ![ 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 )
5
5
[ ![ Packagist Downloads] ( https://img.shields.io/packagist/dt/artemeon/mantis2github?style=for-the-badge )] ( https://packagist.org/packages/artemeon/mantis2github )
6
6
[ ![ License] ( https://img.shields.io/github/license/artemeon/mantis2github?style=for-the-badge )] ( https://packagist.org/packages/artemeon/mantis2github )
7
7
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ includes:
2
2
- phar://phpstan.phar/conf/bleedingEdge.neon
3
3
4
4
parameters :
5
- level : 9
5
+ level : 10
6
6
checkUninitializedProperties : true
7
7
checkImplicitMixed : true
8
8
rememberPossiblyImpureFunctionValues : false
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ public function __invoke(): int
29
29
$ this ->checkConfig ();
30
30
31
31
$ this ->title ('Mantis 2 GitHub Sync ' );
32
+ /** @var string[]|bool|string|null $idsArgument */
32
33
$ idsArgument = $ this ->argument ('ids ' );
33
34
34
35
if (!is_array ($ idsArgument )) {
35
36
return self ::INVALID ;
36
37
}
37
38
38
- /** @var string[] $ids */
39
39
$ ids = array_unique ($ idsArgument );
40
40
$ message = count ($ ids ) !== 1 ? 'Creating issues ... ' : 'Creating issue ... ' ;
41
41
You can’t perform that action at this time.
0 commit comments