barracudanetworks/jobrunner

View on GitHub
src/JobDefinition.php

Summary

Maintainability
A
35 mins
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($class_name, $enabled = true, $run_time = null, $interval = 21600, $max_run_time = 172800)
Severity: Minor
Found in src/JobDefinition.php - About 35 mins to fix

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param \ReflectionClass $reflection
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param int $interval
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param int $max_run_time
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param int $last_run_time_start
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing file doc comment
    Open

    
    
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param bool $enabled
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param string $run_time
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param string $class_name
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing @return tag in function comment
    Open

         */
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    Missing parameter comment
    Open

         * @param int $last_run_time_finish
    Severity: Minor
    Found in src/JobDefinition.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status