You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB

3 years ago
  1. <?xml version="1.0"?>
  2. <psalm
  3. errorLevel="4"
  4. findUnusedVariablesAndParams="true"
  5. resolveFromConfigFile="true"
  6. useDocblockPropertyTypes="true"
  7. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8. xmlns="https://getpsalm.org/schema/config"
  9. xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
  10. errorBaseline="psalm-baseline.xml"
  11. >
  12. <projectFiles>
  13. <directory name="src"/>
  14. <ignoreFiles>
  15. <directory name="vendor" />
  16. </ignoreFiles>
  17. </projectFiles>
  18. <issueHandlers>
  19. <UndefinedInterfaceMethod>
  20. <errorLevel type="suppress">
  21. <file name="src/Solutions/SolutionTransformer.php" />
  22. </errorLevel>
  23. </UndefinedInterfaceMethod>
  24. <ForbiddenCode>
  25. <errorLevel type="suppress">
  26. <file name="src/SolutionProviders/MergeConflictSolutionProvider.php" />
  27. </errorLevel>
  28. </ForbiddenCode>
  29. <InvalidCast>
  30. <errorLevel type="suppress">
  31. <file name="src/DumpRecorder/DumpRecorder.php" />
  32. </errorLevel>
  33. </InvalidCast>
  34. <UndefinedClass>
  35. <errorLevel type="suppress">
  36. <file name="src/ErrorPage/ErrorPageViewModel.php" />
  37. </errorLevel>
  38. </UndefinedClass>
  39. <UnusedClosureParam>
  40. <errorLevel type="suppress">
  41. <file name="src/SolutionProviders/InvalidRouteActionSolutionProvider.php" />
  42. </errorLevel>
  43. </UnusedClosureParam>
  44. </issueHandlers>
  45. <plugins>
  46. <pluginClass class="Psalm\LaravelPlugin\Plugin"/>
  47. </plugins>
  48. </psalm>