rector: Rector hangs with no output whatsoever

Bug Report

Subject Details
Rector version 0.14.7

Running rector process gives absolutely no output whatsoever. A breakpoint shows it gets to here and then freezes. It seems to be some problematic interaction with Xdebug. However, even if I run rector/rector/bin/rector directly, to get rid of the Composer wrapper, the issue persists. It seems the XdebugHandler always gets called anyway, no matter what I do.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Rector 0.14.8 released with various performance improvement https://github.com/rectorphp/rector/releases/tag/0.14.8

If you have very huge codebase, you may still need to tweak configuration and/or extract per-directory run like at https://github.com/rectorphp/rector/issues/7600#issuecomment-1312539617

I am closing it as there are already various performance improvement, crash handling, and infinite loop handling in recent releases.

Feel free to provide another performance improvement PR when you can πŸ˜ƒ

I also perform a test run with PHPStan 1.9.1, and also can’t measure any difference. So my problem is maybe not related to Rector/PHPStan. Sorry πŸ˜•

@Bilge updated πŸ‘