Mermaid
Mermaid copied to clipboard
Tests: Using assertContains() with string haystacks is deprecated
Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
See CI output for examples.
There's a trait you can add. I did this for SRF: https://github.com/SemanticMediaWiki/SemanticResultFormats/commit/054e4825d83212a6e820b11ca86959fd3a4948dc
@malberts thanks for the hint! This issue was more meant as a heads-up for future work...