Skip to content

Commit

Permalink
[*]: "PhpCodeParser" -> code style only
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Jul 4, 2020
1 parent efaa267 commit 08ae805
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/voku/SimplePhpParser/Parsers/PhpCodeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static function getPhpFiles(
require_once $projectPath;
}
}
restore_error_handler();
\restore_error_handler();

$phpCodes = self::getCode(
$pathOrCode,
Expand Down Expand Up @@ -183,7 +183,7 @@ public static function process(
string $cacheKey,
array $autoloaderProjectPaths
) {
$cacheKey .= '--process--' . md5(\implode('|', $autoloaderProjectPaths));
$cacheKey .= '--process--' . \md5(\implode('|', $autoloaderProjectPaths));

foreach ($autoloaderProjectPaths as $projectPath) {
if (\file_exists($projectPath . '/vendor/autoload.php')) {
Expand All @@ -197,7 +197,7 @@ public static function process(
require_once $projectPath;
}
}
restore_error_handler();
\restore_error_handler();

new \voku\SimplePhpParser\Parsers\Helper\Psalm\FakeFileProvider();
$providers = new \Psalm\Internal\Provider\Providers(
Expand Down

0 comments on commit 08ae805

Please sign in to comment.