Skip to content

Replace trigger_error, which is deprecated in PHP 8.4. #4755

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kiatng
Copy link
Contributor

@kiatng kiatng commented Apr 17, 2025

Description (*)

Ref https://www.php.net/manual/en/function.trigger-error.php

Warning
Passing E_USER_ERROR as the error_level is now deprecated. Throw an Exception or call exit() instead.

@github-actions github-actions bot added Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* labels Apr 17, 2025
@kiatng kiatng added the PHP 8.4 Relatee to PHP 8.4 label Apr 17, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* PHP 8.4 Relatee to PHP 8.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants