rector/rules/coding-style
Abdul Malik Ikhsan 524b578628
[PostRector] Skip re-import name on callable name node (#5022)
* [PostRector] Fixes #3383 Skip import name on callable node

* check function_exists()

* fix

* [ci-review] Rector Rectify

* make keep working on existing test

* try use isFoundInUse from ClassNameImportSkipper

* use ClassNameImportSkipper usage

* callable check

* try without is_callable() check

* try using ! function_exists() with \ prefix

* try again with is_callable return early

* fixed

* [ci-review] Rector Rectify

* works?

* fix

* fix

* reduce code complexity

* final touch

* namespace fixture fix

Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-07 19:27:31 +01:00
..