| Subject |
Details |
| PHP version |
7.3.7 |
| Full Command |
./vendor/bin/phpunit ./tests/Rector/Property/InjectAnnotationClassRector |
Current Behaviour
Error in unit test in branch https://github.com/holtkamp/rector/tree/patch-intermixed-types
Minimal PHP Code Causing Issue
See test.
This is difficult to explain in words.
It seems that the order of the imports / use statements influences which type is used for a node.
Expected Behaviour
I would expect that the proper type is used.
7.3.7./vendor/bin/phpunit ./tests/Rector/Property/InjectAnnotationClassRectorCurrent Behaviour
Error in unit test in branch https://github.com/holtkamp/rector/tree/patch-intermixed-types
Minimal PHP Code Causing Issue
See test.
This is difficult to explain in words.
It seems that the order of the imports /
usestatements influences which type is used for a node.Expected Behaviour
I would expect that the proper type is used.