|
@@ 1395-1399 (lines=5) @@
|
| 1392 |
|
|
| 1393 |
|
// If they have specified a list of sniffs to restrict to, check |
| 1394 |
|
// to see if this sniff is allowed. |
| 1395 |
|
if (empty($restrictions) === false |
| 1396 |
|
&& in_array(strtolower($className), $restrictions) === false |
| 1397 |
|
) { |
| 1398 |
|
continue; |
| 1399 |
|
} |
| 1400 |
|
|
| 1401 |
|
// If they have specified a list of sniffs to exclude, check |
| 1402 |
|
// to see if this sniff is allowed. |
|
@@ 1403-1407 (lines=5) @@
|
| 1400 |
|
|
| 1401 |
|
// If they have specified a list of sniffs to exclude, check |
| 1402 |
|
// to see if this sniff is allowed. |
| 1403 |
|
if (empty($exclusions) === false |
| 1404 |
|
&& in_array(strtolower($className), $exclusions) === true |
| 1405 |
|
) { |
| 1406 |
|
continue; |
| 1407 |
|
} |
| 1408 |
|
|
| 1409 |
|
include_once $file; |
| 1410 |
|
|