Skip to content

Commit

Permalink
Merge pull request #13 from magento-commerce/php8.3
Browse files Browse the repository at this point in the history
Php8.3
  • Loading branch information
sidolov authored Feb 14, 2024
2 parents cee07b7 + 1f1519d commit 4233bb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class OverrideRequireCommand extends ExtendableRequireCommand
* @param Application|null $application
* @return void
*/
public function setApplication(Application $application = null)
public function setApplication(Application $application = null): void
{
// For Composer versions below 2.1.6:
// In order to trick Composer into overriding its native RequireCommand with this class, the name needs to be
Expand All @@ -86,7 +86,7 @@ public function setApplication(Application $application = null)
*
* @return void
*/
protected function configure()
protected function configure(): void
{
parent::configure();

Expand Down Expand Up @@ -170,7 +170,7 @@ protected function configure()
*
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
$this->pkgUtils = new PackageUtils($this->console);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class RequireCommerceCommand extends ExtendableRequireCommand
*
* @return void
*/
protected function configure()
protected function configure(): void
{
parent::configure();

Expand Down Expand Up @@ -154,7 +154,7 @@ protected function getFormattedHelp(): string
*
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
$console = $this->console;
Expand Down
4 changes: 2 additions & 2 deletions src/Magento/ComposerRootUpdatePlugin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "magento/composer-root-update-plugin",
"type": "composer-plugin",
"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",
"version": "2.0.3",
"version": "2.0.4-beta1",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"php": "~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0",
"php": "~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0",
"composer/composer": "^1.0 || ^2.0",
"composer-plugin-api": "^1.0 || ^2.0"
},
Expand Down

0 comments on commit 4233bb9

Please sign in to comment.