Closed OskarStark closed 2 years ago
You should can use configure()
method directly, please read the documentation https://github.com/rectorphp/rector/blob/0.12.7/docs/rector_rules_overview.md#propertyfetchtomethodcallrector
Thanks
@OskarStark Thanks for reporting! The BC break should not be that hard, so I've added the ValueObjectInliner back - https://github.com/rectorphp/rector-src/commit/5d45598fbeabaecff18703d6865d5b7f3514608b
But the configuration()
upgrade should be reported by Rector and you should update configs to use it.
Hm, it sees it cannot be reverted now, as it breaks Symplify upgrade: https://github.com/rectorphp/rector-src/pull/1449/files#diff-454731d3d97a1b9fd10a8eee495223ea22742c34bd478b8fcd0549f9c30c3afd
But the configure()
upgrade is way to go :+1:
Thanks for the try 👌🏻🤞🏻
Bug Report
vendor/bin/rector --version
)I receive the following error in CI:
did sth. change for this?
here is my config: