Better detection for "SwitchcaseNeedBreak" rule
Brought to you by:
hkodungallur,
tchule
Originally created by: tch...@hotmail.com
Originally owned by: tch...@hotmail.com
NOTE : Il est parfois pratique d'écrire une clause case qui passe à travers le case suivant en omettant l'inclusion de break ou return. Pour distinguer ce cas d'un bug, toute clause case ne contenant pas break ou return doit contenir le commentaire "// break intentionally omitted".
(Source : http://framework.zend.com/manual/1.12/fr/coding-standard.coding-style.html)
=>
Test for presence of a return.
Test for presence of a comment indicating that no break is done on purpose.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: ppins...@gmail.com
And test for presence of a throw.