1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Don’t scope more internal classes

This commit is contained in:
Brown 2020-05-14 19:56:20 -04:00
parent 18ab7e52f6
commit 6900b12a19

View File

@ -28,8 +28,8 @@ return [
function ($filePath, $prefix, $contents) {
if (strpos($filePath, 'src/Psalm') === 0) {
return str_replace(
[' \\Psalm\\Internal\\', ' \\PhpParser\\'],
[' \\' . $prefix . '\\Psalm\\Internal\\', ' \\' . $prefix . '\\PhpParser\\'],
[' \\PhpParser\\'],
[' \\' . $prefix . '\\PhpParser\\'],
$contents
);
}