grom358 / pharborist

A PHP library to query and transform source code via tree operations.
GNU General Public License v3.0
44 stars 10 forks source link

Made function, function call, and class filters variadic #156

Closed phenaproxima closed 10 years ago

phenaproxima commented 10 years ago

Filter::isFunction(), Filter::isFunctionCall(), and Filter::isClass() can now accept multiple arguments. Wrote tests for this (and the variadic functionality of Filter::isInstanceOf()) too.