@@ -32,7 +32,7 @@ |
||
| 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 | } |
@@ -34,7 +34,7 @@ |
||
| 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 | |
@@ -18,10 +18,10 @@ |
||
| 18 | 18 | /** @var string[] */ |
| 19 | 19 | private $classMap; |
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
| 23 | - * every key must be non-empty |
|
| 24 | - */ |
|
| 21 | + /** |
|
| 22 | + * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
| 23 | + * every key must be non-empty |
|
| 24 | + */ |
|
| 25 | 25 | public function __construct( |
| 26 | 26 | array $classMap, |
| 27 | 27 | Locator $astLocator |
@@ -11,9 +11,9 @@ |
||
| 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 | } |
@@ -13,12 +13,12 @@ |
||
| 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 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes |
| 19 | 19 | { |
| 20 | - if ($fromMethod->isAbstract() || ! $toMethod->isAbstract()) { |
|
| 20 | + if ($fromMethod->isAbstract() || !$toMethod->isAbstract()) { |
|
| 21 | 21 | return Changes::empty(); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes |
| 24 | 24 | { |
| 25 | - if (! $fromMethod->isProtected()) { |
|
| 25 | + if (!$fromMethod->isProtected()) { |
|
| 26 | 26 | return Changes::empty(); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes |
| 19 | 19 | { |
| 20 | - if ($fromMethod->isFinal() || ! $toMethod->isFinal()) { |
|
| 20 | + if ($fromMethod->isFinal() || !$toMethod->isFinal()) { |
|
| 21 | 21 | return Changes::empty(); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes |
| 24 | 24 | { |
| 25 | - if (! $fromMethod->isPublic()) { |
|
| 25 | + if (!$fromMethod->isPublic()) { |
|
| 26 | 26 | return Changes::empty(); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes |
| 21 | 21 | { |
| 22 | - if (! $fromConstant->isProtected()) { |
|
| 22 | + if (!$fromConstant->isProtected()) { |
|
| 23 | 23 | return Changes::empty(); |
| 24 | 24 | } |
| 25 | 25 | |