Skip to content

Commit 3e19c39

Browse files
committed
PHP 8.3
1 parent db3bc58 commit 3e19c39

File tree

4 files changed

+5
-4
lines changed

4 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.2, 8.1, 8.0]
11+
php: [8.3, 8.2, 8.1, 8.0]
1212
dependency-version: [prefer-stable]
1313
os: [ubuntu-latest]
1414

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=8.0 <8.3",
15+
"php": ">=8.0 <8.4",
1616
"phpfui/phpfui": "^6.0",
1717
"phpdocumentor/reflection-docblock": "^5.0",
1818
"gitonomy/gitlib": "^1.2",

src/PHPFUI/InstaDoc/Section/CodeCommon.php

+3
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ protected function formatComments(?\phpDocumentor\Reflection\DocBlock $docBlock,
215215
}
216216

217217
$tags = $docBlock->getTags();
218+
218219
// if we are in a method, inheritdoc makes sense, and we should get the correct doc block comments
219220
if ($reflection instanceof \ReflectionMethod)
220221
{
@@ -230,6 +231,7 @@ protected function formatComments(?\phpDocumentor\Reflection\DocBlock $docBlock,
230231
$name = $tag->getName();
231232
$description = \method_exists($tag, 'getDescription') ? \trim($tag->getDescription() ?? '') : '';
232233
$body = '';
234+
233235
// punt on useless tags
234236
if (\in_array($name, ['method', 'inheritdoc']))
235237
{
@@ -403,6 +405,7 @@ protected function getClassName(string | object $class, bool $asLink = true) : s
403405
$array = '[]';
404406
$class = \str_replace($array, '', $class);
405407
}
408+
406409
// if fully qualified, we are done
407410
if (\PHPFUI\InstaDoc\NamespaceTree::hasClass($class))
408411
{

src/PHPFUI/InstaDoc/Tests/Status.php

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
enum Status
1313
{
1414
case Archived;
15-
1615
case Draft;
17-
1816
case Published;
1917
}

0 commit comments

Comments
 (0)