refinery29/sitemap

View on GitHub

Showing 4 of 4 total issues

Video has 36 functions (exceeds 20 allowed). Consider refactoring.
Open

final class Video implements VideoInterface
{
    /**
     * @var string
     */
Severity: Minor
Found in src/Component/Video/Video.php - About 4 hrs to fix

    VideoWriter has 22 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class VideoWriter
    {
        /**
         * @var PlayerLocationWriter
         */
    Severity: Minor
    Found in src/Writer/Video/VideoWriter.php - About 2 hrs to fix

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

              PlayerLocationWriter $playerLocationWriter = null,
              GalleryLocationWriter $galleryLocationWriter = null,
              RestrictionWriter $restrictionWriter = null,
              UploaderWriter $uploaderWriter = null,
              PlatformWriter $platformWriter = null,
      Severity: Major
      Found in src/Writer/Video/VideoWriter.php - About 50 mins to fix

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

                $thumbnailLocation,
                $title,
                $description,
                $contentLocation = null,
                PlayerLocationInterface $playerLocation = null
        Severity: Minor
        Found in src/Component/Video/Video.php - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language