RobBrazier/Laravel_Piwik

View on GitHub
src/RobBrazier/Piwik/Module/LiveModule.php

Summary

Maintainability
A
1 hr
Test Coverage
A
93%

Method getParsedLastVisitsDetails has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function getParsedLastVisitsDetails(array $visits): array
    {
        $result = [];
        foreach ($visits as $visit) {
            $actionDetails = (array) $this->safeGetArrayEntry($visit, 'actionDetails');
Severity: Minor
Found in src/RobBrazier/Piwik/Module/LiveModule.php - About 1 hr to fix

    Saw possibly unextractable annotation for a fragment of comment '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, did not see an element name (will guess based on comment order)
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    Saw a token Phan may have failed to parse after '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, saw '['
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    Saw possibly unextractable annotation for a fragment of comment '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, did not see an element name (will guess based on comment order)
    Open

         * @param array[string]mixed $arguments   extra arguments to be passed to the api call

    Saw possibly unextractable annotation for a fragment of comment '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, did not see an element name (will guess based on comment order)
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    Saw a token Phan may have failed to parse after '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, saw '['
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    Saw a token Phan may have failed to parse after '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, saw '['
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    Saw a token Phan may have failed to parse after '* @return array[string]string[]': after array, saw '['
    Open

         * @return array[string]string[]

    Saw a token Phan may have failed to parse after '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, saw '['
    Open

         * @param array[string]mixed $arguments   extra arguments to be passed to the api call

    Saw possibly unextractable annotation for a fragment of comment '* @param array[string]mixed $arguments extra arguments to be passed to the api call': after array, did not see an element name (will guess based on comment order)
    Open

         * @param array[string]mixed $arguments extra arguments to be passed to the api call

    There are no issues that match your filters.

    Category
    Status