Skip to content

Commit

Permalink
Fix BC break in PHPUnit 8
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Feb 1, 2019
1 parent 8e46546 commit f59f9d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PhpUnit/AbstractConfigurationConstraint.php
Expand Up @@ -13,7 +13,9 @@ abstract class AbstractConfigurationConstraint extends Constraint

public function __construct(ConfigurationInterface $configuration, $breadcrumbPath = null)
{
parent::__construct();
if (property_exists($this, 'exporter')) {
parent::__construct();
}

$this->configuration = $configuration;
$this->breadcrumbPath = $breadcrumbPath;
Expand Down

0 comments on commit f59f9d4

Please sign in to comment.