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

Option to do not set error_reporting #218

Open
LastDragon-ru opened this issue Jan 13, 2025 · 1 comment
Open

Option to do not set error_reporting #218

LastDragon-ru opened this issue Jan 13, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@LastDragon-ru
Copy link
Contributor

I'm starting using php 8.4, and I see a lot of useless deprecation errors from third party code

image

Would be very nice if will be possible to skip setting error_reporting or disable deprecations errors at least.

error_reporting(E_ALL);
ini_set('display_errors', 'stderr');

@janedbal
Copy link
Member

Maybe we could use the same approach as PHPStan and exclude E_DEPRECATED

@janedbal janedbal added the enhancement New feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants