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

Attempt unloading Xdebug before showing warnings #2299

Merged
merged 1 commit into from Mar 30, 2023

Conversation

AJenbo
Copy link
Contributor

@AJenbo AJenbo commented Mar 22, 2023

The Xdebug warning was being shown even when XdebugHandler would avoid the slow down by unloading the extension. This avoids showing the warning for users who have not disabled XdebugHandler via env or other means.

This also has the benefit of making the second message less misleading as it is now only sown when users have a setup that is currently causing a needless slowdown of performance.

The Xdebug warning was being shown even when XdebugHandler would avoid the slow down by unloading the extension. This avoids showing the warning for users who have not disabled XdebugHandler via env or other means.
@ondrejmirtes
Copy link
Member

Makes sense, thank you!

@ondrejmirtes ondrejmirtes merged commit 53d0d21 into phpstan:1.10.x Mar 30, 2023
369 of 375 checks passed
@AJenbo AJenbo deleted the patch-2 branch March 30, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants