phpdox icon indicating copy to clipboard operation
phpdox copied to clipboard

php 8.1 E_DEPRECATED

Open absentdream opened this issue 2 years ago • 3 comments

heads up i am gitting this error (it generates docs, just want to point it out as E_DEPRECATED )

Oups... phpDox encountered a problem and has terminated!

It most likely means you've found a bug, so please file a report for this
and paste the following details and the stacktrace (if given) along:

PHP Version: 8.1.2-1ubuntu2.6 (Linux)
PHPDox Version: 0.12.0-dev
ErrorException: E_DEPRECATED 
Location: /usr/share/php/TheSeer/phpDox/shared/FileInfo.php (Line 82)

Return type of TheSeer\phpDox\FileInfo::getPathInfo($class_name = null): void should either be compatible with SplFileInfo::getPathInfo(?string $class = null): ?SplFileInfo, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

No stacktrace available

absentdream avatar Nov 06 '22 01:11 absentdream

I'll have a look. Thanks for pointing this out.

theseer avatar Nov 08 '22 15:11 theseer

Any updates on this issue?

iveoles avatar Jan 16 '23 16:01 iveoles

I'm still seeing this error when running "phpdox --version". For now I've moved to PHP Documenter, but I'd love to come back to phpdox.

SafetyFast avatar Sep 03 '23 21:09 SafetyFast