skqr/hateoas

View on GitHub

Showing 662 of 662 total issues

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/Deleter.php by phpcodesniffer

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

        EntityResource $resource, ResourceRelationship $relationship

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

    public $wasCollection = FALSE;
Severity: Minor
Found in JsonApi/Document.php by phpcodesniffer

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

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

Expected 1 space after FUNCTION keyword; 0 found
Open

        $callback = function(array $itemList) use (&$flatList) {

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

    {

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/DefaultMutator.php by phpcodesniffer

There must be one USE keyword per declaration
Open

use Doctrine\ORM\EntityManagerInterface,
Severity: Minor
Found in Entity/DefaultBuilder.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/DefaultBuilder.php by phpcodesniffer

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

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

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

        array $resourceA, array $resourceB
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 ErrorException

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

        if (FALSE === $components) {
Severity: Minor
Found in Http/Url.php by phpcodesniffer

There must be one USE keyword per declaration
Open

use GoIntegro\Hateoas\JsonApi\DocumentPagination,

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

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

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

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

        DocumentResource $resource, array $fields = []

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

        $resource = NULL;
Severity
Category
Status
Source
Language