arnaud-fr

Results comments of arnaud-fr

https://getrector.org/demo/20c203b7-b6ab-4086-b555-18db06ffd152

I agree with you demo works fine. I runed again the same sample code locally and encountered the same fatal error. My environnement is based on - OpenSuse Leap 15.1....

I cleaned my environment and remade an install ("composer require rector/rector --dev" => rector 0.7.43). I encountered the same error. I updated my environment to be on the latest dev-master....

I use OpenSuse Leap 15.1 / PHP 7.2.5 The option --debug produce this kind of output : PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@Doctrine\ORM\Mapping\Entity" in class Sample\Entity\SampleEntity...

The command "composer show doctrine/annotations" executed from my rector directory gives version 1.10.3

Rector and app are not in the same directory but rector.yaml points to the app autoloader parameters: php_version_features: '7.2' paths: - '/dev/src/Sample/Entity/SampleEntity.php' autoload_paths: - '/dev/vendor/autoload.php' sets: - php52 - php53...

I've got two mouting point on my machine : one dedicated to rector (ie. /home/arnaud) and one for the project (ie. /dev). That's why, maybe I'm wrong, I'm using abolute...

> > > Hello, > > Did there is any workaround to use rector to upgrade a symfony 2.8 project ? A suggested workaround : use the previous version 0.8.52...

Thanks, Note : the constant Option::EXCLUDE_RECTORS currently does not exist in the component Rector\Core\Configuration\Option in master branch.