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

GracefullTerminationException : warning with PHP 8.0 #437

Open
Equipement opened this issue Feb 21, 2024 · 3 comments
Open

GracefullTerminationException : warning with PHP 8.0 #437

Equipement opened this issue Feb 21, 2024 · 3 comments

Comments

@Equipement
Copy link

Hello,
\CAS\GracefullTerminationException.php line 24
WARNING : When exit() is called within an object constructor, the object destructor will no longer be called since PHP 8.0.
While no __destruct() method was found in this class, one may be declared in the parent class or in a trait being used.

@jfritschi
Copy link
Contributor

Can you please tell us a bit more about the context? Which phpcas version and how are you using it? Have you checked the debug log?

With this error alone it's hard to figure out what the issue is....

@Equipement
Copy link
Author

Context: I used a tool to check compatibility with PHP 8.0.

The tool report shows :

\CAS\GracefullTerminationException.php line 24
WARNING : When exit() is called within an object constructor, the object destructor will no longer be called since PHP 8.0.
While no __destruct() method was found in this class, one may be declared in the parent class or in a trait being used.

@jfritschi
Copy link
Contributor

jfritschi commented Feb 24, 2024

I don't see any bug here. They changed behavior in PHP8 but I don't see how this impacts us or even what we could "fix".

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

2 participants