psalm.xml.dist 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0"?>
  2. <psalm
  3. totallyTyped="false"
  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. <projectFiles>
  9. <directory name="lib" />
  10. <ignoreFiles>
  11. <directory name="vendor" />
  12. <directory name="lib/Doctrine/Common/Collections/Expr"/>
  13. </ignoreFiles>
  14. </projectFiles>
  15. <issueHandlers>
  16. <LessSpecificReturnType errorLevel="info" />
  17. <!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
  18. <DeprecatedMethod errorLevel="info" />
  19. <DeprecatedProperty errorLevel="info" />
  20. <DeprecatedClass errorLevel="info" />
  21. <DeprecatedConstant errorLevel="info" />
  22. <DeprecatedInterface errorLevel="info" />
  23. <DeprecatedTrait errorLevel="info" />
  24. <InternalMethod errorLevel="info" />
  25. <InternalProperty errorLevel="info" />
  26. <InternalClass errorLevel="info" />
  27. <MissingClosureReturnType errorLevel="info" />
  28. <MissingReturnType errorLevel="info" />
  29. <MissingPropertyType errorLevel="info" />
  30. <InvalidDocblock errorLevel="info" />
  31. <MisplacedRequiredParam errorLevel="info" />
  32. <PropertyNotSetInConstructor errorLevel="info" />
  33. <MissingConstructor errorLevel="info" />
  34. <MissingClosureParamType errorLevel="info" />
  35. <MissingParamType errorLevel="info" />
  36. <RedundantCondition errorLevel="info" />
  37. <DocblockTypeContradiction errorLevel="info" />
  38. <RedundantConditionGivenDocblockType errorLevel="info" />
  39. <UnresolvableInclude errorLevel="info" />
  40. <RawObjectIteration errorLevel="info" />
  41. <InvalidStringClass errorLevel="info" />
  42. </issueHandlers>
  43. </psalm>