According to Shopware 6.4.13.0 upgrade instructions, EntityRepositoryInterface has been deprecated and should be replaced by EntityRepository. But EntityRepository is also marked as deprecated in my IDE, using the recommended development setup all upgraded to the latest versions:
- PhpStorm (2022.1.3 Build #PS-221.5921.28)
- Symfony Support plugin 2022.1.230
- Shopware plugin 4.4.3
- Shopware development setup cloned from github.com/shopware/development
- Shopware platform "6.4.9999999.9999999 Developer Version"
loaded and upgraded by
pshaccording tocomposer.jsonin development setup:
"require": {
"shopware/platform": "6.4.x@dev || dev-trunk"
Deprecation note in my PhpStorm IDE:

Class 'EntityRepository' is deprecated
class EntityRepository implements EntityRepositoryInterface \Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryDeprecated: 5.6.0 Namespace: \Shopware\Core\Framework\DataAbstractionLayer\
Source: development/vendor/shopware/platform/src/Core/Framework/DataAbstractionLayer/EntityRepository.php
How to handle the deprecation and what to use instead of EntityRepositoryInterface that will not be deprecated as well?
How to know if the IDE's deprecation notice can be safely ignored? I suppose that it can be ignored, as the mentioned version number "5.6.0" does not match any current or upcoming Shopware 6 release.
How to turn off misleading deprecation notices in my IDE?