-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code checker fixes #51
Conversation
3689030
to
5f2d881
Compare
@@ -139,7 +109,7 @@ jobs: | |||
|
|||
- name: Validating | |||
if: ${{ always() }} | |||
run: moodle-plugin-ci validate | |||
run: moodle-plugin-ci validate || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lucaboesch Why are we ignoring the outcome of the moodle-plugin-ci validate
command? Just trying to understand the logic behind this particular change 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. validate
doesn't know about class aliases, and fails with a "failed to find class filter_multilang2" error.
It would fail because there is no class in filter.php. |
continue-on-error: true # This step will show errors but will not fail | ||
if: ${{ always() }} | ||
run: moodle-plugin-ci phpcpd | ||
|
||
- name: PHP Mess Detector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucaboesch Why are we removing this check? Is it no longer supported by moodle-plugin-ci
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it has been marked deprecated. Fair enough!
@@ -139,7 +109,7 @@ jobs: | |||
|
|||
- name: Validating | |||
if: ${{ always() }} | |||
run: moodle-plugin-ci validate | |||
run: moodle-plugin-ci validate || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. validate
doesn't know about class aliases, and fails with a "failed to find class filter_multilang2" error.
Here are additional fixes to let the CI tests pass.