Skip to content

Commit

Permalink
Fix missing exporter in PHPUnit constraint poylfill
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Aug 20, 2019
1 parent 0e7bf6f commit b78c5cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Symfony/Bridge/PhpUnit/Legacy/ConstraintTraitForV6.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ protected function additionalFailureDescription($other)
*/
protected function exporter()
{
if (null === $this->exporter) {
$this->exporter = new Exporter();
}

return $this->exporter;
}

Expand Down

0 comments on commit b78c5cb

Please sign in to comment.