<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014/1/5 Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Le 2014-01-05 14:31, Hugues Peccatte a écrit :<br>
> Hi,<br>
><br>
> 2014/1/5 Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a> <mailto:<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>>><br>
<div class="im">><br>
>     Hi,<br>
>     I'm aware that I'm opening a can of worms, but can we discuss PHPMD<br>
>     rules?<br>
><br>
>     In particular, I find that to obey the maximum variable name (20<br>
>     characters) rule, one has to sometimes abbreviate at the expanse of<br>
>     clarity.<br>
><br>
>     <a href="http://ci.phpmyadmin.net/job/phpMyAdmin/908/pmdResult/type.811406648/" target="_blank">http://ci.phpmyadmin.net/job/phpMyAdmin/908/pmdResult/type.811406648/</a><br>
><br>
> I agree. Many rules are useful to keep the code clear, but sometimes it<br>
> could be a constraint.<br>
> Marc is talking about the length of variable names, but it's the same<br>
> thing about the line length. Limit to 80 characters is out-of-dated. Our<br>
> screen are larger than "before" so let's use more. (And you choose to<br>
> use more because our standard is now 85 characters. In my job, we<br>
> decided to use 120.)<br>
> But this was only an example to support what Marc said.<br>
<br>
</div>Well, on my laptop, I don't have that much space and I'm happy with the<br>
current line length limit.<br>
<div class="im HOEnZb"><br>
><br>
> But if I'm right, the problem of PMD is that you can activate a group of<br>
> rules but not a single rule. (Some one to contradict this please ?)<br>
><br>
> One possibility could be to try to implement the interesting rules in<br>
> PHPCS if they don't exist.<br>
><br>
> Hugues.<br>
><br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a> | <a href="http://phpmyadmin.net" target="_blank">http://phpmyadmin.net</a></div><div class="h5"><br></div></div></blockquote><div> </div><div>You're right. We are not at work, we don't have all the same devices. But it was only to say that things need to evolve and to ask if there is a way to activate only some PMD rules.</div>

<div><br></div><div>Hugues. </div></div></div></div>