YetiForceCompany/YetiForceCRM

View on GitHub
app/CronHandler.php

Summary

Maintainability
A
0 mins
Test Coverage
B
80%

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

     * @return bool
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

        $this->cronTask = $cronTask;
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * Check cron task timeout.
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     *
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * @return void
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /**
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    {
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    {
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

        return $this->logs;
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    }
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     *
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /**
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * Main function to execute task.
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     *
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    protected $cronTask;
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /** @var string Cron task logs. */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     *
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    public function updateLastActionTime(): void
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * @param \vtlib\Cron $cronTask
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    {
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    public function checkTimeout(): bool
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * @return void
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    }
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    {
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    }
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * @return string
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /**
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

        $this->cronTask->updateLastActionTime();
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /**
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

        return $this->cronTask->checkTimeout();
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    }
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * Get cron task logs.
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    public function getTaskLog(): string
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    protected $logs = '';
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    abstract public function process();
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     *
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /** @var \vtlib\Cron Cron task instance. */
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * Construct.
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    public function __construct(\vtlib\Cron $cronTask)
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

    /**
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

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

     * Update cron task last action time.
Severity: Minor
Found in app/CronHandler.php by phpcodesniffer

There are no issues that match your filters.

Category
Status