protected function processDirective($test, $directive, $reason)
    {
        $test['severity'] = strtolower($directive) === 'skip' ? 'skipped' : 'todo';

        if (!empty($reason)) {
            if (!empty($test['message'])) {
                $test['message'] .= ', '.$test['severity'].': ';
            }
            $test['message'] .= $reason;
        }

        return $test;
    }
protected function processDirective($test, $directive, $reason)
    {
        $test['severity'] = strtolower($directive) === 'skip' ? 'skipped' : 'todo';

        if (!empty($reason)) {
            if (!empty($test['message'])) {
                $test['message'] .= ', '.$test['severity'].': ';
            }
            $test['message'] .= $reason;
        }

        return $test;
    }
protected function processDirective ( $ test , $ directive , $ reason ) { $ test [ 'severity' ] = strtolower ( $ directive ) === 'skip' ? 'skipped' : 'todo' ; if ( ! empty ( $ reason ) ) { if ( ! empty ( $ test [ 'message' ] ) ) { $ test [ 'message' ] .= ', ' . $ test [ 'severity' ] . ': ' ; } $ test [ 'message' ] .= $ reason ; } return $ test ; }
Process a TAP directive

@param array $test
@param string $directive
@param string $reason
@return array
Process a TAP directive