Closed landrok closed 7 years ago
L124 } catch (Exception $e) { // can't be catched because CodeClimate\PHPMD\Exception does not exist Another way to fix this is: } catch (\Exception $e) {
} catch (Exception $e) { // can't be catched because CodeClimate\PHPMD\Exception does not exist
} catch (\Exception $e) {
Inappropriate because no namespace are defined
L124
} catch (Exception $e) { // can't be catched because CodeClimate\PHPMD\Exception does not exist
Another way to fix this is:} catch (\Exception $e) {