psalm.xml 885 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0"?>
  2. <psalm
  3. name="Example Psalm config with recommended defaults"
  4. stopOnFirstError="false"
  5. useDocblockTypes="true"
  6. totallyTyped="false"
  7. requireVoidReturnType="false"
  8. >
  9. <projectFiles>
  10. <directory name="src" />
  11. </projectFiles>
  12. <issueHandlers>
  13. <LessSpecificReturnType errorLevel="info" />
  14. <!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
  15. <DeprecatedMethod errorLevel="info" />
  16. <MissingClosureReturnType errorLevel="info" />
  17. <MissingReturnType errorLevel="info" />
  18. <MissingPropertyType errorLevel="info" />
  19. <InvalidDocblock errorLevel="info" />
  20. <MisplacedRequiredParam errorLevel="info" />
  21. <PropertyNotSetInConstructor errorLevel="info" />
  22. <MissingConstructor errorLevel="info" />
  23. </issueHandlers>
  24. </psalm>