Demo for downgrade to php 5.6 for (clone $this)->execute() Step to reproduce: composer install vendor/bin/rector Expected: Need to apply change to: - (clone $this)->execute(); + $object = clone $this; + $object->execute();