forked from nextras/orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpstan.neon
11 lines (11 loc) · 939 Bytes
/
.phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
parameters:
ignoreErrors:
# https://github.com/phpstan/phpstan/issues/231
- '#Call to an undefined method Nextras\\Orm\\Mapper\\Dbal\\IPersistAutoupdateMapper::processAutoupdate\(\)#'
- '#Call to an undefined method Nextras\\Orm\\Mapper\\Dbal\\DbalMapper::getAutoupdateReselectExpression\(\)#'
- '#Method Nextras\\Orm\\Collection\\EntityIterator::current\(\) should return Nextras\\Orm\\Entity\\IEntity|null but returns Nextras\\Orm\\Entity\\IEntity|Nextras\\Orm\\Entity\\IEntityHasPreloadContainer#'
# missing phpstan-nette extension, not supported for phpstan-shim yet
- '#Call to an undefined method Nextras\\Orm\\Model\\Model::onFlush\(\)#'
- '#Call to an undefined method Nextras\\Orm\\Repository\\Repository::onFlush\(\)#'
# not convenient to mark every place with unnecessary check
- '#Accessing property \$\w+ on possibly null value of type Nextras\\Orm\\Entity\\Reflection\\PropertyRelationshipMetadata\|null#'