Passed
Push — master ( d1ccc3...a5920b )
by Nicolas
04:01
created
src/Messages/Processors/GZip.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $this->encodingMode = FORCE_GZIP;
37 37
         $this->logger = new NullLogger();
38 38
         
39
-        if(! $bodyFactory instanceof BodyFactory)
39
+        if( ! $bodyFactory instanceof BodyFactory)
40 40
         {
41 41
             $bodyFactory = new Standard();
42 42
         }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function setCompressionLevel($compressionLevel = -1)
50 50
     {
51
-        if(! $this->isCompressionLevelValid($compressionLevel))
51
+        if( ! $this->isCompressionLevelValid($compressionLevel))
52 52
         {
53 53
             $this->logWarning(sprintf(
54 54
                 "Invalid compression level (%s)",
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     
80 80
     public function setEncodingMode($mode)
81 81
     {
82
-        if(! is_scalar($mode) || ! in_array($mode, [FORCE_GZIP, FORCE_DEFLATE]))
82
+        if( ! is_scalar($mode) || ! in_array($mode, [FORCE_GZIP, FORCE_DEFLATE]))
83 83
         {
84 84
             $this->logWarning(sprintf(
85 85
                 "Invalid encoding mode (%s)",
Please login to merge, or discard this patch.
src/Workers/MessageAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function __construct(BodyFactory $bodyFactory = null)
14 14
     {
15
-        if(! $bodyFactory instanceof BodyFactory)
15
+        if( ! $bodyFactory instanceof BodyFactory)
16 16
         {
17 17
             $bodyFactory = new Standard();
18 18
         }
Please login to merge, or discard this patch.
src/Workers/MessageAdapterFactoryAware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         $factory = $this->messageAdapterFactory;
20 20
         
21
-        if(! $factory instanceof MessageAdapterFactory)
21
+        if( ! $factory instanceof MessageAdapterFactory)
22 22
         {
23 23
             $factory = new MessageAdapterFactory();
24 24
         }
Please login to merge, or discard this patch.