Skip to content

Commit bfa8ef3

Browse files
authored
Merge pull request #32 from anorgan/patch-1
Add enterprise option to the Fixer provider
2 parents a03eaf0 + d2829fb commit bfa8ef3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function getConfigTreeBuilder()
6868
->isRequired()
6969
->cannotBeEmpty()
7070
->end()
71+
->booleanNode('enterprise')->defaultFalse()->end()
7172
->end()
7273
->end()
7374
->append($this->createSimpleProviderNode('cryptonator'))

Tests/DependencyInjection/FlorianvSwapExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function testProviderPriorities()
104104
// Fixer third
105105
$this->assertEquals($calls[2][0], 'add');
106106
$this->assertEquals($calls[2][1][0], 'fixer');
107-
$this->assertEquals($calls[2][1][1], ['access_key' => 'YOUR_KEY']);
107+
$this->assertEquals($calls[2][1][1], ['access_key' => 'YOUR_KEY', 'enterprise' => false]);
108108
}
109109

110110
public function testCacheMissTtl()

0 commit comments

Comments
 (0)