src/Uri.php

Summary

Maintainability
B
5 hrs
Test Coverage

Uri has 25 functions (exceeds 20 allowed). Consider refactoring.
Open

class Uri implements UriInterface
{
    /**
     * Uri scheme (without "://" suffix)
     *
Severity: Minor
Found in src/Uri.php - About 2 hrs to fix

    File Uri.php has 254 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    namespace Pluf\Http;
    
    use InvalidArgumentException;
    Severity: Minor
    Found in src/Uri.php - About 2 hrs to fix

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

              string $scheme,
              string $host,
              ?int $port = null,
              string $path = '/',
              string $query = '',
      Severity: Major
      Found in src/Uri.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status