Skip to content

Commit 4233bb9

Browse files
authored
Merge pull request #13 from magento-commerce/php8.3
Php8.3
2 parents cee07b7 + 1f1519d commit 4233bb9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/OverrideRequireCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class OverrideRequireCommand extends ExtendableRequireCommand
6969
* @param Application|null $application
7070
* @return void
7171
*/
72-
public function setApplication(Application $application = null)
72+
public function setApplication(Application $application = null): void
7373
{
7474
// For Composer versions below 2.1.6:
7575
// In order to trick Composer into overriding its native RequireCommand with this class, the name needs to be
@@ -86,7 +86,7 @@ public function setApplication(Application $application = null)
8686
*
8787
* @return void
8888
*/
89-
protected function configure()
89+
protected function configure(): void
9090
{
9191
parent::configure();
9292

@@ -170,7 +170,7 @@ protected function configure()
170170
*
171171
* @throws Exception
172172
*/
173-
protected function execute(InputInterface $input, OutputInterface $output)
173+
protected function execute(InputInterface $input, OutputInterface $output): int
174174
{
175175
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
176176
$this->pkgUtils = new PackageUtils($this->console);

src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/RequireCommerceCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class RequireCommerceCommand extends ExtendableRequireCommand
6161
*
6262
* @return void
6363
*/
64-
protected function configure()
64+
protected function configure(): void
6565
{
6666
parent::configure();
6767

@@ -154,7 +154,7 @@ protected function getFormattedHelp(): string
154154
*
155155
* @throws Exception
156156
*/
157-
protected function execute(InputInterface $input, OutputInterface $output)
157+
protected function execute(InputInterface $input, OutputInterface $output): int
158158
{
159159
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
160160
$console = $this->console;

src/Magento/ComposerRootUpdatePlugin/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "magento/composer-root-update-plugin",
33
"type": "composer-plugin",
44
"description": "Plugin to look ahead for Magento Open Source or Adobe Commerce project root changes when running composer update for new magento/product or magento/magento-cloud metapackage versions",
5-
"version": "2.0.3",
5+
"version": "2.0.4-beta1",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"
99
],
1010
"require": {
11-
"php": "~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0",
11+
"php": "~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0",
1212
"composer/composer": "^1.0 || ^2.0",
1313
"composer-plugin-api": "^1.0 || ^2.0"
1414
},

0 commit comments

Comments
 (0)