diff --git a/composer.json b/composer.json index f2699d5..0fe283c 100644 --- a/composer.json +++ b/composer.json @@ -13,14 +13,14 @@ "php": "^8.1", "ext-json": "*", "fmasa/messenger": "^2.1.0", - "nette/di": "^3.1.0", - "nette/php-generator": "^3.6 || ^4.0", - "nikic/php-parser": "^4.15", + "nette/di": "^3.2", + "nette/php-generator": "^4.0", + "nikic/php-parser": "^4.18 || ^5.0", "ramsey/uuid": "^4.1" }, "require-dev": { - "68publishers/doctrine-bridge": "^1.0.0", - "68publishers/translation-bridge": "^2.0", + "68publishers/doctrine-bridge": "^1.1.0", + "68publishers/translation-bridge": "^2.1", "doctrine/migrations": "^3.5", "doctrine/orm": "^2.12", "friendsofphp/php-cs-fixer": "^3.15", @@ -35,7 +35,7 @@ "phpstan/phpstan-nette": "^1.2", "psr/log": "^1.0 || ^2.0", "roave/security-advisories": "dev-latest", - "symplify/phpstan-rules": "11.2.4.72" + "symplify/phpstan-rules": "12.0" }, "config": { "sort-packages": true diff --git a/src/ArchitectureBundle/Bridge/Nette/DI/ArchitectureBundleExtension.php b/src/ArchitectureBundle/Bridge/Nette/DI/ArchitectureBundleExtension.php index b855f4c..d418d24 100644 --- a/src/ArchitectureBundle/Bridge/Nette/DI/ArchitectureBundleExtension.php +++ b/src/ArchitectureBundle/Bridge/Nette/DI/ArchitectureBundleExtension.php @@ -38,7 +38,7 @@ public function getConfigSchema(): Schema ])->castTo(ArchitectureBundleConfig::class); } - public function setCompiler(Compiler $compiler, string $name): self + public function setCompiler(Compiler $compiler, string $name): static { parent::setCompiler($compiler, $name); diff --git a/src/ArchitectureBundle/Bridge/Nette/DI/Messenger/MessengerExtensionDecorator.php b/src/ArchitectureBundle/Bridge/Nette/DI/Messenger/MessengerExtensionDecorator.php index 2436d19..b6eb9bd 100644 --- a/src/ArchitectureBundle/Bridge/Nette/DI/Messenger/MessengerExtensionDecorator.php +++ b/src/ArchitectureBundle/Bridge/Nette/DI/Messenger/MessengerExtensionDecorator.php @@ -96,7 +96,7 @@ public function afterCompile(ClassType $class): void $this->extension->afterCompile($class); } - public function setCompiler(Compiler $compiler, string $name): self + public function setCompiler(Compiler $compiler, string $name): static { $this->extension->setCompiler($compiler, $name);