-
Notifications
You must be signed in to change notification settings - Fork 72
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
php74: Fix a couple of remaining curly-bracket uses #72
php74: Fix a couple of remaining curly-bracket uses #72
Conversation
Can be checked with:
(note that there are 2 cases within Or running, with php74:
Without the patch there are some PHP notices for those lines. With the patch it runs ok. |
These escaped moodlehq#65 and just noticed them today when executing the bundled pear/PHP/scripts/phpcs binary (not reproducible from web or tests). Also fix an unrelated typo in CHANGES.md
132224b
to
807c962
Compare
- Change from matrix - excludes to includes. - Add mising details. - Add support for dynamic node version. - Cache .nvm dir
807c962
to
0c2f484
Compare
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.
We shouldn't be specifying a version here.
All supported versions of Moodle since 3.5 have the nvmrc, and we do something like:
if [ -f .nvmrc ]; then
nvm install
nvm use
else
// Old LTS before we had an nvmrc is lts/carbon
nvm install lts/carbon
fi
Yeah, I'm well aware and, in fact, that was my primary attempt, to leave 35_STABLE and up just using
To make this work as expected, once again, changes to Ciao :-) |
Ping! |
Sorry - this had dropped off my radar. Thanks for the detailed explanation. |
Thanks! |
These escaped #65 and just noticed them today when executing
the bundled pear/PHP/scripts/phpcs binary (not reproducible
from web or tests).
Also fix an unrelated typo in CHANGES.md
Finally, have added some important changes to travis, aiming for simplicity (include jobs instead of matrix + excludes), better nodejs handling...