flix-tech/schema-registry-php-client

View on GitHub
src/Exception/ExceptionMap.php

Summary

Maintainability
A
3 hrs
Test Coverage
A
98%

Avoid too many return statements within this method.
Open

                return new InvalidAvroSchemaException($errorMessage, $errorCode);
Severity: Major
Found in src/Exception/ExceptionMap.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return new VersionNotFoundException($errorMessage, $errorCode);
    Severity: Major
    Found in src/Exception/ExceptionMap.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return new InvalidVersionException($errorMessage, $errorCode);
      Severity: Major
      Found in src/Exception/ExceptionMap.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new SubjectNotFoundException($errorMessage, $errorCode);
        Severity: Major
        Found in src/Exception/ExceptionMap.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return new SchemaNotFoundException($errorMessage, $errorCode);
          Severity: Major
          Found in src/Exception/ExceptionMap.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return new InvalidCompatibilityLevelException($errorMessage, $errorCode);
            Severity: Major
            Found in src/Exception/ExceptionMap.php - About 30 mins to fix

              There are no issues that match your filters.

              Category
              Status