Open utterances-bot opened 1 year ago
Hi, where are you running rector? I've tried locally manually, in PHPstorm and on linux server, but always no output is generated, just blank, no errors, nothing :S
@adrovz Try running from command line after installing. Maybe first checkout https://getrector.org/ and do the 'Getting Started'. If you can do that, this article will be easy.
I am keep on getting the error with rector.php Rector\Config\RectorConfig::{closure}(): Argument #1 ($containerConfigurator) must be of type Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator, Rector\Config\RectorConfig given,
How to upgrade legacy codebase to use PHP 8.0 features using Rector — Amit Merchant — A blog on PHP, JavaScript, and more
The newest version of PHP, the PHP 8.0, is coming later this year (November 26, 2020) and it will come packed with many new features such as constructor property promotion, match expressions, nullsafe operator, attributes and a lot others.
https://www.amitmerchant.com/how-to-upgrade-application-codebase-to-use-PHP-8-features-rector/