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:
parent
18ab7e52f6
commit
6900b12a19
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user