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

Skip testEditorUrlWithRelativePath() test on PHPStorm console #2229

Merged
merged 3 commits into from
Feb 8, 2023

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Feb 8, 2023

Skip the only test which does not run successfully in the PHPStorm console.

see phpstan/phpstan#8854
I am not the only one with this problem, see #1927 (comment)

@@ -217,6 +217,10 @@ public function testEditorUrlWithTrait(): void

public function testEditorUrlWithRelativePath(): void
{
if ('JetBrains-JediTerm' === getenv('TERMINAL_EMULATOR')) {
$this->markTestSkipped('PHPStorm console does not support links in console.');
Copy link
Member

Choose a reason for hiding this comment

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

  1. I don't like yoda conditions
  2. It's PhpStorm.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, fixed

@staabm
Copy link
Contributor Author

staabm commented Feb 8, 2023

I verified this change makes the phpunit job run successfully on my machine.

@ondrejmirtes ondrejmirtes merged commit 6087702 into phpstan:1.10.x Feb 8, 2023
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the skip branch February 8, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants