I am trying to update my Symfony2.8 project to Symfony3.0, using the docker version of rector.
Using: docker run -v $(pwd):/project rector/rector:latest process /project/src --level symfony30 --dry-run --autoload-file /project/vendor/autoload.php
I get some errors (always the same):
[ERROR] Could not process "/project/src/App/Controller/CaptchaController.php"
file by "Rector\Symfony\Rector\HttpKernel\GetRequestRector", due to:
"Argument 1 passed to
Rector\Symfony\Rector\HttpKernel\GetRequestRector::isGetMethodCallWithR
equestParameters() must be an instance of
PhpParser\Node\Expr\MethodCall, instance of PhpParser\Node\Identifier
given, called in
/rector/packages/Symfony/src/Rector/HttpKernel/GetRequestRector.php on
line 166".
You can see here the full output.
I am trying to update my Symfony2.8 project to Symfony3.0, using the docker version of rector.
Using:
docker run -v $(pwd):/project rector/rector:latest process /project/src --level symfony30 --dry-run --autoload-file /project/vendor/autoload.phpI get some errors (always the same):
You can see here the full output.