YetiForceCompany/YetiForceCRM

View on GitHub
file.php

Summary

Maintainability
A
0 mins
Test Coverage
F
40%

Call to method error from undeclared class \App\Log
Open

    \App\Log::error($e->getMessage() . ' => ' . $e->getFile() . ':' . $e->getLine());
Severity: Critical
Found in file.php by phan

Spaces must be used to indent lines; tabs are not allowed
Open

    $response->setError($e->getCode(), $e->getMessage(), $trace);
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $response->emit();
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $webUI->process(App\Request::init());
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $trace = '';
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $webUI = new App\Main\File();
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    if (\App\Config::debug('DISPLAY_EXCEPTION_BACKTRACE') && \is_object($e)) {
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $response->setEmitType(\Vtiger_Response::$EMIT_JSON);
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        $trace = str_replace(ROOT_DIRECTORY . DIRECTORY_SEPARATOR, '', $e->getTraceAsString());
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    \App\Log::error($e->getMessage() . ' => ' . $e->getFile() . ':' . $e->getLine());
Severity: Minor
Found in file.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $response = new \Vtiger_Response();
Severity: Minor
Found in file.php by phpcodesniffer

There are no issues that match your filters.

Category
Status