File tree 5 files changed +13
-12
lines changed
spec/CoopTilleuls/OvhBundle/DependencyInjection
5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1
1
service_name : travis-ci
2
2
3
- src_dir : .
3
+ entry_point : .
4
4
coverage_clover : coverage.xml
5
5
json_path : coveralls-upload.json
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ class Configuration implements ConfigurationInterface
26
26
*/
27
27
public function getConfigTreeBuilder ()
28
28
{
29
- $ treeBuilder = new TreeBuilder ();
30
- $ rootNode = $ treeBuilder ->root ( ' coop_tilleuls_ovh ' );
29
+ $ treeBuilder = new TreeBuilder (' coop_tilleuls_ovh ' );
30
+ $ rootNode = $ treeBuilder ->getRootNode ( );
31
31
$ rootNode
32
32
->children ()
33
33
->scalarNode ('application_key ' )->isRequired ()->cannotBeEmpty ()->end ()
Original file line number Diff line number Diff line change 13
13
}
14
14
],
15
15
"require" : {
16
- "php" : " >=5.5 " ,
17
- "symfony/dependency-injection" : " ~2.3|~3. 0|~4 .0" ,
18
- "symfony/config" : " ~2.3|~3. 0|~4 .0" ,
19
- "symfony/http-kernel" : " ~2.3|~3. 0|~4 .0" ,
20
- "ovh/ovh" : " ~ 2.0"
16
+ "php" : " >=7.2 " ,
17
+ "symfony/dependency-injection" : " ~4. 0|~5 .0" ,
18
+ "symfony/config" : " ~4. 0|~5 .0" ,
19
+ "symfony/http-kernel" : " ~4. 0|~5 .0" ,
20
+ "ovh/ovh" : " ^ 2.0"
21
21
},
22
22
"autoload" : {
23
23
"psr-4" : { "CoopTilleuls\\ OvhBundle\\ " : " " }
24
24
},
25
25
"require-dev" : {
26
- "phpspec/phpspec" : " ~ 2.1" ,
27
- "henrikbjorn /phpspec-code-coverage" : " ~ 1.0" ,
28
- "satooshi /php-coveralls" : " ~0.6 "
26
+ "phpspec/phpspec" : " ^ 2.1" ,
27
+ "friends-of-phpspec /phpspec-code-coverage" : " ^ 1.0" ,
28
+ "php-coveralls /php-coveralls" : " ^2.0 "
29
29
}
30
30
}
Original file line number Diff line number Diff line change 1
1
extensions :
2
- - PhpSpec\Extension \CodeCoverageExtension
2
+ - LeanPHP\ PhpSpec\CodeCoverage \CodeCoverageExtension
3
3
4
4
code_coverage :
5
5
format : clover
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function it_loads(ContainerBuilder $container)
45
45
$ container ->setDefinition ('coop_tilleuls_ovh.api ' , Argument::type ('Symfony\Component\DependencyInjection\Definition ' ))->shouldBeCalled ();
46
46
$ container ->setAlias ('ovh ' , Argument::type ('Symfony\Component\DependencyInjection\Alias ' ))->shouldBeCalled ();
47
47
$ container ->setAlias ('Ovh\Api ' , Argument::type ('Symfony\Component\DependencyInjection\Alias ' ))->shouldBeCalled ();
48
+ $ container ->removeBindings ('coop_tilleuls_ovh.api ' )->shouldBeCalled ();
48
49
49
50
$ configs = array (
50
51
array (
You can’t perform that action at this time.
0 commit comments