-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Plugin CI 4.5.8
Error when running code checker:
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | An error occurred during processing; checking has been aborted. The error message was:
| | file_get_contents(phar://moodle-plugin-ci.phar/vendor/moodlehq/moodle-cs/moodle/Util/apis.json): Failed
| | to open stream: phar error: "vendor/moodlehq/moodle-cs/moodle/Util/apis.json" is not a file in phar
| | "moodle-plugin-ci.phar" in
| | phar://moodle-plugin-ci.phar/vendor/moodlehq/moodle-cs/moodle/Util/MoodleUtil.php on line 297
| | The error originated in the moodle.Commenting.Category sniff on line 62. (Internal.Exception)
------------------------------------------------------------------------------------------------------------------------------------
When extracting the phar file, you see that the apis.json file is missing in the Util directory.
phar extract -f moodle-plugin-ci.phar
...
vendor/moodlehq/moodle-cs/moodle/Sniffs/WhiteSpace/SpaceAfterCommaSniff.php ...ok
vendor/moodlehq/moodle-cs/moodle/Sniffs/WhiteSpace/WhiteSpaceInStringsSniff.php ...ok
vendor/moodlehq/moodle-cs/moodle/Util/Attributes.php ...ok
vendor/moodlehq/moodle-cs/moodle/Util/Docblocks.php ...ok
vendor/moodlehq/moodle-cs/moodle/Util/MoodleUtil.php ...ok
vendor/moodlehq/moodle-cs/moodle/Util/TokenUtil.php ...ok
vendor/moodlehq/moodle-cs/moodle/Util/TypeUtil.php ...ok
vendor/moodlehq/moodle-cs/moodle/ruleset.xml ...ok
vendor/moodlehq/moodle-cs/moodle-extra/ruleset.xml ...ok
vendor/moodlehq/moodle-local_ci/check_upgrade_savepoints/check_upgrade_savepoints.php ...ok
...
Metadata
Metadata
Assignees
Labels
No labels