Skip to content

Commit

Permalink
Added regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Dec 16, 2022
1 parent ff0000d commit ef9f751
Show file tree
Hide file tree
Showing 3 changed files with 18,568 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Expand Up @@ -1075,6 +1075,18 @@ public function testBug8503(): void
$this->assertNoErrors($errors);
}

public function testBug8146(): void
{
$errors = $this->runAnalyse(__DIR__ . '/data/bug-8146b.php');
$this->assertNoErrors($errors);
}

public function testBug8215(): void
{
$errors = $this->runAnalyse(__DIR__ . '/data/bug-8215.php');
$this->assertNoErrors($errors);
}

/**
* @param string[]|null $allAnalysedFiles
* @return Error[]
Expand Down

0 comments on commit ef9f751

Please sign in to comment.