A catch block should be considered a control statement, not a function. Otherwise, coder module reports "Functions should be called with no spaces between the function name" for catch (Exception $fault) {
| Comment | File | Size | Author |
|---|---|---|---|
| catch.patch | 1.15 KB | mfb |
Comments
Comment #1
douggreen commentedThanks! I didn't realize that php5 supported
try { } catch (...). With 6.x moving to php5 as a minimum requirement, I'm sure we'll see more of this...Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.