railt/graphql

View on GitHub
src/Exception/ExpressionException.php

Summary

Maintainability
A
3 hrs
Test Coverage

ExpressionException has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class ExpressionException extends CompilationException
{
    public const CODE_UNPROCESSABLE = 0x01;
    public const CODE_UNDEFINED_VARIABLE = 0x02;
    public const CODE_ENUM_INVALID_TYPE = 0x03;
Severity: Minor
Found in src/Exception/ExpressionException.php - About 3 hrs to fix

    Avoid too many return statements within this method.
    Open

            return \get_debug_type($value);
    Severity: Major
    Found in src/Exception/ExpressionException.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status