Last active
August 29, 2015 14:05
-
-
Save AmyStephen/2af10d0b45c13218c8b2 to your computer and use it in GitHub Desktop.
Creates @Covers statements for class methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$class = new ReflectionClass('Molajo\Controller\DateController'); | |
$methods = $class->getMethods(); | |
foreach ($methods as $method) { | |
echo ' * @covers ' . $method->class . '::' . $method->name . PHP_EOL; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment