MinnPost/object-sync-for-salesforce

View on GitHub
classes/class-object-sync-sf-queue.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function schedule_cron( $timestamp, $cron_schedule, $hook, $args = array(), $group = '' ) {
Severity: Minor
Found in classes/class-object-sync-sf-queue.php - About 35 mins to fix

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

        public function schedule_recurring( $timestamp, $interval_in_seconds, $hook, $args = array(), $group = '' ) {
    Severity: Minor
    Found in classes/class-object-sync-sf-queue.php - About 35 mins to fix

      Avoid too many return statements within this method.
      Open

              return $this->schedulable_classes;
      Severity: Major
      Found in classes/class-object-sync-sf-queue.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status