Passed
Branch master (689ae3)
by Michael
02:45
created
MO4/Tests/Commenting/PropertyCommentUnitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @return array(int => int)
46 46
      */
47
-    protected function getErrorList($testFile='')
47
+    protected function getErrorList($testFile = '')
48 48
     {
49 49
         switch ($testFile) {
50 50
         case 'PropertyCommentUnitTest.pass.inc':
Please login to merge, or discard this patch.
MO4/Tests/Strings/VariableInDoubleQuotedStringUnitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @return array(int => int)
46 46
      */
47
-    protected function getErrorList($testFile='')
47
+    protected function getErrorList($testFile = '')
48 48
     {
49 49
         switch ($testFile) {
50 50
         case 'VariableInDoubleQuotedStringUnitTest.pass.inc':
Please login to merge, or discard this patch.
MO4/Tests/Formatting/AlphabeticalUseStatementsUnitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @return array(int => int)
47 47
      */
48
-    protected function getErrorList($testFile='')
48
+    protected function getErrorList($testFile = '')
49 49
     {
50 50
         switch ($testFile) {
51 51
         case 'AlphabeticalUseStatementsUnitTest.pass.inc':
Please login to merge, or discard this patch.
MO4/Tests/Formatting/UnnecessaryNamespaceUsageUnitTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @return array(int => int)
48 48
      */
49
-    protected function getErrorList($testFile='')
49
+    protected function getErrorList($testFile = '')
50 50
     {
51 51
         return array();
52 52
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @return array(int => int)
65 65
      */
66
-    protected function getWarningList($testFile='')
66
+    protected function getWarningList($testFile = '')
67 67
     {
68 68
         switch ($testFile) {
69 69
         case 'UnnecessaryNamespaceUsageUnitTest.pass.1.inc':
Please login to merge, or discard this patch.
MO4/Tests/Formatting/ArrayAlignmentUnitTest.fail.inc 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -100,10 +100,10 @@  discard block
 block discarded – undo
100 100
 );
101 101
 
102 102
 $a = [
103
-    0 => [ 1 => 'O', 0 => 'O'],
104
-    1 =>  [ 1 => 'O', 0 => 'I'],
105
-    2  => [ 1 => 'I', 0 => 'O'],
106
-    3 => [ 1 => 'I', 0 => 'I'],
103
+    0 => [1 => 'O', 0 => 'O'],
104
+    1 =>  [1 => 'O', 0 => 'I'],
105
+    2  => [1 => 'I', 0 => 'O'],
106
+    3 => [1 => 'I', 0 => 'I'],
107 107
 ];
108 108
 
109 109
 foreach ($x as $k => $v) {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 }
112 112
 
113 113
 $a = [
114
-    function () {
114
+    function() {
115 115
         $b = [
116 116
             'one'  => 1,
117 117
             'four' => 4,
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         foreach ($bar as $key => $value) {
126 126
         }
127 127
     },
128
-    function () {
128
+    function() {
129 129
     },
130 130
     'one'                     => 1,
131 131
     2,
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     => 'fail',
137 137
 ];
138 138
 
139
-$values  = [
139
+$values = [
140 140
     'Test:1' => [
141 141
         'object_id'         => 1,
142 142
         'object_class'      => 'Test',
Please login to merge, or discard this patch.
MO4/Tests/Formatting/UseArrayShortTagUnitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @return array(int => int)
47 47
      */
48
-    protected function getErrorList($testFile='')
48
+    protected function getErrorList($testFile = '')
49 49
     {
50 50
         switch ($testFile) {
51 51
         case 'UseArrayShortTagUnitTest.pass.inc':
Please login to merge, or discard this patch.
MO4/Tests/Formatting/UseArrayShortTagUnitTest.fail.inc 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
     array(4, 5, 6),
11 11
 );
12 12
 
13
-array
14
-(
13
+array(
15 14
     array/* will be deleted */( ),
16
-    array (1),  array   (3)
15
+    array(1), array(3)
17 16
 );
Please login to merge, or discard this patch.
MO4/Tests/Formatting/UseArrayShortTagUnitTest.pass.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  *
15 15
  * @param array $a
16 16
  */
17
-function foo (array $a)
17
+function foo(array $a)
18 18
 {
19 19
     //do stuff
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
MO4/Tests/Formatting/ArrayAlignmentUnitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @return array(int => int)
46 46
      */
47
-    protected function getErrorList($testFile='')
47
+    protected function getErrorList($testFile = '')
48 48
     {
49 49
         switch ($testFile) {
50 50
         case 'ArrayAlignmentUnitTest.pass.inc':
Please login to merge, or discard this patch.