Completed
Push — master ( d83206...aa4419 )
by Marco
10s
created
src/Formatter/SymfonyConsoleTextFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Formatter;
5 5
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         /** @var Change $change */
25 25
         foreach ($changes as $change) {
26
-            $this->output->writeln((string)$change);
26
+            $this->output->writeln((string) $change);
27 27
         }
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Formatter/OutputFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Formatter;
5 5
 
Please login to merge, or discard this patch.
src/Changes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare;
5 5
 
Please login to merge, or discard this patch.
src/Git/GitCheckoutRevisionToTemporaryPath.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Git;
5 5
 
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function checkout(CheckedOutRepository $sourceRepository, Revision $revision) : CheckedOutRepository
15 15
     {
16
-        $checkoutDirectory = sys_get_temp_dir() . '/api-compare-' . (string)$revision;
16
+        $checkoutDirectory = sys_get_temp_dir().'/api-compare-'.(string) $revision;
17 17
 
18
-        (new Process(['git', 'clone', (string)$sourceRepository, $checkoutDirectory]))->mustRun();
19
-        (new Process(['git', 'checkout', (string)$revision]))->setWorkingDirectory($checkoutDirectory)->mustRun();
18
+        (new Process(['git', 'clone', (string) $sourceRepository, $checkoutDirectory]))->mustRun();
19
+        (new Process(['git', 'checkout', (string) $revision]))->setWorkingDirectory($checkoutDirectory)->mustRun();
20 20
 
21 21
         return CheckedOutRepository::fromPath($checkoutDirectory);
22 22
     }
@@ -27,6 +27,6 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function remove(CheckedOutRepository $checkedOutRepository) : void
29 29
     {
30
-        (new Process(['rm', '-rf', (string)$checkedOutRepository]))->mustRun();
30
+        (new Process(['rm', '-rf', (string) $checkedOutRepository]))->mustRun();
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Git/CheckedOutRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Git;
5 5
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public static function fromPath(string $path) : self
18 18
     {
19 19
         Assert::that($path)->directory();
20
-        Assert::that($path . '/.git')->directory();
20
+        Assert::that($path.'/.git')->directory();
21 21
         $instance = new self();
22 22
         $instance->path = $path;
23 23
         return $instance;
Please login to merge, or discard this patch.
src/Git/PerformCheckoutOfRevision.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare\Git;
5 5
 
Please login to merge, or discard this patch.
src/Change.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Roave\ApiCompare;
5 5
 
Please login to merge, or discard this patch.
test/unit/Git/GitCheckoutRevisionToTemporaryPathTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace RoaveTest\ApiCompare\Git;
5 5
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 {
16 16
     public function testCheckoutAndRemove() : void
17 17
     {
18
-        $sourceRepositoryPath = realpath(__DIR__ . '/../../../');
18
+        $sourceRepositoryPath = realpath(__DIR__.'/../../../');
19 19
 
20 20
         $git = new GitCheckoutRevisionToTemporaryPath();
21 21
 
Please login to merge, or discard this patch.
test/unit/Git/RevisionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace RoaveTest\ApiCompare\Git;
5 5
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     {
17 17
         $sha1 = sha1(uniqid('sha1', true));
18 18
 
19
-        self::assertSame($sha1, (string)Revision::fromSha1($sha1));
19
+        self::assertSame($sha1, (string) Revision::fromSha1($sha1));
20 20
     }
21 21
 
22 22
     public function invalidRevisionProvider() : array
Please login to merge, or discard this patch.