Completed
Pull Request — master (#6)
by Tomáš
07:30
created
src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.inc 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@  discard block
 block discarded – undo
6 6
 $string = 'Hello' .$there;
7 7
 
8 8
 $y = '1'
9
-   . '2'
10
-   . '3';
9
+    . '2'
10
+    . '3';
11 11
 
12 12
 // @codingStandardsChangeSetting Squiz.Strings.ConcatenationSpacing spacing 1
13 13
 
@@ -19,18 +19,18 @@  discard block
 block discarded – undo
19 19
 
20 20
 // @codingStandardsChangeSetting Squiz.Strings.ConcatenationSpacing ignoreNewlines true
21 21
 $y = '1'
22
-   . '2'
23
-   . '3';
22
+    . '2'
23
+    . '3';
24 24
 
25 25
 $y = '1' .
26
-     '2' .
27
-     '3';
26
+        '2' .
27
+        '3';
28 28
 
29 29
 $y = '1'
30 30
 . '2'
31 31
 . '3';
32 32
 
33 33
 $y = '1'
34
-   .'2'.
34
+    .'2'.
35 35
     '3'
36
-   .  '4';
37 36
\ No newline at end of file
37
+    .  '4';
38 38
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $string = 'Hello'.$there.'. How are'.$you.$going."today $okay";
3
-$string = 'Hello' . $there . '. How are' . $you . $going . "today $okay";
3
+$string = 'Hello'.$there.'. How are'.$you.$going."today $okay";
4
+$string = 'Hello'.$there;
5
+$string = 'Hello'.$there;
4 6
 $string = 'Hello'.$there;
5
-$string = 'Hello'. $there;
6
-$string = 'Hello' .$there;
7 7
 
8 8
 $y = '1'
9 9
    . '2'
@@ -11,19 +11,19 @@  discard block
 block discarded – undo
11 11
 
12 12
 // @codingStandardsChangeSetting Squiz.Strings.ConcatenationSpacing spacing 1
13 13
 
14
-$string = 'Hello'.$there.'. How are'.$you.$going.   "today $okay";
15
-$string = 'Hello' . $there . '. How are' . $you . $going . "today $okay";
14
+$string = 'Hello'.$there.'. How are'.$you.$going."today $okay";
15
+$string = 'Hello'.$there.'. How are'.$you.$going."today $okay";
16
+$string = 'Hello'.$there;
17
+$string = 'Hello'.$there;
16 18
 $string = 'Hello'.$there;
17
-$string = 'Hello'. $there;
18
-$string = 'Hello' .$there;
19 19
 
20 20
 // @codingStandardsChangeSetting Squiz.Strings.ConcatenationSpacing ignoreNewlines true
21 21
 $y = '1'
22 22
    . '2'
23 23
    . '3';
24 24
 
25
-$y = '1' .
26
-     '2' .
25
+$y = '1'.
26
+     '2'.
27 27
      '3';
28 28
 
29 29
 $y = '1'
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,5 +8,5 @@
 block discarded – undo
8 8
 echo ($hello);
9 9
 echo ($loan_device->returndate == 0) ? 'Not returned' : date('d/m/Y', $loan_device->returndate);
10 10
 ?>
11
-<p><?php echo ($foo) ?  'true' : 'false' ?></p>
11
+<p><?php echo ($foo) ? 'true' : 'false' ?></p>
12 12
 <p><?php echo ($foo) ?></p>
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 $string = "\0";
17 17
 
18 18
 $x = "bar = '$z',
19
-baz = '" . $a . "'...$x";
19
+baz = '".$a."'...$x";
20 20
 
21 21
 $string = "Hello
22 22
 there";
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @return array<int, int>
42 42
      */
43
-    public function getErrorList($testFile='DisallowObjectStringIndexUnitTest.js')
43
+    public function getErrorList($testFile = 'DisallowObjectStringIndexUnitTest.js')
44 44
     {
45 45
         if ($testFile !== 'DisallowObjectStringIndexUnitTest.js') {
46 46
             return array();
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @return array<int, int>
42 42
      */
43
-    public function getErrorList($testFile='ObjectMemberCommaUnitTest.js')
43
+    public function getErrorList($testFile = 'ObjectMemberCommaUnitTest.js')
44 44
     {
45 45
         if ($testFile !== 'ObjectMemberCommaUnitTest.js') {
46 46
             return array();
Please login to merge, or discard this patch.