Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ parameters:
-
message: '#Cannot assign new offset to string\.#'
path: src/JsonSchema/SchemaFactory.php
-
message: '#Instanceof between bool\|float\|int\|null and ArrayObject will always evaluate to false\.#'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add inline @phpstan-ignore-line comments in the file itself instead of using this file?

path: src/JsonApi/Serializer/ItemNormalizer.php
-
message: '#Instanceof between bool\|float\|int\|null and ArrayObject will always evaluate to false\.#'
path: src/Serializer/AbstractItemNormalizer.php

# Expected, due to optional interfaces
- '#Method ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Extension\\QueryCollectionExtensionInterface::applyToCollection\(\) invoked with 5 parameters, 3-4 required\.#'
Expand Down