Passed
Pull Request — master (#37)
by Nicolas
03:21
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/ProcessorInterfaceAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $this->workerContext = $workerContext;
23 23
         $this->eventDispatcher = new NullEventDispatcher();
24 24
         
25
-        if(! $factory instanceof MessageAdapterFactory)
25
+        if( ! $factory instanceof MessageAdapterFactory)
26 26
         {
27 27
             $factory = new MessageAdapterFactory();
28 28
         }
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.