[Phpmyadmin-devel] New PHPCS rule
Hugues Peccatte
hugues.peccatte at gmail.com
Sun Dec 15 20:36:04 CET 2013
Hi,
What would you think about using the "nesting level" sniff please?
This sniff permits to detect when there are too much nested levels like:
if (...) {
if (...) {
if (...) {
if (...) {
if (...) {
....
}
}
}
}
}
This kind of syntax often means that a refactoring is needed or a rewrite.
I can add it myself if you agree.
Thanks,
Hugues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20131215/b53da347/attachment.html>
More information about the Developers
mailing list