refinery29/sitemap

View on GitHub
src/Writer/Video/VideoWriter.php

Summary

Maintainability
A
3 hrs
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status