Skip to content

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

+1-1
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

+2-2
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

+2-1
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)