moodlehq / moodle-cs

Moodle Coding Style
https://github.com/moodlehq/moodle-cs
GNU General Public License v3.0
18 stars 16 forks source link

CodeChecker should be able to check for the rule about no string concatenation in lang files #164

Open timhunt opened 5 months ago

timhunt commented 5 months ago

MDLSITE-2719 agreed that string concatenation should not be allowed in lang files. It should be possible to get phpcs to check this for us, and it is a mistake people make.

stronk7 commented 4 months ago

So, basically, what you are proposing here is to look for any concat (.) operator in lang files and error if found?

Also, related, there was MDLSITE-2063.

Ciao :-)