Skip to content

Commit

Permalink
Merge pull request #191 from samsonasik/update-to-latest-phpunit-syntax
Browse files Browse the repository at this point in the history
Update to latest PHPUnit 10 syntax
  • Loading branch information
gsteel authored Nov 4, 2024
2 parents 391533b + 56e3088 commit e4a7fd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2010,9 +2010,6 @@
</PossiblyUnusedMethod>
</file>
<file src="test/StringToLowerTest.php">
<InvalidArgument>
<code><![CDATA[$e->getMessage()]]></code>
</InvalidArgument>
<PossiblyUnusedMethod>
<code><![CDATA[returnUnfilteredDataProvider]]></code>
</PossiblyUnusedMethod>
Expand Down
2 changes: 1 addition & 1 deletion test/StringToLowerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function testCaseInsensitiveEncoding(): void
self::assertSame($output, $filter($input));
}
} catch (Exception\ExtensionNotLoadedException $e) {
self::assertContains('mbstring is required', $e->getMessage());
self::assertStringContainsString('mbstring is required', $e->getMessage());
}
}

Expand Down

0 comments on commit e4a7fd0

Please sign in to comment.