Closed michael-milette closed 2 years ago
With debugging set to DEVELOPER mode, I get the following error messages when the source code file is empty:
Notice: Undefined offset: 0 in /local/codechecker/locallib.php on line 197
Line 197 is: https://github.com/moodlehq/moodle-local_codechecker/blob/00fb097ca836f56832be8067315aa8340bebf6d6/locallib.php#L197
CodeChecker does report the issue correctly but it should be able to handle the issue without reporting the above-mentioned notice.
Let me know if you have any questions.
Best regards,
Michael Milette
Closing. Fixed by #199
It's fun the notice was in line 197, this issue is 198 and the pull request 199, lol.
It was meant to be!
Thank you!
With debugging set to DEVELOPER mode, I get the following error messages when the source code file is empty:
Line 197 is: https://github.com/moodlehq/moodle-local_codechecker/blob/00fb097ca836f56832be8067315aa8340bebf6d6/locallib.php#L197
CodeChecker does report the issue correctly but it should be able to handle the issue without reporting the above-mentioned notice.
Let me know if you have any questions.
Best regards,
Michael Milette