From 16c83243f0d25db4f391efc2d218804c4cadbb08 Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Thu, 8 Feb 2018 15:25:45 +0100 Subject: [PATCH] [README] add autoload-file option [closes #302] --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index bde9480723a..651f7b579cd 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,14 @@ And Rector is accessible as: vendor/bin/rector ``` +### Extra Autoloading + +Rector relies on project and autoloading of it's classes. To specify own autoload file, use `--autoload-file` option: + +```bash +vendor/bin/rector --autoload-file ../project/vendor/autoload.php +``` + ## How to Reconstruct your Code ### A. Prepared Sets