mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-18 23:05:25 +01:00
unprefix event dipsatcher
This commit is contained in:
parent
19b81eb180
commit
a71a812c33
@ -70,7 +70,9 @@ return [
|
||||
}
|
||||
|
||||
// see https://regex101.com/r/v8zRMm/1
|
||||
return Strings::replace($content, '#' . $prefix . '\\\\Composer\\\\Plugin\\\\PluginInterface#', 'Composer\\Plugin\\PluginInterface');
|
||||
$content = Strings::replace($content, '#' . $prefix . '\\\\Composer\\\\Plugin\\\\PluginInterface#', 'Composer\\Plugin\\PluginInterface');
|
||||
|
||||
return Strings::replace($content, '#' . $prefix . '\\\\Composer\\\\EventDispatcher\\\\EventSubscriberInterface#', 'Composer\\EventDispatcher\\EventSubscriberInterface');
|
||||
},
|
||||
|
||||
// fixes https://github.com/rectorphp/rector/issues/6007
|
||||
|
Loading…
x
Reference in New Issue
Block a user