skqr/hateoas

View on GitHub

Showing 662 of 662 total issues

Expected 1 space after FUNCTION keyword; 0 found
Open

        array_walk($include, function(&$relationship) {
Severity: Minor
Found in JsonApi/Request/Parser.php by phpcodesniffer

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

    implements ValidationExceptionInterface

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

    {

There must be one USE keyword per declaration
Open

use IteratorAggregate, AppendIterator, Countable;
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

    {
Severity: Minor
Found in Entity/Mutator.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/Document.php by phpcodesniffer

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

            $this->wasCollection = TRUE;
Severity: Minor
Found in JsonApi/Document.php by phpcodesniffer

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

        $meta = NULL;
Severity: Minor
Found in JsonApi/Document.php by phpcodesniffer

There must be one USE keyword per declaration
Open

use GoIntegro\Hateoas\Metadata\Entity\MetadataCache,

Expected 1 space after FUNCTION keyword; 0 found
Open

        $callback = function(array $resource) use (&$byIds) {
Severity: Minor
Found in JsonApi/Merge/Blender.php by phpcodesniffer

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

        $resource = NULL;

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

        $data = NULL;

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

        return is_a($class, 'GoIntegro\\Hateoas\\JsonApi\\ResourceEntityInterface', TRUE);

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

    {

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

        Params $params, $schema, array &$entityData

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

        Request $request, $part = self::PRIMARY_RESOURCE_TYPE
Severity: Minor
Found in JsonApi/Request/Parser.php by phpcodesniffer

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

        return isset($path[$part]) ? $path[$part] : NULL;
Severity: Minor
Found in JsonApi/Request/Parser.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

        $callback = function($sort, $type) use (&$sorting) {
Severity: Minor
Found in JsonApi/Request/Parser.php by phpcodesniffer

Space found before closing bracket of FOREACH loop
Open

        foreach (
Severity
Category
Status
Source
Language