-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan.neon
21 lines (21 loc) · 3.14 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
ignoreErrors:
- '#BBC\\ProgrammesPagesService\\Domain\\ValueObject\\Null\\Null[A-z]+::__construct\(\) does not call parent constructor from BBC\\ProgrammesPagesService\\Domain\\ValueObject\\[A-z]+.#'
- '#Method BBC\\ProgrammesPagesService\\Domain\\ApplicationTime::getLocalTimeZone\(\) should return DateTimeZone but returns DateTimeZone\|null.#'
- '#Method BBC\\ProgrammesPagesService\\Domain\\ApplicationTime::getTime\(\) should return DateTimeImmutable but returns DateTimeImmutable\|null.#'
- '#Method BBC\\ProgrammesPagesService\\Domain\\Entity\\RelatedLink::isExternal\(\) should return bool but returns bool\|null.#'
- '#Method BBC\\ProgrammesPagesService\\Domain\\Entity\\RelatedLink::getHost\(\) should return string but returns string\|null.#'
- '#Method BBC\\ProgrammesPagesService\\Mapper\\ProgrammesDbToDomain\\CategoryMapper::getGenreParentModel\(\) should return BBC\\ProgrammesPagesService\\Domain\\Entity\\Genre\|null but returns BBC\\ProgrammesPagesService\\Domain\\Entity\\Category.#'
- '#Method BBC\\ProgrammesPagesService\\Mapper\\ProgrammesDbToDomain\\MapperFactory::get[A-z]+Mapper\(\) should return BBC\\ProgrammesPagesService\\Mapper\\ProgrammesDbToDomain\\[A-z]+Mapper but returns BBC\\ProgrammesPagesService\\Mapper\\ProgrammesDbToDomain\\AbstractMapper.#'
- '#Method BBC\\ProgrammesPagesService\\Service\\ProgrammesAggregationService::findDescendantGalleries\(\) should return BBC\\ProgrammesPagesService\\Domain\\Entity\\Gallery\[\] but returns BBC\\ProgrammesPagesService\\Domain\\Entity\\CoreEntity\[\].#'
- '#Method BBC\\ProgrammesPagesService\\Service\\ProgrammesAggregationService::find[A-z]+\(\) should return BBC\\ProgrammesPagesService\\Domain\\Entity\\[A-z]+\[\] but returns BBC\\ProgrammesPagesService\\Domain\\Entity\\ProgrammeItem\[\].#'
- '#Parameter \#3 \$startAt of class BBC\\ProgrammesPagesService\\Domain\\Entity\\CollapsedBroadcast constructor expects DateTimeImmutable, DateTimeImmutable\|null given.#'
- '#Parameter \#4 \$endAt of class BBC\\ProgrammesPagesService\\Domain\\Entity\\CollapsedBroadcast constructor expects DateTimeImmutable, DateTimeImmutable\|null given.#'
- '#Parameter \#5 \$startAt of class BBC\\ProgrammesPagesService\\Domain\\Entity\\Broadcast constructor expects DateTimeImmutable, DateTimeImmutable\|null given.#'
- '#Parameter \#6 \$endAt of class BBC\\ProgrammesPagesService\\Domain\\Entity\\Broadcast constructor expects DateTimeImmutable, DateTimeImmutable\|null given.#'
- '#Calling method getParent\(\) on possibly null value of type BBC\\ProgrammesPagesService\\Domain\\Entity\\Genre\|null.#'
# PHPUnit ignores
- '#PHPUnit_Framework_MockObject_MockObject given.#'
- '#Call to an undefined method PHPUnit_Framework_MockObject_MockObject::#'
- '#Calling method setTimezone\(\) on possibly null value of type Cake\\Chronos\\Chronos\|null.#'
- '#Property Tests\\BBC\\ProgrammesPagesService\\Data\\ProgrammesDb\\Type\\UtcDateTimeTypeTest::\$type \(BBC\\ProgrammesPagesService\\Data\\ProgrammesDb\\Type\\UtcDateTimeType\) does not accept Doctrine\\DBAL\\Types\\Type.#'