Skip to content

Commit 46aa6c5

Browse files
Merge branch '4.4'
* 4.4: fix merge Fix inconsistent return points. pass translation parameters to the trans filter [Mime] fixed wrong mimetype [ProxyManagerBridge] Polyfill for unmaintained version [HttpClient] Declare `$active` first to prevent weird issue Remove deprecated assertContains [HttpClient] fix tests SCA: dropped unused mocks, duplicate import and a function alias usage Added correct plural for box -> boxes [Config] fix test Fix remaining tests fix getName() when transport is null [Console] Check for ErrorHandler classes Improve fa (persian) translation
2 parents eb31dff + b8d504c commit 46aa6c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/DeprecationErrorHandler/DeprecationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function testLegacyTestMethodIsDetectedAsSuch()
4646
public function testItCanBeConvertedToAString()
4747
{
4848
$deprecation = new Deprecation('💩', $this->debugBacktrace(), __FILE__);
49-
$this->assertContains('💩', $deprecation->toString());
50-
$this->assertContains(__FUNCTION__, $deprecation->toString());
49+
$this->assertStringContainsString('💩', $deprecation->toString());
50+
$this->assertStringContainsString(__FUNCTION__, $deprecation->toString());
5151
}
5252

5353
public function testItRulesOutFilesOutsideVendorsAsIndirect()

0 commit comments

Comments
 (0)