rector: Error after update to 0.7

$ rector process module/ config/ --dry-run
Fatal error: Uncaught Error: Call to undefined function _HumbugBox075db77467cb\xcallable() in phar:///var/www/vendor/phpstan/phpstan/phpstan.phar/vendor/autoload.php:98
Stack trace:
#0 phar:///var/www/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/stream/Stream.php(529): xcallable('Hoa\\Stream\\Stre...')
#1 /var/www/vendor/composer/ClassLoader.php(444): include('phar:///var/www...')
#2 /var/www/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('phar:///var/www...')
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Hoa\\Stream\\Stre...')
#4 phar:///var/www/vendor/rector/rector-prefixed/rector/vendor/hoa/consistency/Autoloader.php(162): spl_autoload_call('Hoa\\Stream\\Stre...')
#5 phar:///var/www/vendor/rector/rector-prefixed/rector/vendor/hoa/consistency/Autoloader.php(104): Hoa\Consistency\Autoloader->runAutoloaderStack('Hoa\\Stream\\Stre...')
#6 [internal function]: Hoa\Consistency\Autoloader->load('Hoa\\Stream')
#7 phar:///var/www/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/file/Gene in phar:///var/www/vendor/phpstan/phpstan/phpstan.phar/vendor/autoload.php on line 98

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (25 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks for your amazing work! Anyway I hope to will be able to fully migrate to php 7.4 this weekend by rector

Also I was looking at wrong version probably so phpstan.phar currently has line 98 in autoload.php 😃