Commit 11a22398 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller
Browse files

Merge branch 'develop' into 'master'

Develop

See merge request !10
parents ccfdf781 2b8e23da
Pipeline #22072 passed with stage
in 2 minutes and 59 seconds
......@@ -27,8 +27,8 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('cwd_power_dns_client');
$treeBuilder = new TreeBuilder('cwd_power_dns_client');
$rootNode = $treeBuilder->getRootNode();
$rootNode->children()
->variableNode('hosts')->defaultValue([])->end()
......
......@@ -7,7 +7,7 @@ services:
Cwd\PowerDNSClient\PowerDNSClient:
public: true
factory: 'Cwd\PowerDNSClient\PowerDNSClientFactory:createClient'
factory: ['Cwd\PowerDNSClient\PowerDNSClientFactory', 'createClient']
arguments:
- '%cwd_power_dns_client.uri%'
- '%cwd_power_dns_client.api_key%'
......
......@@ -19,7 +19,7 @@
"symfony/serializer-pack": "~1.0",
"symfony/http-foundation": ">3.4.0",
"webmozart/assert": "~1.3",
"symfony/validator": "^4.1",
"symfony/validator": ">3.4",
"doctrine/annotations": "^1.6",
"doctrine/cache": "^1.8"
},
......@@ -29,7 +29,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.13",
"phpunit/phpunit": "~7.4",
"symfony/var-dumper": "^4.1"
"symfony/var-dumper": ">3.4"
},
"autoload-dev": {
"Cwd\\PowerDNSClient\\Tests": "tests/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment