token.php
Suspicious array access to bool
Open
Open
header("location: {$result['redirect']}");
- Exclude checks
Cannot access self
when not in object context Open
Open
\App\Controller\Headers::getInstance()->send();
- Exclude checks
Assigning float
to property but \App\Process::$startTime
is int
Open
Open
\App\Process::$startTime = microtime(true);
- Exclude checks
Call to method info
from undeclared class \App\Log
Open
Open
\App\Log::info($th->getMessage() . PHP_EOL . $th->__toString());
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
} catch (\Throwable $th) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo $message;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
\App\Log::info($th->getMessage() . PHP_EOL . $th->__toString());
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$request = \App\Request::init();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
throw new \App\Exceptions\Security('ERR_TOKEN_DOES_NOT_EXIST', 405);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($request->isEmpty('token')) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
throw new \App\Exceptions\AppException('ERR_NO_TOKEN', 405);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (isset($result['redirect'])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
header('location: install/Install.php');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$result = \App\Utils\Tokens::execute($token, $tokenData);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$tokenData = \App\Utils\Tokens::get($token);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$message = $th->getMessage();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ($th instanceof \App\Exceptions\AppException) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
try {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$message = $th->getDisplayMessage();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$token = $request->getByType('token', \App\Purifier::ALNUM);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (empty($tokenData)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
header("location: {$result['redirect']}");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks