Last modified: 2013-08-29 15:11:11 UTC
I feel that empty catch bodies are okay - especially if they have comments why it is empty. Some examples: https://gerrit.wikimedia.org/r/#/c/77094/1/tests/SpecialPagesTest.php https://gerrit.wikimedia.org/r/#/c/77094/1/tag/PageTranslationHooks.php
You can get the rule removed in mediawiki/tools/codesniffer.git ruleset.xml Then have the submodule updated in integration/jenkins.git.