codeclimate / codeclimate-phpmd

Code Climate PHPMD Engine
MIT License
10 stars 12 forks source link

Fix uncatchable exception #27

Closed landrok closed 8 years ago

landrok commented 8 years ago

L116 } catch (Exception $e) { // can't be caught because CodeClimate\PHPMD\Exception does not exist Another way to fix this is: } catch (\Exception $e) {

wfleming commented 8 years ago

Thanks for this and the other PRs you opened @landrok: sorry they got missed and haven't been responded to yet. These all look like good catches, so I'm going to be merging them shortly. Thanks for the fixes!