[Psalm] Improve configuration

This commit is contained in:
Kamil Kokot 2021-01-12 21:02:12 +01:00
parent f0df509e23
commit a419508ef4

View file

@ -89,14 +89,7 @@
<referencedClass name="Payum\Core\Action\GatewayAwareAction" />
<referencedClass name="Payum\Core\Security\GenericTokenFactoryInterface" />
<referencedClass name="Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface" />
<referencedClass name="Symfony\Bundle\FrameworkBundle\Controller\Controller" />
<referencedClass name="Symfony\Bundle\WebServerBundle\WebServerBundle" />
<referencedClass name="Symfony\Component\Intl\ResourceBundle\CurrencyBundleInterface" />
<referencedClass name="Symfony\Component\Intl\ResourceBundle\LanguageBundleInterface" />
<referencedClass name="Symfony\Component\Intl\ResourceBundle\LocaleBundleInterface" />
<referencedClass name="Symfony\Component\Intl\ResourceBundle\RegionBundleInterface" />
<referencedClass name="Symfony\Component\Routing\RouteCollectionBuilder" />
<referencedClass name="Symfony\Component\Security\Core\Role\Role" />
<referencedClass name="Symfony\Component\Routing\RouteCollectionBuilder" /> <!-- deprecated in Symfony 5.1 -->
<referencedClass name="Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler" /> <!-- deprecated in Symfony 5.1 -->
</errorLevel>
</DeprecatedClass>
@ -109,13 +102,7 @@
<DeprecatedMethod>
<errorLevel type="info">
<referencedMethod name="Payum\Core\Model\GatewayConfigInterface::setFactoryName" />
<referencedMethod name="Symfony\Component\EventDispatcher\Event::stopPropagation" />
<referencedMethod name="Symfony\Component\HttpFoundation\JsonResponse::create" />
<referencedMethod name="Symfony\Component\HttpKernel\Kernel::getRootDir" />
<referencedMethod name="Symfony\Component\Intl\Intl::getCurrencyBundle" />
<referencedMethod name="Symfony\Component\Intl\Intl::getLanguageBundle" />
<referencedMethod name="Symfony\Component\Intl\Intl::getLocaleBundle" />
<referencedMethod name="Symfony\Component\Intl\Intl::getRegionBundle" />
<referencedMethod name="Symfony\Component\HttpFoundation\JsonResponse::create" /> <!-- deprecated in Symfony 5.1 -->
</errorLevel>
</DeprecatedMethod>