Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: onliner/command-bus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 10e44cc94d58e33b5df3d91dc6a14d709c2e44b1
Choose a base ref
..
head repository: onliner/command-bus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd83f068704b55adf48538699dddcc67a5dabfdd
Choose a head ref
Showing with 5 additions and 2 deletions.
  1. +1 −1 src/Remote/AMQP/Connector.php
  2. +4 −1 tests/Middleware/LoggerMiddlewareTest.php
2 changes: 1 addition & 1 deletion src/Remote/AMQP/Connector.php
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
use PhpAmqpLib\Connection\AMQPStreamConnection;
use PhpAmqpLib\Connection\Heartbeat\PCNTLHeartbeatSender;

final class Connector
class Connector
{
private ?AMQPChannel $channel = null;
private ?PCNTLHeartbeatSender $heartbeats = null;
5 changes: 4 additions & 1 deletion tests/Middleware/LoggerMiddlewareTest.php
Original file line number Diff line number Diff line change
@@ -36,7 +36,10 @@ public function testLogErrors(): void
$logger
->expects(self::once())
->method('log')
->with($level, 'expected', []);
->with($level, 'expected', [
'file' => __FILE__,
'line' => 46,
]);

$dispatcher = (new Builder())
->handle(Command\Hello::class, function () {