Page MenuHomePhabricator
Paste P1221

rough
ActivePublic

Authored by epriestley on Aug 2 2014, 8:11 AM.
Tags
None
Referenced Files
F185317: rough
Aug 2 2014, 8:11 AM
Subscribers
None
foreach (find all if nodes) {
if (first child is just a function/class exists call) {
$whitelist[$type][$name][] = array(first node id, last node id);
}
}
foreach (possible issues) {
foreach (whitelist[issue type][issue name] as $range) {
if ($issue node id in range) {
ignore issue;
}
}
}
raise remaining issues;

Event Timeline

epriestley changed the title of this paste from untitled to rough.
epriestley updated the paste's language from autodetect to autodetect.