Skip to content

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
@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

2 participants