Remove code coverage ignore annotations

This commit is contained in:
Timothy Warren 2017-03-24 08:49:39 -04:00
parent 0c2cc0e32b
commit 51c26e6b30
4 changed files with 8 additions and 12 deletions

View File

@ -47,7 +47,7 @@ class Controller {
$this->config = $container->get('config');
$this->request = $container->get('request');
$this->response = $container->get('response');
$this->baseData = array_merge((array)$this->baseData, [
'url' => $auraUrlGenerator,
'urlGenerator' => $urlGenerator,
@ -94,7 +94,6 @@ class Controller {
/**
* Show the login form
*
* @codeCoverageIgnore
* @param string $status
* @return void
*/

View File

@ -26,7 +26,7 @@ use Aviat\Ion\View\{HtmlView, HttpView, JsonView};
use InvalidArgumentException;
trait ControllerTrait {
use ContainerAware;
/**
@ -80,7 +80,7 @@ trait ControllerTrait {
'other_type' => 'manga',
'menu_name' => ''
];
/**
* Redirect to the default controller/url from an empty path
*
@ -228,7 +228,7 @@ trait ControllerTrait {
$view->appendOutput($this->loadPartial($view, $template, $data));
$view->appendOutput($this->loadPartial($view, 'footer', $data));
}
/**
* 404 action
*
@ -270,17 +270,17 @@ trait ControllerTrait {
public function setFlashMessage($message, $type = "info")
{
static $messages;
if ( ! $messages)
{
$messages = [];
}
$messages[] = [
'message_type' => $type,
'message' => $message
];
$this->session->setFlash('message', $messages);
}
@ -300,7 +300,6 @@ trait ControllerTrait {
/**
* Add a message box to the page
*
* @codeCoverageIgnore
* @param HtmlView $view
* @param string $type
* @param string $message

View File

@ -106,7 +106,6 @@ class Dispatcher extends RoutingBase {
/**
* Handle the current route
*
* @codeCoverageIgnore
* @param object|null $route
* @return void
*/
@ -262,7 +261,7 @@ class Dispatcher extends RoutingBase {
// Run the appropriate controller method
$logger->debug('Dispatcher - controller arguments');
$logger->debug(print_r($params, TRUE));
call_user_func_array([$controller, $method], $params);
}

View File

@ -24,7 +24,6 @@ class API extends AbstractModel {
/**
* Sort the list entries by their title
*
* @codeCoverageIgnore
* @param array $array
* @param string $sortKey
* @return void