Skip to content

Commit bba6fe9

Browse files
committed
chore: PHPStan Level 10
1 parent f96c978 commit bba6fe9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

phpstan.neon

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ includes:
22
- phar://phpstan.phar/conf/bleedingEdge.neon
33

44
parameters:
5-
level: 9
5+
level: 10
66
checkUninitializedProperties: true
77
checkImplicitMixed: true
88
rememberPossiblyImpureFunctionValues: false

src/Command/CreateGithubIssueFromMantisIssue.php

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)