Add rector to any project that contains enums: composer require --dev rector/rector
Actual behaviour

Looking to the definition of that \BackedEnum seems like PHP Tools is taking it before its own implementation of \BackedEnum
Expected behaviour
While I think this is a good thing to have (I even think Symfony have some packages like php-${extOrPHPVersion}-polyfill for the purpose of adding stuff to IDEs)
I worry anything PHP related can be modified by adding a simple dependency that does stuff like this and breaks the functionality of this extension and its autocompletion
Hope there's an alternative solution for these types to either be friendly with the stuff mentioned before (Symfony polyfills) and internals of this extension
Add rector to any project that contains enums:
composer require --dev rector/rectorActual behaviour
Looking to the definition of that
\BackedEnumseems like PHP Tools is taking it before its own implementation of\BackedEnumExpected behaviour
While I think this is a good thing to have (I even think Symfony have some packages like
php-${extOrPHPVersion}-polyfillfor the purpose of adding stuff to IDEs)I worry anything PHP related can be modified by adding a simple dependency that does stuff like this and breaks the functionality of this extension and its autocompletion
Hope there's an alternative solution for these types to either be friendly with the stuff mentioned before (Symfony polyfills) and internals of this extension