Passed
Pull Request — master (#5)
by
unknown
08:17
created
vendor/phar-io/manifest/tests/values/RequirementCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     public function testKeyPositionCanBeRetreived() {
57 57
         $this->collection->add($this->item);
58
-        foreach($this->collection as $key => $item) {
58
+        foreach ($this->collection as $key => $item) {
59 59
             $this->assertEquals(0, $key);
60 60
         }
61 61
     }
Please login to merge, or discard this patch.
vendor/phar-io/manifest/tests/values/AuthorCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     public function testKeyPositionCanBeRetreived() {
57 57
         $this->collection->add($this->item);
58
-        foreach($this->collection as $key => $item) {
58
+        foreach ($this->collection as $key => $item) {
59 59
             $this->assertEquals(0, $key);
60 60
         }
61 61
     }
Please login to merge, or discard this patch.
vendor/phar-io/manifest/tests/values/BundledComponentCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     public function testKeyPositionCanBeRetreived() {
57 57
         $this->collection->add($this->item);
58
-        foreach($this->collection as $key => $item) {
58
+        foreach ($this->collection as $key => $item) {
59 59
             $this->assertEquals(0, $key);
60 60
         }
61 61
     }
Please login to merge, or discard this patch.
vendor/phar-io/manifest/tests/ManifestLoaderTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function testCanBeLoadedFromFile() {
47 47
         $this->assertInstanceOf(
48 48
             Manifest::class,
49
-            ManifestLoader::fromFile(__DIR__ . '/_fixture/library.xml')
49
+            ManifestLoader::fromFile(__DIR__.'/_fixture/library.xml')
50 50
         );
51 51
     }
52 52
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $this->assertInstanceOf(
55 55
             Manifest::class,
56 56
             ManifestLoader::fromString(
57
-                file_get_contents(__DIR__ . '/_fixture/library.xml')
57
+                file_get_contents(__DIR__.'/_fixture/library.xml')
58 58
             )
59 59
         );
60 60
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function testCanBeLoadedFromPhar() {
63 63
         $this->assertInstanceOf(
64 64
             Manifest::class,
65
-            ManifestLoader::fromPhar(__DIR__ . '/_fixture/test.phar')
65
+            ManifestLoader::fromPhar(__DIR__.'/_fixture/test.phar')
66 66
         );
67 67
 
68 68
     }
Please login to merge, or discard this patch.
vendor/phar-io/manifest/examples/example-01.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 use PharIo\Manifest\ManifestLoader;
12 12
 use PharIo\Manifest\ManifestSerializer;
13 13
 
14
-require __DIR__ . '/../vendor/autoload.php';
14
+require __DIR__.'/../vendor/autoload.php';
15 15
 
16
-$manifest = ManifestLoader::fromFile(__DIR__ . '/../tests/_fixture/phpunit-5.6.5.xml');
16
+$manifest = ManifestLoader::fromFile(__DIR__.'/../tests/_fixture/phpunit-5.6.5.xml');
17 17
 
18 18
 echo sprintf(
19 19
     "Manifest for %s (%s):\n\n",
Please login to merge, or discard this patch.
vendor/phar-io/version/src/PreReleaseSuffix.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         $this->value = $matches[1];
90 90
         if (isset($matches[2])) {
91
-            $this->number = (int)$matches[2];
91
+            $this->number = (int) $matches[2];
92 92
         }
93 93
         $this->valueScore = $this->mapValueToScore($this->value);
94 94
     }
Please login to merge, or discard this patch.
phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.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
     {
23 23
         $message = $exception->getMessage();
24 24
         $message = strtr($message, array("\n" => "\n  "))."\n";
25
-        $message = empty($this->exceptions) ? $message : "\n" . $message;
25
+        $message = empty($this->exceptions) ? $message : "\n".$message;
26 26
 
27 27
         $this->message      = rtrim($this->message.$message);
28 28
         $this->exceptions[] = $exception;
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@
 block discarded – undo
60 60
                 $comparator->assertEquals($argument, $this->value);
61 61
                 return 10;
62 62
             } catch (ComparisonFailure $failure) {
63
-            	return false;
64
-			}
63
+                return false;
64
+            }
65 65
         }
66 66
 
67 67
         // If either one is an object it should be castable to a string
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
             return false;
59 59
         }
60 60
 
61
-        $keyScores = array_map(array($this->key,'scoreArgument'), array_keys($argument));
62
-        $valueScores = array_map(array($this->value,'scoreArgument'), $argument);
63
-        $scoreEntry = function ($value, $key) {
61
+        $keyScores = array_map(array($this->key, 'scoreArgument'), array_keys($argument));
62
+        $valueScores = array_map(array($this->value, 'scoreArgument'), $argument);
63
+        $scoreEntry = function($value, $key) {
64 64
             return $value && $key ? min(8, ($key + $value) / 2) : false;
65 65
         };
66 66
 
Please login to merge, or discard this patch.