skqr/hateoas

View on GitHub
Metadata/Resource/ResourceRelationship.php

Summary

Maintainability
A
45 mins
Test Coverage

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

        $class, $type, $subtype, $kind, $name, $mappingField
Severity: Minor
Found in Metadata/Resource/ResourceRelationship.php - About 45 mins to fix

    The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
    Open

        {

    Multi-line function declarations must define one parameter per line
    Open

            $class, $type, $subtype, $kind, $name, $mappingField

    Multi-line function declarations must define one parameter per line
    Open

            $class, $type, $subtype, $kind, $name, $mappingField

    Multi-line function declarations must define one parameter per line
    Open

            $class, $type, $subtype, $kind, $name, $mappingField

    Multi-line function declarations must define one parameter per line
    Open

            $class, $type, $subtype, $kind, $name, $mappingField

    Multi-line function declarations must define one parameter per line
    Open

            $class, $type, $subtype, $kind, $name, $mappingField

    There are no issues that match your filters.

    Category
    Status