psalm.xml.dist 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0"?>
  2. <psalm
  3. errorLevel="4"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xmlns="https://getpsalm.org/schema/config"
  6. xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
  7. >
  8. <plugins>
  9. <pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
  10. <pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
  11. </plugins>
  12. <projectFiles>
  13. <ignoreFiles>
  14. <directory name="vendor"/>
  15. <!-- Deprecated classes, not worth fixing -->
  16. <file name="Command/ImportMappingDoctrineCommand.php"/>
  17. <file name="DependencyInjection/Compiler/WellKnownSchemaFilterPass.php"/>
  18. </ignoreFiles>
  19. <directory name="CacheWarmer"/>
  20. <directory name="Command"/>
  21. <directory name="Controller"/>
  22. <directory name="DataCollector"/>
  23. <directory name="Dbal"/>
  24. <directory name="DependencyInjection"/>
  25. <directory name="EventSubscriber"/>
  26. <directory name="Mapping"/>
  27. <directory name="Repository"/>
  28. <directory name="Tests"/>
  29. <directory name="Twig"/>
  30. <file name="ConnectionFactory.php"/>
  31. <file name="DoctrineBundle.php"/>
  32. <file name="ManagerConfigurator.php"/>
  33. <file name="Registry.php"/>
  34. </projectFiles>
  35. <issueHandlers>
  36. <TooManyTemplateParams>
  37. <errorLevel type="suppress">
  38. <!-- This happens on PHP 7.1 because there is no 7.1 compatible doctrine/orm version having template annotations -->
  39. <file name="Repository/ServiceEntityRepository.php"/>
  40. </errorLevel>
  41. </TooManyTemplateParams>
  42. </issueHandlers>
  43. </psalm>