Error messages encountered #8792
-
While scanning a certain directory, I encountered many errors. Some seem to interrupt the rule processing, while others do not. Here is my configuration file: I used the entire list on the first run, then realized that some of the directories were untouched. So, then I commented out all but the one with errors, and the ones before and after it. The output shows mobi being scanned first, and then olo, even though an error was found in mobi. But the onboarding directory was not scanned (the one after olo in my list.) The errors that happen in olo appear to stop the processing of the list of directories. Complete output with all errors follows. The line number is always 94 in every error, so I'm assuming 94 is bogus. Is there a way to get rector to ignore warnings and errors, and continue scans regardless? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Could you create reproducible at https://getrector.com/demo ? Thank you. |
Beta Was this translation helpful? Give feedback.
-
IS ANYONE OUT THERE? In code space, no one can hear you scream. |
Beta Was this translation helpful? Give feedback.
-
I suggest to being slow, step by step, fix the code first, fix spacing (use coding standard tool or right IDE should can handle that), ensure autoload correctly setup, then try with simple rule one rule at a time so that you can easy to check and review, and fix edge cases. |
Beta Was this translation helpful? Give feedback.
I suggest to being slow, step by step, fix the code first, fix spacing (use coding standard tool or right IDE should can handle that), ensure autoload correctly setup, then try with simple rule one rule at a time so that you can easy to check and review, and fix edge cases.