psalm.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0"?>
  2. <psalm
  3. resolveFromConfigFile="true"
  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="src" />
  10. <ignoreFiles>
  11. <directory name="vendor" />
  12. </ignoreFiles>
  13. </projectFiles>
  14. <issueHandlers>
  15. <LessSpecificReturnType errorLevel="info" />
  16. <!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
  17. <DeprecatedMethod errorLevel="info" />
  18. <DeprecatedProperty errorLevel="info" />
  19. <DeprecatedClass errorLevel="info" />
  20. <DeprecatedConstant errorLevel="info" />
  21. <DeprecatedFunction 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. <PropertyNotSetInConstructor errorLevel="info" />
  32. <MissingConstructor errorLevel="info" />
  33. <MissingClosureParamType errorLevel="info" />
  34. <MissingParamType errorLevel="info" />
  35. <RedundantCondition errorLevel="info" />
  36. <DocblockTypeContradiction errorLevel="info" />
  37. <RedundantConditionGivenDocblockType errorLevel="info" />
  38. <UnresolvableInclude errorLevel="info" />
  39. <RawObjectIteration errorLevel="info" />
  40. <InvalidStringClass errorLevel="info" />
  41. </issueHandlers>
  42. </psalm>