Showing 662 of 662 total issues
Only one argument is allowed per line in a multi-line function call Open
Open
self::ERROR_NOT_RESOURCE_ENTITY, $relationship, $type
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
self::ERROR_NOT_ENTITY_COLLECTION, $relationship, $type
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
self::ACCESS_VIEW, $entity
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
self::ERROR_LINKS_CONTENT, $relationship
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
self::ERROR_ACTION_NOT_ALLOWED, implode(', ', $allowedMethods)
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
const ERROR_REFLECTION_EXPECTED_VALUE = "Sólo puede obtenerse la reflexión de una clase por su nombre o una instancia.",
- Exclude checks
Line exceeds 120 characters; contains 180 characters Open
Open
ERROR_NOT_ENTITY_COLLECTION = "The relationship \"%s\" contains a \"%s\", a collection of entities that implements Doctrine\\Common\\Collections\\Collection was expected.",
- Exclude checks
Inline control structures are not allowed Open
Open
if (!is_array($fieldTranslations)) continue;
- Exclude checks
Inline control structures are not allowed Open
Open
if (in_array($key, static::$reservedTopLevel)) continue;
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
ERROR_ACCESS_CONTROL_FILTER = "Access control voters are not being supported properly by corresponding query filters.";
- Exclude checks
Line exceeds 120 characters; contains 159 characters Open
Open
ERROR_LINK_ONLY_RELATIONSHIP = "The relationship \"%s\" cannot be included, possibly because of its size. You must fetch this resource by getting %s.",
- Exclude checks
Line exceeds 120 characters; contains 131 characters Open
Open
// @todo El TopLevelLinksSerializer debería ir primero, pero depende de que el LinkedResourcesSerializer arme el Document.
- Exclude checks
Inline control structures are not allowed Open
Open
if ($meta) $json['meta'] = $meta;
- Exclude checks
Inline control structures are not allowed Open
Open
if (!$resource->getMetadata()->hasRelationships()) continue;
- Exclude checks
Line exceeds 120 characters; contains 285 characters Open
Open
ERROR_ENTITIES_PER_RESOURCE = "The resource \"%s\" listed in the RAML doc matches the following entity class names: \"%s\". If you want to keep the short-names of these resource entities you need to map all but one of them to other resource types in the bundle configuration.";
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
ERROR_DUPLICATED_TRANSLATION = "Two or more translations were provided twice for the same field and locale in an entity.",
- Exclude checks
Inline control structures are not allowed Open
Open
if (NULL === $value || ('code' == $field && 0 == $value)) continue;
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
ERROR_UNSUPPORTED_CONTENT_TYPE = "The expected content type is \"%s\". The content type \"%s\" is not supported.";
- Exclude checks
Inline control structures are not allowed Open
Open
if (isset($map[$type])) return $map[$type];
- Exclude checks
Inline control structures are not allowed Open
Open
if (is_null($document->pagination->$key)) continue;
- Exclude checks