Completed
Push — master ( 0e78db...3af8bc )
by Marco
18s queued 11s
created
test/unit/Git/GitParseRevisionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $expectedRevision,
33 33
             (new GitParseRevision())->fromStringForRepository(
34 34
                 $revisionToBeParsed,
35
-                CheckedOutRepository::fromPath(__DIR__ . '/../../../')
35
+                CheckedOutRepository::fromPath(__DIR__.'/../../../')
36 36
             )->__toString()
37 37
         );
38 38
     }
Please login to merge, or discard this patch.
test/unit/Git/CheckedOutRepositoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
 {
19 19
     public function testFromPath() : void
20 20
     {
21
-        $path = sys_get_temp_dir() . '/' . uniqid('testPath', true);
21
+        $path = sys_get_temp_dir().'/'.uniqid('testPath', true);
22 22
         mkdir($path, 0777, true);
23
-        mkdir($path . '/.git');
23
+        mkdir($path.'/.git');
24 24
 
25 25
         $checkedOutRepository = CheckedOutRepository::fromPath($path);
26 26
         self::assertSame($path, (string) $checkedOutRepository);
27 27
 
28
-        rmdir($path . '/.git');
28
+        rmdir($path.'/.git');
29 29
         rmdir($path);
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Git/CheckedOutRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public static function fromPath(string $path) : self
19 19
     {
20 20
         Assert::that($path)->directory();
21
-        Assert::that($path . '/.git')->directory();
21
+        Assert::that($path.'/.git')->directory();
22 22
         $instance       = new self();
23 23
         $instance->path = $path;
24 24
         return $instance;
Please login to merge, or discard this patch.
src/SourceLocator/StaticClassMapSourceLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function createLocatedSource(Identifier $identifier) : ?LocatedSource
36 36
     {
37
-        if (! $identifier->isClass()) {
37
+        if (!$identifier->isClass()) {
38 38
             return null;
39 39
         }
40 40
 
Please login to merge, or discard this patch.
src/Formatter/ReflectionPropertyName.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
     public function __invoke(ReflectionProperty $property) : string
12 12
     {
13 13
         if ($property->isStatic()) {
14
-            return $property->getDeclaringClass()->getName() . '::$' . $property->getName();
14
+            return $property->getDeclaringClass()->getName().'::$'.$property->getName();
15 15
         }
16 16
 
17
-        return $property->getDeclaringClass()->getName() . '#$' . $property->getName();
17
+        return $property->getDeclaringClass()->getName().'#$'.$property->getName();
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Formatter/ReflectionFunctionAbstractName.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
     {
14 14
         if ($function instanceof ReflectionMethod) {
15 15
             if ($function->isStatic()) {
16
-                return $function->getDeclaringClass()->getName() . '::' . $function->getName() . '()';
16
+                return $function->getDeclaringClass()->getName().'::'.$function->getName().'()';
17 17
             }
18 18
 
19
-            return $function->getDeclaringClass()->getName() . '#' . $function->getName() . '()';
19
+            return $function->getDeclaringClass()->getName().'#'.$function->getName().'()';
20 20
         }
21 21
 
22
-        return $function->getName() . '()';
22
+        return $function->getName().'()';
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
BCBreak/FunctionBased/ParameterTypeContravarianceChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             array_combine(
117 117
                 array_keys($functions),
118 118
                 array_map(
119
-                    function (string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
119
+                    function(string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
120 120
                         return [
121 121
                             $fromReflector->reflect($function),
122 122
                             $toReflector->reflect($function),
Please login to merge, or discard this patch.
DetectChanges/BCBreak/FunctionBased/ReturnTypeByReferenceChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             array_combine(
117 117
                 array_keys($functions),
118 118
                 array_map(
119
-                    function (string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
119
+                    function(string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
120 120
                         return [
121 121
                             $fromReflector->reflect($function),
122 122
                             $toReflector->reflect($function),
Please login to merge, or discard this patch.
DetectChanges/BCBreak/FunctionBased/ReturnTypeCovarianceChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             array_combine(
117 117
                 array_keys($functions),
118 118
                 array_map(
119
-                    function (string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
119
+                    function(string $function, array $errorMessages) use ($fromReflector, $toReflector) : array {
120 120
                         return [
121 121
                             $fromReflector->reflect($function),
122 122
                             $toReflector->reflect($function),
Please login to merge, or discard this patch.