Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Code checker and underscores in variable names

$
0
0
by Joseph Rézeau.  

Hi all,

Just upgraded to latest version 2.2.8 build 2013071300 of Code checker on my moodle 2.5 local test site. Under ECLIPSE I have installed the PHP CodeSniffer, based on Moodle's codechecker.

Now I notice a lot of warnings about not using underscores in variable names.

e.g. Variable "quiz_reordertool" must not contain underscores.

In our add-ons, should be care and start removing all those underscores?

Joseph

 


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>