Fixed
-
Fix issue where XML files are incorrectly identified as PHP files
-
Fix issue where ternary operators are not always identified correctly
Before:
<?php $filter = $exclude ? function ($value, $key, $iterator) use ($exclude) : bool { return (bool) preg_match($exclude, $key); } : null;
After:
<?php $filter = $exclude ? function ($value, $key, $iterator) use ($exclude): bool { return (bool) preg_match($exclude, $key); } : null;