Skip to content

Commit f20f26f

Browse files
committed
Fix code style
1 parent a2f0e6e commit f20f26f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Rules/Keywords/RequireFileExistsRule.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use PHPStan\Rules\RuleError;
1010
use PHPStan\Rules\RuleErrorBuilder;
1111
use PHPStan\ShouldNotHappenException;
12+
use function is_file;
1213
use function is_string;
1314
use function sprintf;
1415

@@ -17,6 +18,7 @@
1718
*/
1819
final class RequireFileExistsRule implements Rule
1920
{
21+
2022
public function getNodeType(): string
2123
{
2224
return Include_::class;
@@ -28,7 +30,7 @@ public function processNode(Node $node, Scope $scope): array
2830
$filePath = $this->resolveFilePath($node, $scope);
2931
if (is_string($filePath) && !is_file($filePath)) {
3032
return [
31-
$this->getErrorMessage($node, $filePath)
33+
$this->getErrorMessage($node, $filePath),
3234
];
3335
}
3436
}
@@ -67,4 +69,5 @@ private function resolveFilePath(Include_ $node, Scope $scope): ?string
6769

6870
return isset($paths[0]) ? $paths[0]->getValue() : null;
6971
}
72+
7073
}

0 commit comments

Comments
 (0)