Skip to content

Commit 08ae805

Browse files
committed
[*]: "PhpCodeParser" -> code style only
1 parent efaa267 commit 08ae805

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/voku/SimplePhpParser/Parsers/PhpCodeParser.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function getPhpFiles(
6666
require_once $projectPath;
6767
}
6868
}
69-
restore_error_handler();
69+
\restore_error_handler();
7070

7171
$phpCodes = self::getCode(
7272
$pathOrCode,
@@ -183,7 +183,7 @@ public static function process(
183183
string $cacheKey,
184184
array $autoloaderProjectPaths
185185
) {
186-
$cacheKey .= '--process--' . md5(\implode('|', $autoloaderProjectPaths));
186+
$cacheKey .= '--process--' . \md5(\implode('|', $autoloaderProjectPaths));
187187

188188
foreach ($autoloaderProjectPaths as $projectPath) {
189189
if (\file_exists($projectPath . '/vendor/autoload.php')) {
@@ -197,7 +197,7 @@ public static function process(
197197
require_once $projectPath;
198198
}
199199
}
200-
restore_error_handler();
200+
\restore_error_handler();
201201

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

0 commit comments

Comments
 (0)