Closed timhunt closed 2 years ago
Can you try adding the following rule to moodle/ruleset.xml
? It seems to achieve what is being requested here (any spacing before/after array brackets.
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
I still have to add it with some tests in a PR, but that's the way, I think.
Ciao :-)
Yes, that looks like the answer. Well found.
In Moodle coding style,
Is wrong.
It should be
But, e.g. in https://tracker.moodle.org/browse/MDL-73808, we fail to detect that.