Skip to content

Commit fcc671d

Browse files
committed
Merge branch '5.0'
* 5.0: register only existing transport factories prevent deprecation being triggered from assertion bumped Symfony version to 5.0.6 updated VERSION for 5.0.5 updated CHANGELOG for 5.0.5 bumped Symfony version to 4.4.6 updated VERSION for 4.4.5 updated CHANGELOG for 4.4.5
2 parents b5e0994 + 49581cf commit fcc671d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Test/Constraint/CrawlerSelectorTextContains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function matches($crawler): bool
4545
return false;
4646
}
4747

48-
return false !== mb_strpos($crawler->text(), $this->expectedText);
48+
return false !== mb_strpos($crawler->text(null, false), $this->expectedText);
4949
}
5050

5151
/**

Test/Constraint/CrawlerSelectorTextSame.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function matches($crawler): bool
4545
return false;
4646
}
4747

48-
return $this->expectedText === trim($crawler->text());
48+
return $this->expectedText === trim($crawler->text(null, false));
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)