Showing 662 of 662 total issues
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
public function hasTopLevelLinks($type = NULL)
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
Open
if (FALSE === $position) {
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
Space found after opening bracket of FOREACH loop Open
Open
foreach (
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
EntityResource $resource, ResourceRelationship $relationship
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
$fields = NULL;
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
DocumentResource $resource, $relationship
- Exclude checks
The extends keyword must be on the same line as the class name Open
Open
extends ResourceCollection
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
$query, Result $result, array $facets, array $entities
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
There must be one USE keyword per declaration Open
Open
use IteratorAggregate, ArrayIterator, Countable;
- Exclude checks
Expected 1 space after FUNCTION keyword; 0 found Open
Open
$callback = function(array $serializedLinks) use (&$topLevelLinks) {
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
\ReflectionClass $class, array $params = []
- Exclude checks
There must be one USE keyword per declaration Open
Open
use GoIntegro\Hateoas\Metadata\Entity\MetadataCache,
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
$json = NULL;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
= $entityClass->getMethod('getRelationships')->invoke(NULL);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
public function stub($type, $subtype = NULL)
- Exclude checks
Multi-line function declarations must define one parameter per line Open
Open
$class, $type, $subtype, $kind, $name, $mappingField
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
Open
throw new TranslationException($message, NULL, $e);
- Exclude checks
Expected 1 space before "as"; 16 found Open
Open
foreach (
- Exclude checks