Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 8.1 E_DEPRECATED #423

Open
absentdream opened this issue Nov 6, 2022 · 3 comments
Open

php 8.1 E_DEPRECATED #423

absentdream opened this issue Nov 6, 2022 · 3 comments
Assignees

Comments

@absentdream
Copy link

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
@theseer
Copy link
Owner

theseer commented Nov 8, 2022

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

@theseer theseer self-assigned this Nov 8, 2022
@iveoles
Copy link

iveoles commented Jan 16, 2023

Any updates on this issue?

@SafetyFast
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants