Completed
Push — master ( 2a9043...77b05b )
by Alexander
02:21
created
src/FCGI.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
     const STDERR             = 7;
37 37
     const DATA               = 8;
38 38
     const GET_VALUES         = 9;
39
-    const GET_VALUES_RESULT  =10;
40
-    const UNKNOWN_TYPE       =11;
39
+    const GET_VALUES_RESULT  = 10;
40
+    const UNKNOWN_TYPE       = 11;
41 41
 
42 42
     /**
43 43
      * Value for requestId component of FCGI_Header
44 44
      */
45
-    const NULL_REQUEST_ID    = 0;
45
+    const NULL_REQUEST_ID = 0;
46 46
 
47 47
     /**
48 48
      * Mask for flags component of FCGI_BeginRequestBody
Please login to merge, or discard this patch.
src/FCGI/Record/Params.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $dataOffset  = $valueOffset + ($isLongValue ? 4 : 1);
66 66
 
67 67
             $formatParts = array(
68
-                $isLongName  ? 'NnameLength' : 'CnameLength',
68
+                $isLongName ? 'NnameLength' : 'CnameLength',
69 69
                 $isLongValue ? 'NvalueLength' : 'CvalueLength',
70 70
             );
71 71
             $format = join('/', $formatParts);
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             $isLongName  = $nameLength > 127;
108 108
             $isLongValue = $valueLength > 127;
109 109
             $formatParts = array(
110
-                $isLongName  ? 'N' : 'C',
110
+                $isLongName ? 'N' : 'C',
111 111
                 $isLongValue ? 'N' : 'C',
112 112
                 "a{$nameLength}",
113 113
                 "a{$valueLength}"
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
             $payload .= pack(
118 118
                 $format,
119
-                $isLongName  ? ($nameLength | 0x80000000) : $nameLength,
119
+                $isLongName ? ($nameLength | 0x80000000) : $nameLength,
120 120
                 $isLongValue ? ($valueLength | 0x80000000) : $valueLength,
121 121
                 $nameData,
122 122
                 $valueData
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 14.07.2014
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 14.07.2014
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI\Record;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/EndRequest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 14.07.2014
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 14.07.2014
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI\Record;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/FrameParser.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 08.09.2015
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 08.09.2015
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/Stdin.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 08.09.2015
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 08.09.2015
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/Data.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 08.09.2015
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 08.09.2015
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/UnknownType.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 14.07.2014
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 14.07.2014
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI\Record;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/BeginRequest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 14.07.2014
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 14.07.2014
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI\Record;
8 8
 
Please login to merge, or discard this patch.
src/FCGI/Record/Stdout.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Alexander.Lisachenko
4
- * @date 14.07.2014
5
- */
3
+     * @author Alexander.Lisachenko
4
+     * @date 14.07.2014
5
+     */
6 6
 
7 7
 namespace Protocol\FCGI\Record;
8 8
 
Please login to merge, or discard this patch.