From 8f95ef90c14c1414f09c087e07813a2f8d641b57 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 30 Jan 2024 20:04:23 +0100 Subject: [PATCH] uses nette/di 3.2 --- composer.json | 4 ++-- src/Bridges/ApplicationDI/ApplicationExtension.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 43d13f47d..3104fe4b7 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "require-dev": { "nette/tester": "^2.5", - "nette/di": "^3.0", + "nette/di": "^3.2", "nette/forms": "^3.2", "nette/robot-loader": "^4.0", "nette/security": "^3.2", @@ -39,7 +39,7 @@ }, "conflict": { "nette/caching": "<3.1", - "nette/di": "<3.0.7", + "nette/di": "<3.2", "nette/forms": "<3.2", "nette/schema": "<1.2", "latte/latte": "<2.7.1 || >=3.0.0 <3.0.12 || >=3.1", diff --git a/src/Bridges/ApplicationDI/ApplicationExtension.php b/src/Bridges/ApplicationDI/ApplicationExtension.php index 1ec20c3dd..95cede590 100644 --- a/src/Bridges/ApplicationDI/ApplicationExtension.php +++ b/src/Bridges/ApplicationDI/ApplicationExtension.php @@ -124,7 +124,7 @@ public function beforeCompile(): void } foreach ($all as $def) { - $def->addTag(Nette\DI\Extensions\InjectExtension::TAG_INJECT) + $def->addTag(Nette\DI\Extensions\InjectExtension::TagInject) ->setAutowired(false); if (is_subclass_of($def->getType(), UI\Presenter::class) && $def instanceof Definitions\ServiceDefinition) {