Skip to content
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

Avoid comma-separated use statements to require MOODLE_INTERNAL #176

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Jan 19, 2022

No matter that comma-separated use statements are a violation of
the coding style (see Namespaces section), they, for sure, don't
constitute a side-effect at all, so the MOODLE_INTERNAL check
should be immune to them.

This fix just enables comma-separated to be properly processed,
covered with tests.

Fixes #175

No matter that comma-separated use statements are a violation of
the coding style (see Namespaces section), they, for sure, don't
constitute a side-effect at all, so the MOODLE_INTERNAL check
should be immune to them.

This fix just enables comma-separated to be properly processed,
covered with tests.

Fixes moodlehq#175
@stronk7
Copy link
Member Author

stronk7 commented Jan 21, 2022

Self-merging to have this deployed @ CI ASAP.

@stronk7 stronk7 merged commit efb86bd into moodlehq:master Jan 21, 2022
@stronk7 stronk7 deleted the comma_separated_use branch January 21, 2022 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with MoodleInternal Sniff (MoodleInternalGlobalState)
1 participant