francis94c/vimeo-livestream

View on GitHub

Showing 5 of 9 total issues

File LiveStream.php has 274 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace LiveStream;

use CURLFile;
Severity: Minor
Found in src/LiveStream/LiveStream.php - About 2 hrs to fix

    LiveStream has 21 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class LiveStream
    {
        /**
         * Live Stream API Base URL.
         */
    Severity: Minor
    Found in src/LiveStream/LiveStream.php - About 2 hrs to fix

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

            int $accountId,
            int $eventId,
            ?int $offsetPostId = null,
            ?int $older = null,
            ?int $newer = null
      Severity: Minor
      Found in src/LiveStream/LiveStream.php - About 35 mins to fix

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

                string $type,
                int $accountId,
                int $page,
                int $maxItems,
                string $order
        Severity: Minor
        Found in src/LiveStream/LiveStream.php - About 35 mins to fix

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

                  string $endpoint,
                  string $verb = 'get',
                  ?Resource $body = null,
                  ?array $query = null,
                  ?array $multipartFormData = null
          Severity: Minor
          Found in src/LiveStream/LiveStream.php - About 35 mins to fix
            Severity
            Category
            Status
            Source
            Language