gdbots/common-php

View on GitHub
src/Common/Util/URLUtils.php

Summary

Maintainability
A
3 hrs
Test Coverage

File URLUtils.php has 310 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace Gdbots\Common\Util;

final class URLUtils
Severity: Minor
Found in src/Common/Util/URLUtils.php - About 3 hrs to fix

    Inline control structures are not allowed
    Open

            if (!preg_match("/^(https?):\/\//", $url))
    Severity: Minor
    Found in src/Common/Util/URLUtils.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status