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

[ErrorHandler] Skip failing tests when "xdebug.file_link_format" option is defined #54278

Merged
merged 1 commit into from Mar 13, 2024

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Mar 13, 2024

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

This test annoys me since ... many years!
So let's skip it.

@@ -27,6 +27,11 @@ public function testWhenNoFileLinkFormatAndNoRequest()

public function testAfterUnserialize()
{
if (get_cfg_var('xdebug.file_link_format')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this use ini_get instead ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. I don't use xdebug. So the param is not available via ini_get. See the implementation of the file link formatter

@nicolas-grekas nicolas-grekas modified the milestones: 7.1, 6.4 Mar 13, 2024
@nicolas-grekas
Copy link
Member

Thank you @lyrixx.

@nicolas-grekas nicolas-grekas merged commit c5fafaa into symfony:6.4 Mar 13, 2024
8 of 10 checks passed
@lyrixx lyrixx deleted the error-handler-tests-config branch March 13, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants