Completed
Push — master ( 72bc65...6342c7 )
by Dave
01:22 queued 01:19
created
src/Domain/ResultsParser/AnalysisResults.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct(array $analysisResults)
29 29
     {
30
-        usort($analysisResults, function (AnalysisResult $a, AnalysisResult $b): int {
30
+        usort($analysisResults, function(AnalysisResult $a, AnalysisResult $b): int {
31 31
             return $a->getLocation()->compareTo($b->getLocation());
32 32
         });
33 33
 
Please login to merge, or discard this patch.
tests/Unit/Core/Analyser/LocationSortTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             $foo16,
37 37
         ];
38 38
 
39
-        usort($list, function (Location $a, Location $b): int {
39
+        usort($list, function(Location $a, Location $b): int {
40 40
             return $a->compareTo($b);
41 41
         });
42 42
 
Please login to merge, or discard this patch.
tests/Integration/UpgradeV0BaselineFilesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         return [
85 85
             ['phan', new PhanJsonIdentifier()],
86 86
             ['phpcs-json', new PhpCodeSnifferJsonIdentifier()],
87
-            ['phpcs-txt',  new PhpCodeSnifferJsonIdentifier()],
87
+            ['phpcs-txt', new PhpCodeSnifferJsonIdentifier()],
88 88
             ['phpmd', new PhpmdJsonIdentifier()],
89 89
             ['phpstan-json', new PhpstanJsonIdentifier()],
90 90
             ['phpstan-text', new PhpstanJsonIdentifier()],
Please login to merge, or discard this patch.
example/eslint2sarb.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 $issues = [];
10 10
 
11
-foreach($asJson as $fileWithIssues) {
11
+foreach ($asJson as $fileWithIssues) {
12 12
 
13 13
     $fileName = $fileWithIssues['filePath'];
14 14
 
15
-    foreach($fileWithIssues['messages'] as $issue) {
15
+    foreach ($fileWithIssues['messages'] as $issue) {
16 16
         $issues[] = [
17 17
             'file' => $fileName,
18 18
             'line' => $issue['line'],
Please login to merge, or discard this patch.