Skip to content

Commit

Permalink
move test cases to appropriate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ryium committed Feb 3, 2024
1 parent c3784c8 commit c1ea97b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Expand Up @@ -1315,16 +1315,6 @@ public function testBug10509(): void
$this->assertSame('PHPDoc tag @return contains unresolvable type.', $errors[1]->getMessage());
}

public function testBug10527(): void
{
if (PHP_VERSION_ID < 70400) {
$this->markTestSkipped('Test requires PHP 7.4');
}

$errors = $this->runAnalyse(__DIR__ . '/data/bug-10527.php');
$this->assertNoErrors($errors);
}

/**
* @param string[]|null $allAnalysedFiles
* @return Error[]
Expand Down
Expand Up @@ -1623,4 +1623,13 @@ public function testDiscussion10454(): void
]);
}

public function testBug10527(): void
{
if (PHP_VERSION_ID < 70400) {
$this->markTestSkipped('Test requires PHP 7.4');
}

$this->analyse([__DIR__ . '/data/bug-10527.php'], []);
}

}
File renamed without changes.

0 comments on commit c1ea97b

Please sign in to comment.