Skip to content

Commit c185548

Browse files
committed
Update Nette
1 parent d80efb7 commit c185548

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

composer.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@
1717
"php": "^7.3 | ^8.0",
1818

1919
"composer/ca-bundle": "^1.1",
20-
"nette/di": "^3.0",
20+
"nette/di": "^3.0.12",
2121
"guzzlehttp/guzzle": "^7.0",
22-
"trejjam/base-extension": "^0.8",
22+
"trejjam/base-extension": "^0.9",
2323
"tharos/schematic": "^1.2",
2424
"thecodingmachine/safe": "^1.0 || ^2.0"
2525
},
2626
"require-dev": {
27-
"nette/robot-loader": "^3.1",
28-
"nette/bootstrap": "^2.4.6 || ^3.0",
29-
"tracy/tracy": "^2.4 || ^3.0",
27+
"nette/robot-loader": "^3.4",
28+
"nette/bootstrap": "^3.1",
29+
"tracy/tracy": "^2.9 || ^3.0",
3030

31-
"nette/tester": "^2.2",
31+
"nette/tester": "^2.4",
3232

33-
"phpstan/phpstan": "^0.12 | ^1.1",
34-
"phpstan/phpstan-deprecation-rules": "^0.12 | ^1.0",
35-
"phpstan/phpstan-strict-rules": "^0.12 | ^1.0",
36-
"thecodingmachine/phpstan-safe-rule": "^1",
37-
"roave/no-floaters": "^1.4 | ^1.5",
33+
"phpstan/phpstan": "^1.7",
34+
"phpstan/phpstan-deprecation-rules": "^1.0",
35+
"phpstan/phpstan-strict-rules": "^1.3",
36+
"thecodingmachine/phpstan-safe-rule": "^1.2",
37+
"roave/no-floaters": "^1.5",
3838

39-
"symplify/easy-coding-standard": "^9.2 || ^10.0 || ^11.0",
39+
"symplify/easy-coding-standard": "^11.0",
4040

4141
"roave/security-advisories": "dev-master"
4242
},
@@ -57,7 +57,7 @@
5757
},
5858
"extra": {
5959
"branch-alias": {
60-
"dev-master": "v0.5.x-dev"
60+
"dev-master": "v0.6.x-dev"
6161
}
6262
}
6363
}

src/DI/MailChimpExtension.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public function beforeCompile() : void
8787

8888
if ($this->config->http->clientFactory !== null) {
8989
if (is_string($this->config->http->clientFactory) && Strings::startsWith($this->config->http->clientFactory, '@')) {
90-
$types['http.client']->setFactory($this->config->http->clientFactory);
90+
$types['http.client']->setCreator($this->config->http->clientFactory);
9191
}
9292
else {
93-
$this->loadDefinitionsFromConfig(
94-
[
95-
'http.client' => $this->config->http->clientFactory,
96-
]
97-
);
93+
$this->loadDefinitionsFromConfig(
94+
[
95+
'http.client' => $this->config->http->clientFactory,
96+
]
97+
);
9898
}
9999
}
100100

0 commit comments

Comments
 (0)