rector: Call to undefined function RectorPrefix20211109\Symfony\Component\DependencyInjection\Compiler\trigger_deprecation

Bug Report

updating to latest rector in CI I get the error

Error: Call to undefined function RectorPrefix20211109\Symfony\Component\DependencyInjection\Compiler\trigger_deprecation()

/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:60
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:47
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:77
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:45
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:86
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:45
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:77
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:45
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php:42
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:29
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/Compiler/Compiler.php:87
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/vendor/symfony/dependency-injection/ContainerBuilder.php:648
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/src/Kernel/RectorKernel.php:54
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/packages/Testing/PHPUnit/AbstractTestCase.php:36
/home/runner/work/rector-view-scope/rector-view-scope/vendor/rector/rector/packages/Testing/PHPUnit/AbstractRectorTestCase.php:63

see https://github.com/staabm/rector-view-scope/runs/4163906151?check_suite_focus=true

I guess its some kind of prefixing bug

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks! Let’s 🚢 it

I’ll relase 0.12.2

fix confirmed, thx again

@staabm I see it, thanks. I’m going home, I will try in tube 😊

fix confirmed, thx a lot

Thank you guys 🙏

Fixed at https://github.com/rectorphp/rector-src/pull/1199

Please try "rector/rector": "dev-main"