mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
This PR was merged into the 1.13 branch. Discussion ---------- Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vimeo/psalm/releases">vimeo/psalm's releases</a>.</em></p> <blockquote> <h2>5.12.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Features</h3> <ul> <li>WIP - Limit inheritance to a subset of classes <a href="https://redirect.github.com/vimeo/psalm/issues/1450">#1450</a> by <a href="https://github.com/robchett"><code>@robchett</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9687">vimeo/psalm#9687</a></li> <li>UnsupportedPropertyReferenceUsage by <a href="https://github.com/jack-worman"><code>@jack-worman</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9769">vimeo/psalm#9769</a></li> <li>Improve return types of pow() by <a href="https://github.com/robchett"><code>@robchett</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9795">vimeo/psalm#9795</a></li> <li>Narrow the type of $haystack when strpos(...) !== false by <a href="https://github.com/robchett"><code>@robchett</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9788">vimeo/psalm#9788</a></li> <li>allow using more than 8G of memory in psalter by <a href="https://github.com/orklah"><code>@orklah</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9805">vimeo/psalm#9805</a></li> </ul> <h3>Fixes</h3> <ul> <li>Fix missing global class type when scanning cached files by <a href="https://github.com/tscni"><code>@tscni</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9735">vimeo/psalm#9735</a></li> <li>Fix union argument type check against templated param by <a href="https://github.com/klimick"><code>@klimick</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9750">vimeo/psalm#9750</a></li> <li>Allow dynamic properties from PHPDoc by <a href="https://github.com/fluffycondor"><code>@fluffycondor</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9742">vimeo/psalm#9742</a></li> <li>improve glob stubs by <a href="https://github.com/kkmuffme"><code>@kkmuffme</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9752">vimeo/psalm#9752</a></li> <li>Removed return type false from date and gmdate by <a href="https://github.com/Alkisum"><code>@Alkisum</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9761">vimeo/psalm#9761</a></li> <li>methods and vars cannot be falsy by <a href="https://github.com/kkmuffme"><code>@kkmuffme</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9796">vimeo/psalm#9796</a></li> <li>fix offset for type param changes by <a href="https://github.com/orklah"><code>@orklah</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9803">vimeo/psalm#9803</a></li> </ul> <h3>Docs</h3> <ul> <li>Documented suggestions for HTML user input by <a href="https://github.com/mmcev106"><code>@mmcev106</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9780">vimeo/psalm#9780</a></li> <li>Document array shape unsealing syntax by <a href="https://github.com/robchett"><code>@robchett</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9784">vimeo/psalm#9784</a></li> </ul> <h3>Internal changes</h3> <ul> <li>Enable opcache if it is installed by <a href="https://github.com/danog"><code>@danog</code></a> in <a href="https://redirect.github.com/vimeo/psalm/pull/9779">vimeo/psalm#9779</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tscni"><code>@tscni</code></a> made their first contribution in <a href="https://redirect.github.com/vimeo/psalm/pull/9735">vimeo/psalm#9735</a></li> <li><a href="https://github.com/Alkisum"><code>@Alkisum</code></a> made their first contribution in <a href="https://redirect.github.com/vimeo/psalm/pull/9761">vimeo/psalm#9761</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/vimeo/psalm/compare/5.11.0...5.12.0">https://github.com/vimeo/psalm/compare/5.11.0...5.12.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f90118cdea"><code>f90118c</code></a> Merge pull request <a href="https://redirect.github.com/vimeo/psalm/issues/9805">#9805</a> from orklah/memory-psalter</li> <li><a href="f65d53f32e"><code>f65d53f</code></a> fix CS</li> <li><a href="d23616cafa"><code>d23616c</code></a> allow using more than 8G of memory in psalter</li> <li><a href="cb34901246"><code>cb34901</code></a> Merge pull request <a href="https://redirect.github.com/vimeo/psalm/issues/9803">#9803</a> from orklah/zefzef</li> <li><a href="ed94de5146"><code>ed94de5</code></a> fix offset for type param changes</li> <li><a href="22fd6fb9db"><code>22fd6fb</code></a> Merge pull request <a href="https://redirect.github.com/vimeo/psalm/issues/9788">#9788</a> from robchett/strpos_stripos_assert_non_empty</li> <li><a href="bd0ba6ee95"><code>bd0ba6e</code></a> Narrow the type of haystack when strpos != false</li> <li><a href="0221ff1836"><code>0221ff1</code></a> Merge pull request <a href="https://redirect.github.com/vimeo/psalm/issues/9796">#9796</a> from kkmuffme/get_class_methods-vars-non-empty-string</li> <li><a href="e23db18f6b"><code>e23db18</code></a> methods and vars cannot be falsy</li> <li><a href="69589ebe83"><code>69589eb</code></a> Merge pull request <a href="https://redirect.github.com/vimeo/psalm/issues/9795">#9795</a> from robchett/powReturnTypeProvider</li> <li>Additional commits viewable in <a href="https://github.com/vimeo/psalm/compare/5.9.0...5.12.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Commits ------- Update vimeo/psalm requirement from 5.9.* to 5.12.* Add a weirdan/doctrine-psalm-plugin package
305 lines
18 KiB
XML
305 lines
18 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
errorLevel="2"
|
|
findUnusedBaselineEntry="false"
|
|
findUnusedCode="false"
|
|
reportMixedIssues="false"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="https://getpsalm.org/schema/config"
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
|
>
|
|
<projectFiles>
|
|
<directory name="src" />
|
|
<ignoreFiles>
|
|
<file name="src/Sylius/Bundle/CoreBundle/Application/Kernel.php" />
|
|
<file name="src/Sylius/Bundle/ApiBundle/ApiPlatform/Bridge/Symfony/Bundle/Action/SwaggerUiAction.php" />
|
|
|
|
<directory name="src/Sylius/Behat" />
|
|
|
|
<directory name="src/Sylius/Bundle/*/spec" />
|
|
<directory name="src/Sylius/Bundle/*/test" />
|
|
<directory name="src/Sylius/Bundle/*/Tests" />
|
|
|
|
<directory name="src/Sylius/Component/*/spec" />
|
|
|
|
<directory name="vendor" />
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<UndefinedDocblockClass>
|
|
<errorLevel type="suppress">
|
|
<referencedClass name="UnitEnum" />
|
|
</errorLevel>
|
|
</UndefinedDocblockClass>
|
|
|
|
<!-- level 3 issues - slightly lazy code writing, but probably low false-negatives -->
|
|
|
|
<DeprecatedClass>
|
|
<errorLevel type="info">
|
|
<referencedClass name="ApiPlatform\Core\Metadata\Extractor\XmlExtractor" /> <!-- deprecated in ApiPlatform 2.7 -->
|
|
<referencedClass name="Http\Message\MessageFactory" /> <!-- deprecated in HttpMessage 1.1 -->
|
|
<referencedClass name="Payum\Core\Action\GatewayAwareAction" />
|
|
<referencedClass name="Payum\Core\Security\GenericTokenFactoryInterface" />
|
|
<referencedClass name="Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface" />
|
|
<referencedClass name="Sylius\Bundle\CoreBundle\Templating\Helper\ProductVariantsPricesHelper" />
|
|
<referencedClass name="Sylius\Bundle\CoreBundle\Twig\ProductVariantsPricesExtension" />
|
|
<referencedClass name="Sylius\Bundle\UserBundle\Security\UserPasswordEncoder"/>
|
|
<referencedClass name="Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface" />
|
|
<referencedClass name="Sylius\Component\User\Security\UserPasswordEncoderInterface" />
|
|
<referencedClass name="Symfony\Component\HttpFoundation\RequestMatcher" /> <!-- deprecated in Symfony 6.2 -->
|
|
<referencedClass name="Symfony\Component\Routing\RouteCollectionBuilder" /> <!-- deprecated in Symfony 5.1 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\EncoderAwareInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Exception\UsernameNotFoundException" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler" /> <!-- deprecated in Symfony 5.1 -->
|
|
<referencedClass name="Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface" /> <!-- deprecated in Symfony 6.3 -->
|
|
<referencedClass name="Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" /> <!-- deprecated in Symfony 6.1, probably a bug in psalm, as this is referenced as DeprecatedClass, not an interface -->
|
|
</errorLevel>
|
|
</DeprecatedClass>
|
|
|
|
<DeprecatedInterface>
|
|
<errorLevel type="info">
|
|
<referencedClass name="Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface" />
|
|
<referencedClass name="Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface" />
|
|
<referencedClass name="Sylius\Component\User\Security\UserPasswordEncoderInterface" />
|
|
<referencedClass name="Symfony\Component\Messenger\Handler\MessageHandlerInterface" /> <!-- deprecated in Symfony 6.2 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\EncoderAwareInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface" /> <!-- deprecated in Symfony 5.1 -->
|
|
<referencedClass name="Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface" /> <!-- deprecated in Symfony 6.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedClass name="Symfony\Component\Serializer\Normalizer\ContextAwareDenormalizerInterface" /> <!-- deprecated in Symfony 6.1 -->
|
|
<referencedClass name="Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" /> <!-- deprecated in Symfony 6.1 -->
|
|
<referencedClass name="Http\Message\MessageFactory" /> <!-- Deprecated in Http\Message 1.1 -->
|
|
<referencedClass name="Payum\Core\Security\GenericTokenFactoryInterface" /> <!-- deprecated in Payum 1.3.7 -->
|
|
</errorLevel>
|
|
</DeprecatedInterface>
|
|
|
|
<DeprecatedMethod>
|
|
<errorLevel type="info">
|
|
<referencedMethod name="Faker\Generator::__get"/>
|
|
<referencedMethod name="Payum\Core\Model\GatewayConfigInterface::setFactoryName" />
|
|
<referencedMethod name="Sylius\Component\Mailer\Sender\SenderInterface::send"/>
|
|
<referencedMethod name="Symfony\Component\HttpFoundation\JsonResponse::create" /> <!-- deprecated in Symfony 5.1 -->
|
|
<referencedMethod name="Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedMethod name="Symfony\Component\Security\Core\Authentication\Token\AbstractToken::isAuthenticated" /> <!-- deprecated in Symfony 5.4 -->
|
|
<referencedMethod name="Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getUsername" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedMethod name="Symfony\Component\Security\Core\User\UserInterface::getUsername" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedMethod name="Symfony\Component\Security\Core\User\UserProviderInterface::loadUserByUsername" /> <!-- deprecated in Symfony 5.3 -->
|
|
<referencedMethod name="Symfony\Component\Security\Core\Authentication\Token\AbstractToken::isAuthenticated" /> <!-- deprecated in Symfony 5.4 -->
|
|
</errorLevel>
|
|
</DeprecatedMethod>
|
|
|
|
<InternalMethod>
|
|
<errorLevel type="info">
|
|
<referencedMethod name="PHPUnit\Framework\TestCase::__construct" />
|
|
<referencedMethod name="Symfony\Bundle\SecurityBundle\Security\_FirewallMap::getFirewallConfig" />
|
|
<referencedMethod name="ApiPlatform\Core\Util\RequestParser::getQueryString" />
|
|
<referencedMethod name="ApiPlatform\Util\RequestParser::getQueryString" />
|
|
<referencedMethod name="ApiPlatform\Core\Util\RequestParser::parseRequestParams" />
|
|
<referencedMethod name="ApiPlatform\Util\RequestParser::parseRequestParams" />
|
|
</errorLevel>
|
|
</InternalMethod>
|
|
|
|
<InternalClass>
|
|
<errorLevel type="info">
|
|
<referencedClass name="ApiPlatform\Core\Util\RequestParser" />
|
|
</errorLevel>
|
|
</InternalClass>
|
|
|
|
<InvalidCast>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Bundle/ApiBundle/Converter/IriToIdentifierConverter.php" />
|
|
</errorLevel>
|
|
</InvalidCast>
|
|
|
|
<InvalidDocblock>
|
|
<errorLevel type="info">
|
|
<file name="vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php" />
|
|
</errorLevel>
|
|
</InvalidDocblock>
|
|
|
|
<InvalidOperand>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Bundle/AdminBundle/MessageHandler/CreateAdminUserHandler.php" />
|
|
</errorLevel>
|
|
</InvalidOperand>
|
|
|
|
<InvalidPropertyAssignmentValue>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Bundle/UiBundle/DataCollector/TemplateBlockRenderingHistory.php" />
|
|
</errorLevel>
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<RedundantCast>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Bundle/ApiBundle/Converter/IriToIdentifierConverter.php" />
|
|
</errorLevel>
|
|
</RedundantCast>
|
|
|
|
<UndefinedMethod>
|
|
<errorLevel type="suppress">
|
|
<referencedMethod name="Symfony\Component\HttpFoundation\RequestStack::getSession" />
|
|
<referencedMethod name="Symfony\Component\HttpKernel\Event\RequestEvent::isMasterRequest" />
|
|
<referencedMethod name="Symfony\Component\HttpKernel\Event\ExceptionEvent::isMasterRequest" />
|
|
<referencedMethod name="Symfony\Component\HttpKernel\Event\ResponseEvent::isMasterRequest" />
|
|
</errorLevel>
|
|
</UndefinedMethod>
|
|
|
|
<UndefinedInterfaceMethod>
|
|
<errorLevel type="suppress">
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::arrayNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::booleanNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::end" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::integerNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::variableNode" />
|
|
<referencedMethod name="Symfony\Component\Security\Core\User\UserInterface::getPassword" />
|
|
<referencedMethod name="Symfony\Component\Security\Core\User\UserInterface::getUsername" />
|
|
<referencedMethod name="Sylius\Component\User\Model\UserInterface::getUsername" />
|
|
<referencedMethod name="Sylius\Component\Core\Model\ShopUserInterface::getUsername" />
|
|
</errorLevel>
|
|
</UndefinedInterfaceMethod>
|
|
|
|
<MissingReturnType errorLevel="info" />
|
|
|
|
<MissingTemplateParam>
|
|
<errorLevel type="suppress">
|
|
<file name="src/Sylius/Bundle/CoreBundle/Form/DataTransformer/ProductTaxonToTaxonTransformer.php" />
|
|
<file name="src/Sylius/Bundle/CoreBundle/Form/DataTransformer/ProductVariantsToCodesTransformer.php" />
|
|
<file name="src/Sylius/Bundle/CoreBundle/Form/DataTransformer/ProductsToCodesTransformer.php" />
|
|
<file name="src/Sylius/Bundle/CoreBundle/Form/DataTransformer/TaxonsToCodesTransformer.php" />
|
|
<file name="src/Sylius/Bundle/ProductBundle/Form/DataTransformer/ProductVariantToProductOptionsTransformer.php" />
|
|
<file name="src/Sylius/Bundle/ProductBundle/Form/DataTransformer/ProductsToProductAssociationsTransformer.php" />
|
|
<file name="src/Sylius/Bundle/PromotionBundle/Form/Type/PromotionCouponToCodeType.php" />
|
|
<file name="src/Sylius/Bundle/UserBundle/Form/UserVerifiedAtToBooleanTransformer.php" />
|
|
</errorLevel>
|
|
</MissingTemplateParam>
|
|
|
|
<PropertyNotSetInConstructor errorLevel="info" />
|
|
<MissingConstructor>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Bundle/CoreBundle/Application/SyliusPluginTrait.php" />
|
|
</errorLevel>
|
|
</MissingConstructor>
|
|
<MissingParamType errorLevel="info" />
|
|
|
|
<DuplicateClass>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Component/User/Model/CredentialsHolderInterface.php" />
|
|
</errorLevel>
|
|
</DuplicateClass>
|
|
|
|
<RedundantConditionGivenDocblockType errorLevel="info" />
|
|
|
|
<!-- level 4 issues - points to possible deficiencies in logic, higher false-positives -->
|
|
|
|
<MoreSpecificReturnType errorLevel="info" />
|
|
<LessSpecificReturnStatement errorLevel="info" />
|
|
<ArgumentTypeCoercion errorLevel="info" />
|
|
<PropertyTypeCoercion errorLevel="info" />
|
|
|
|
<PossiblyInvalidArgument errorLevel="info" />
|
|
<PossiblyInvalidArrayAccess errorLevel="info" />
|
|
<PossiblyInvalidArrayAssignment errorLevel="info" />
|
|
<PossiblyInvalidArrayOffset errorLevel="info" />
|
|
<PossiblyInvalidCast errorLevel="info" />
|
|
<PossiblyInvalidFunctionCall errorLevel="info" />
|
|
<PossiblyInvalidIterator errorLevel="info" />
|
|
<PossiblyInvalidMethodCall errorLevel="info" />
|
|
<PossiblyInvalidOperand errorLevel="info" />
|
|
<PossiblyInvalidPropertyAssignment errorLevel="info" />
|
|
<PossiblyInvalidPropertyAssignmentValue errorLevel="info" />
|
|
<PossiblyInvalidPropertyFetch errorLevel="info" />
|
|
<PossiblyNullArgument errorLevel="info" />
|
|
<PossiblyNullArrayAccess errorLevel="info" />
|
|
<PossiblyNullArrayAssignment errorLevel="info" />
|
|
<PossiblyNullArrayOffset errorLevel="info" />
|
|
<PossiblyNullFunctionCall errorLevel="info" />
|
|
<PossiblyNullIterator errorLevel="info" />
|
|
<PossiblyNullOperand errorLevel="info" />
|
|
<PossiblyNullPropertyAssignment errorLevel="info" />
|
|
<PossiblyNullPropertyAssignmentValue errorLevel="info" />
|
|
<PossiblyNullPropertyFetch errorLevel="info" />
|
|
<PossiblyNullReference errorLevel="info" />
|
|
<PossiblyUndefinedMethod>
|
|
<errorLevel type="info">
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::arrayNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::booleanNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::children" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::integerNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::scalarNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::variableNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::end" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::arrayNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::booleanNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::children" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::integerNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::scalarNode" />
|
|
<referencedMethod name="Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::variableNode" />
|
|
</errorLevel>
|
|
</PossiblyUndefinedMethod>
|
|
|
|
<!-- level 5 issues - should be avoided at mosts costs... -->
|
|
|
|
<TooManyArguments>
|
|
<errorLevel type="info">
|
|
<referencedFunction name="Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch" />
|
|
<referencedFunction name="Symfony\Component\HttpKernel\Config\FileLocator::__construct" />
|
|
<referencedFunction name="Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch" />
|
|
<referencedFunction name="Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::__construct" /> <!-- removed parameter in Symfony 5.4 -->
|
|
</errorLevel>
|
|
<errorLevel type="suppress">
|
|
<referencedFunction name="Doctrine\ORM\Query\Expr::andX" />
|
|
<referencedFunction name="Doctrine\ORM\Query\Expr::orX" />
|
|
<referencedFunction name="Symfony\Component\PasswordHasher\PasswordHasherInterface::hash" />
|
|
</errorLevel>
|
|
</TooManyArguments>
|
|
<UndefinedClass>
|
|
<errorLevel type="info">
|
|
<referencedClass name="Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" />
|
|
</errorLevel>
|
|
</UndefinedClass>
|
|
|
|
<!-- level 6 issues - really bad things -->
|
|
|
|
<InvalidNullableReturnType errorLevel="info" />
|
|
<NullableReturnStatement errorLevel="info" />
|
|
<InvalidFalsableReturnType errorLevel="info" />
|
|
<FalsableReturnStatement errorLevel="info" />
|
|
|
|
<MoreSpecificImplementedParamType errorLevel="info" />
|
|
<LessSpecificImplementedReturnType errorLevel="info" />
|
|
|
|
<!-- level 7 issues - even worse -->
|
|
|
|
<InvalidArgument>
|
|
<errorLevel type="info">
|
|
<referencedFunction name="Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch" />
|
|
<referencedFunction name="SyliusLabs\AssociationHydrator\AssociationHydrator::__construct" />
|
|
<referencedFunction name="Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::__construct" />
|
|
</errorLevel>
|
|
</InvalidArgument>
|
|
|
|
<!-- level 8 issues - some fatal errors in PHP -->
|
|
|
|
<MethodSignatureMismatch errorLevel="info" />
|
|
|
|
<InvalidStringClass>
|
|
<errorLevel type="info">
|
|
<file name="src/Sylius/Component/Core/Factory/ChannelPricingLogEntryFactory.php" />
|
|
</errorLevel>
|
|
</InvalidStringClass>
|
|
</issueHandlers>
|
|
|
|
<stubs>
|
|
<file name="etc/psalm/LaminasPriorityQueueStub.php" />
|
|
</stubs>
|
|
|
|
<plugins>
|
|
<pluginClass class="Psalm\MockeryPlugin\Plugin" />
|
|
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin" />
|
|
</plugins>
|
|
</psalm>
|