consistence / coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SlevomatCodingStandard.Exceptions.DeadCatch hangs for weird catch definition

VasekPurchart opened this issue · comments

I didn't know this was possible to write, but it actually works - omitting the whitespace between type definition and parameter name:

Minimal reproducible code:

<?php

try {

} catch (\Exception$e) {

}

Oops, wrong repo, moved: slevomat/coding-standard#155