diff --git a/composer.json b/composer.json index f5e720958ce..2374d79c279 100644 --- a/composer.json +++ b/composer.json @@ -40,14 +40,14 @@ "require-dev": { "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "1.0.2", + "phpstan/phpstan": "1.1.1", "phpstan/phpstan-strict-rules": "^1", "phpunit/phpunit": "9.5.10", "psalm/plugin-phpunit": "0.16.1", "squizlabs/php_codesniffer": "3.6.1", "symfony/cache": "^5.2|^6.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.11.2" + "vimeo/psalm": "4.12.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." diff --git a/src/Tools/Console/Command/ReservedWordsCommand.php b/src/Tools/Console/Command/ReservedWordsCommand.php index 8cff50f956c..86a2842cbb5 100644 --- a/src/Tools/Console/Command/ReservedWordsCommand.php +++ b/src/Tools/Console/Command/ReservedWordsCommand.php @@ -133,6 +133,8 @@ protected function configure() /** * {@inheritdoc} * + * @return int + * * @throws Exception */ protected function execute(InputInterface $input, OutputInterface $output) diff --git a/src/Tools/Console/Command/RunSqlCommand.php b/src/Tools/Console/Command/RunSqlCommand.php index 4ccb3260547..875f2a20bb9 100644 --- a/src/Tools/Console/Command/RunSqlCommand.php +++ b/src/Tools/Console/Command/RunSqlCommand.php @@ -59,6 +59,8 @@ protected function configure() /** * {@inheritdoc} * + * @return int + * * @throws Exception */ protected function execute(InputInterface $input, OutputInterface $output)