Skip to content

Instantly share code, notes, and snippets.

View martinschaepker's full-sized avatar

martinschaepker

View GitHub Profile
@martinschaepker
martinschaepker / testAllPublicFunctionTested
Last active August 29, 2015 14:19
get All not tested public methods
public function testAllPublicFunctionsTested()
{
$called= "App".substr( get_called_class(), 4, -4 );
$class = new \ReflectionClass( $called );
$traits = $class->getTraits();
foreach( $class->getMethods( ReflectionMethod::IS_PUBLIC ) as $methodObj )
{