skqr/hateoas

View on GitHub
JsonApi/Merge/UnmergeableResourcesException.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    {

The closing brace for the class must go on the next line after the body
Open

}

TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
Open

        Exception $previous = NULL

Line exceeds 120 characters; contains 219 characters
Open

    const DEFAULT_MESSAGE = "The JSON-API documents cannot be merged. The most likely reason is that the parameters included an individual resource and a resource collection of the same type. E.g. /users and /users/1.";

There are no issues that match your filters.

Category
Status