Skip to content

Commit

Permalink
enable
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 14, 2024
1 parent e229864 commit 7cf7e33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ includes:
- extension.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- phpstan-baseline.neon
4 changes: 2 additions & 2 deletions tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ protected function doExpectException(string $class, ?string $message = null): vo

protected function doExpectWarning(string $message): void
{
$this->expectWarning();
$this->expectWarningMessage($message);
$this->expectWarning(); // @phpstan-ignore method.deprecated
$this->expectWarningMessage($message); // @phpstan-ignore method.deprecated
}

protected function expectPcreEngineException(string $pattern): void
Expand Down

0 comments on commit 7cf7e33

Please sign in to comment.