1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +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) { function ($filePath, $prefix, $contents) {
if (strpos($filePath, 'src/Psalm') === 0) { if (strpos($filePath, 'src/Psalm') === 0) {
return str_replace( return str_replace(
[' \\Psalm\\Internal\\', ' \\PhpParser\\'], [' \\PhpParser\\'],
[' \\' . $prefix . '\\Psalm\\Internal\\', ' \\' . $prefix . '\\PhpParser\\'], [' \\' . $prefix . '\\PhpParser\\'],
$contents $contents
); );
} }