Skip to content

Commit

Permalink
refactor #165 fix(deps): loosen constraint for symfony/messenger (Gou…
Browse files Browse the repository at this point in the history
…nlaf, pamil)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Like Sylius/ShopApiPlugin#602: allow upgrade to symfony 4.4

Commits
-------

6c01d2e fix(deps): loosen constraint for symfony/messenger
871f5a6 Fix the build
  • Loading branch information
pamil authored Dec 6, 2019
2 parents 69dd824 + 871f5a6 commit a12d0ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"symfony/framework-bundle": "^4.3",
"symfony/http-foundation": "^4.3",
"symfony/http-kernel": "^4.3",
"symfony/messenger": "~4.3.0",
"symfony/messenger": "^4.3",
"symfony/options-resolver": "^4.3",
"symfony/routing": "^4.3"
},
Expand Down
4 changes: 3 additions & 1 deletion src/Cli/GenerateInvoicesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(
$this->orderRepository = $orderRepository;
}

public function execute(InputInterface $input, OutputInterface $output): void
public function execute(InputInterface $input, OutputInterface $output): int
{
/** @var array $orders */
$orders = $this->orderRepository
Expand All @@ -40,6 +40,8 @@ public function execute(InputInterface $input, OutputInterface $output): void
$this->massInvoicesCreator->__invoke($orders);

$output->writeln('Invoices generated successfully');

return 0;
}

protected function configure(): void
Expand Down

0 comments on commit a12d0ff

Please sign in to comment.