-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Just pulled v5.0.9 and get this error :(
Same for Moodle 4.5.5+, 5.0.1+ and 5.1dev
Exception - Class "PHP_CodeSniffer\Util\MessageCollector" not found
[More information about this error](https://docs.moodle.org/500/en/error/moodle/generalexceptionmessage)
Debug info:
Error code: generalexceptionmessageDismiss this notification
Stack trace:
line 164 of /local/codechecker/vendor/squizlabs/php_codesniffer/src/Ruleset.php: Error thrown
line 348 of /local/codechecker/vendor/squizlabs/php_codesniffer/src/Runner.php: call to PHP_CodeSniffer\Ruleset->__construct()
line 119 of /local/codechecker/classes/runner.php: call to PHP_CodeSniffer\Runner->init()
line 131 of /local/codechecker/classes/runner.php: call to local_codechecker\runner->init()
line 106 of /local/codechecker/index.php: call to local_codechecker\runner->run()
Steps to reproduce
- Update codechecker to v5.0.9
- Upgrade Moodle
- Go to Site admin > Development > Code checker
- Enter local/codechecker
Workaround - revert to 5.0.8
cd local/codecheckergit checkout v5.0.8- uninstall codechecker
php admin/cli/uninstall_plugins.php --plugins=local_codechecker --run - Upgrade moodle
php admin/cli/upgrade.php
Metadata
Metadata
Assignees
Labels
No labels