Skip to content

Commit

Permalink
Merge pull request #22 from netbrothers-gmbh/21-symfony-7
Browse files Browse the repository at this point in the history
🔖 Version 3.0.0 / Symfony 7
  • Loading branch information
netbrothers-sw authored May 29, 2024
2 parents ebbf848 + 928af99 commit d9af517
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Command/MakeVersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/Command/MakeVersionStandaloneCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
10 changes: 3 additions & 7 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -44,4 +40,4 @@ public function getConfigTreeBuilder()
return $treeBuilder;

}
}
}

0 comments on commit d9af517

Please sign in to comment.