Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1943394

Browse files
committed
Update PHPStan
1 parent a686c7e commit 1943394

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.3, 8.2]
11+
php: [8.4, 8.3, 8.2]
1212
dependency-version: [prefer-stable]
1313
os: [ubuntu-latest]
1414

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"phpfui/html-unit-tester": "^1.0",
3030
"roave/security-advisories": "dev-latest",
3131
"phpfui/phpunit-syntax-coverage": "^1.0",
32-
"friendsofphp/php-cs-fixer": "^3.0",
33-
"phpstan/phpstan": "^1.8"
32+
"friendsofphp/php-cs-fixer": "*",
33+
"phpstan/phpstan": "*"
3434
}
3535
}

‎src/PHPFUI/InstaDoc/Section/Doc.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ protected function getProperty(\ReflectionProperty $property, \ReflectionClass $
444444
{
445445
$info .= $this->getColor('keyword', 'static') . '';
446446
}
447-
$type = \method_exists($property, 'getType') ? $property->getType() : '';
447+
448+
$type = $property->getType();
448449

449450
if ($type)
450451
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /