diff --git a/CHANGELOG.md b/CHANGELOG.md index 38cd18a..d3178e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Changelog for NetBrothers Versions =================================== +Version 3.0.0 - 29.05.2024 +---------------------------------- +- updated symfony requirements to >=7 <8 +- updated php requirements to >=8.2 +- Upgrading Version-Number to 3.0.0 + Version 2.0.0 - 06.12.2023 ---------------------------------- - Fixing Deprecated Since symfony/console 6.1: Relying on the static property "$defaultName" diff --git a/composer.json b/composer.json index dc023f1..af28a08 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ "mariadb" ], "require": { - "php": ">=8.1", - "symfony/console": ">=6 <7", + "php": ">=8.2", + "symfony/console": ">=7 <8", "doctrine/orm": "*", - "doctrine/dbal": "^3.5" + "doctrine/dbal": "^3.8" }, "require-dev": { "phpstan/phpstan": "^1.9", diff --git a/src/Command/MakeVersionCommand.php b/src/Command/MakeVersionCommand.php index f37468b..590c5f1 100644 --- a/src/Command/MakeVersionCommand.php +++ b/src/Command/MakeVersionCommand.php @@ -272,7 +272,7 @@ private function printStatistic(SymfonyStyle $io, InputInterface $input): void * @throws \Doctrine\DBAL\ConnectionException * @throws \Doctrine\DBAL\Driver\Exception */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); $tableName = $input->getArgument('tableName'); diff --git a/src/Command/MakeVersionStandaloneCommand.php b/src/Command/MakeVersionStandaloneCommand.php index 4e4e659..1196765 100644 --- a/src/Command/MakeVersionStandaloneCommand.php +++ b/src/Command/MakeVersionStandaloneCommand.php @@ -55,7 +55,7 @@ public function __construct() parent::__construct(null, [], [], $initLater); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->initEntityManager($input); parent::initCommand( diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 50ff737..84dbd44 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -18,12 +18,8 @@ */ class Configuration implements ConfigurationInterface { - /** - * Generates the configuration tree builder. - * - * @return TreeBuilder The tree builder - */ - public function getConfigTreeBuilder() + + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('netbrothers_version'); $rootNode = $treeBuilder->getRootNode(); @@ -44,4 +40,4 @@ public function getConfigTreeBuilder() return $treeBuilder; } -} \ No newline at end of file +}