psalm-ocp.xml 955 B

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0"?>
  2. <!--
  3. - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  4. - SPDX-License-Identifier: AGPL-3.0-or-later
  5. -->
  6. <psalm
  7. errorLevel="4"
  8. resolveFromConfigFile="true"
  9. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xmlns="https://getpsalm.org/schema/config"
  11. xsi:schemaLocation="https://getpsalm.org/schema/config"
  12. errorBaseline="build/psalm-baseline-ocp.xml"
  13. findUnusedBaselineEntry="false"
  14. findUnusedCode="false"
  15. >
  16. <plugins>
  17. <plugin filename="build/psalm/AppFrameworkTainter.php" />
  18. <plugin filename="build/psalm/OcpSinceChecker.php" />
  19. </plugins>
  20. <projectFiles>
  21. <directory name="lib/public"/>
  22. <ignoreFiles>
  23. <directory name="lib/composer/bin"/>
  24. </ignoreFiles>
  25. </projectFiles>
  26. <stubs>
  27. <file name="build/stubs/gd.php"/>
  28. <file name="build/stubs/ldap.php"/>
  29. <file name="build/stubs/psr_container.php"/>
  30. </stubs>
  31. <extraFiles>
  32. <directory name="3rdparty"/>
  33. </extraFiles>
  34. </psalm>