Completed
Push — master ( 613d98...fa04c9 )
by Rémi
20:40
created
examples/async-message-sender-amqplib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
 $publisher = new AsyncPublisher($driver, 'xchange');
20 20
 
21 21
 for ($i = 0; $i < $argv[1]; ++$i) {
22
-    $publisher->publish('event #'.$i, '', ['test' => 'testValue']);
22
+    $publisher->publish('event #' . $i, '', ['test' => 'testValue']);
23 23
 }
Please login to merge, or discard this patch.
examples/sync-message-sender.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
 require_once __DIR__ . '/../vendor/autoload.php';
16 16
 
17 17
 $driver = DriverFactory::getDriver([
18
-   'host' => 'default',
19
-   'port' => '5672',
20
-   'user' => 'guest',
21
-   'pwd' => 'guest'
18
+    'host' => 'default',
19
+    'port' => '5672',
20
+    'user' => 'guest',
21
+    'pwd' => 'guest'
22 22
 ]);
23 23
 $publisher = new SyncPublisher($driver, 'xchange');
24 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,5 +23,5 @@
 block discarded – undo
23 23
 $publisher = new SyncPublisher($driver, 'xchange');
24 24
 
25 25
 for ($i = 0; $i < $argv[1]; ++$i) {
26
-    echo $publisher->publish('event #'.$i, '', ['test' => 'testValue'])."\n";
26
+    echo $publisher->publish('event #' . $i, '', ['test' => 'testValue']) . "\n";
27 27
 }
Please login to merge, or discard this patch.
examples/sync-message-sender-amqplib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
 $publisher = new SyncPublisher($driver, 'xchange');
20 20
 
21 21
 for ($i = 0; $i < $argv[1]; ++$i) {
22
-    echo $publisher->publish('event #'.$i, '', ['test' => 'testValue'])."\n";
22
+    echo $publisher->publish('event #' . $i, '', ['test' => 'testValue']) . "\n";
23 23
 }
Please login to merge, or discard this patch.