skqr/hateoas

View on GitHub

Showing 662 of 662 total issues

Space found before closing bracket of FOREACH loop
Open

        foreach (

Expected 1 space after FUNCTION keyword; 0 found
Open

        $add = function($param, $value, $type) use (&$filters) {

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

        Params $params, array $entities

There must be one USE keyword per declaration
Open

use GoIntegro\Hateoas\Metadata\Entity\MetadataCache,

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

        DocumentResource $resource = NULL, $key = NULL
Severity: Minor
Found in JsonApi/Document.php by phpcodesniffer

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

    {

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

        $ids = NULL;

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

        $resource = NULL;

Expected 1 space after FUNCTION keyword; 0 found
Open

        $callback = function($fields) {
Severity: Minor
Found in JsonApi/Request/Parser.php by phpcodesniffer

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

    {
Severity: Minor
Found in JsonApi/Merge/Blender.php by phpcodesniffer

The extends keyword must be on the same line as the class name
Open

    extends ArrayCollection

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

        array $collectionA, array $collectionB
Severity: Minor
Found in JsonApi/Merge/Blender.php by phpcodesniffer

There must be one USE keyword per declaration
Open

use Symfony\Component\HttpFoundation\Request,

The extends keyword must be on the same line as the class name
Open

    extends ResourceCollection

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

        $schema = NULL;

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

        $metadata = NULL;

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

        Request $request, Params $params, RequestAction $action)

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

        EntityResource $resource, ResourceRelationship $relationship

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

    {

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

    {
Severity
Category
Status
Source
Language