Skip to content

Commit 752c923

Browse files
Merge branch 'allow-phpunit-3-and-4' of github.com:jrobeson/SymfonyConfigTest into jrobeson-allow-phpunit-3-and-4
2 parents a93b351 + 0b1068c commit 752c923

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

PhpUnit/AbstractConfigurationConstraint.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Matthias\SymfonyConfigTest\PhpUnit;
44

5+
use SebastianBergmann\Exporter\Exporter;
56
use Symfony\Component\Config\Definition\ConfigurationInterface;
67
use Symfony\Component\Config\Definition\Processor;
78

@@ -12,6 +13,7 @@ abstract class AbstractConfigurationConstraint extends \PHPUnit_Framework_Constr
1213
public function __construct(ConfigurationInterface $configuration)
1314
{
1415
$this->configuration = $configuration;
16+
$this->exporter = new Exporter();
1517
}
1618

1719
protected function processConfiguration(array $configurationValues)

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
}
1414
],
1515
"require-dev": {
16-
"phpunit/phpunit": "3.7.*"
16+
"phpunit/phpunit": ">=3.7",
17+
"sebastian/exporter": "1.*"
1718
},
1819
"autoload": {
1920
"psr-4" : { "Matthias\\SymfonyConfigTest\\" : "" }

0 commit comments

Comments
 (0)