When I run the rector script bin/cake upgrade rector --rules cakephp40 ../project/src I get the following error:
bin/cake upgrade rector --rules cakephp40 ../project/src
Notice: Undefined property: PhpP