Skip to content

Commit 4b1c67d

Browse files
committed
Remove PHP 8.5 deprecation
1 parent 42fc78b commit 4b1c67d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"psr-4": {"PHPFUI\\InstaDoc\\": "src/PHPFUI/InstaDoc/"}
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "<=12.0",
28+
"phpunit/phpunit": "<13.0",
2929
"phpfui/html-unit-tester": "^1.0",
3030
"roave/security-advisories": "dev-latest",
3131
"phpfui/phpunit-syntax-coverage": "^1.0",

src/PHPFUI/InstaDoc/Section/Doc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ protected function getNameScope(\ReflectionProperty|\ReflectionMethod|\Reflectio
436436
// @phpstan-ignore-next-line
437437
protected function getProperty(\ReflectionProperty $property, \ReflectionClass $class) : string
438438
{
439-
$property->setAccessible(true);
440439
$docBlock = $this->getDocBlock($property);
441440
$info = $this->getAccess($property) . ' ';
442441

0 commit comments

Comments
 (0)