Static code analysis finished.
Warnings of the static code analysis:
------ --------------------------------------------------------------------------------
Line src/Service/PasswordPathService.php
------ --------------------------------------------------------------------------------
27 Parameter $event of method
ImiDiPasswordProtectedPages\Service\PasswordPathService::checkPasswordInPath()
has invalid type
Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent.
61 Parameter $event of method
ImiDiPasswordProtectedPages\Service\PasswordPathService::checkAuthenticated()
has invalid type
Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent.
63 Class Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent was
not found while trying to analyse it - discovering symbols is
probably not configured properly.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
64 Class Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent was
not found while trying to analyse it - discovering symbols is
probably not configured properly.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
72 Parameter $event of method
ImiDiPasswordProtectedPages\Service\PasswordPathService::findNavigation()
has invalid type
Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent.
------ --------------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Storefront/Controller/PasswordPageController.php
------ -----------------------------------------------------------------------
37 Call of internal method Symfony\Component\HttpFoundation\Request::get
Please refrain from using methods which are annotated with @internal
in the Shopware 6 repository.
47 Call of internal method Symfony\Component\HttpFoundation\Request::get
Please refrain from using methods which are annotated with @internal
in the Shopware 6 repository.
------ -----------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Subscriber/CheckPasswordSubscriber.php
------ --------------------------------------------------------------------------------------
33 Class Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent not
found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
57 Parameter $event of method
ImiDiPasswordProtectedPages\Subscriber\CheckPasswordSubscriber::onCachedPageLoaded()
has invalid type
Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent.
60 Class Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent was
not found while trying to analyse it - discovering symbols is
probably not configured properly.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
62 Class Shopware\Storefront\Framework\Cache\Event\HttpCacheHitEvent was
not found while trying to analyse it - discovering symbols is
probably not configured properly.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ --------------------------------------------------------------------------------------
[ERROR] Found 11 errors