File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 66 - 5.5
77 - 5.6
88
9- before_script : composer install --dev
9+ env :
10+ - SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~3.7
11+ - SYMFONY_VERSION=2.0.* PHPUNIT_VERSION=~4.0
12+ - SYMFONY_VERSION=2.1.* PHPUNIT_VERSION=~4.0
13+ - SYMFONY_VERSION=2.2.* PHPUNIT_VERSION=~4.0
14+ - SYMFONY_VERSION=2.3.* PHPUNIT_VERSION=~4.0
15+ - SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~4.0
16+ - SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~4.0
17+
18+ before_script :
19+ - composer require --no-update "symfony/config:${SYMFONY_VERSION}"
20+ - composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
21+ - composer update
1022
1123notifications :
1224
Original file line number Diff line number Diff line change 22
33namespace Matthias \SymfonyConfigTest \PhpUnit ;
44
5+ use SebastianBergmann \Exporter \Exporter ;
56use Symfony \Component \Config \Definition \ConfigurationInterface ;
67use 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 )
Original file line number Diff line number Diff line change 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\\ " : " " }
You can’t perform that action at this time.
0 commit comments