Skip to content

Commit

Permalink
fix(CI): Bump psalm config
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Aug 7, 2023
1 parent 165ea47 commit adc40b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
4 changes: 3 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<psalm
errorLevel="4"
errorLevel="5"
findUnusedBaselineEntry="true"
findUnusedCode="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
29 changes: 3 additions & 26 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.7.0@d4377c0baf3ffbf0b1ec6998e8d1be2a40971005">
<files psalm-version="5.14.1@b9d355e0829c397b9b3b47d0c0ed042a8a70284d">
<file src="lib/CheckQuota.php">
<InvalidScalarArgument occurrences="5">
<code>$percentage</code>
<code>7</code>
<code>85</code>
<code>90</code>
<code>95</code>
</InvalidScalarArgument>
<UndefinedClass occurrences="1">
<UndefinedClass>
<code>\OC_Util</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="3">
<UndefinedInterfaceMethod>
<code>setHtmlBody</code>
<code>setPlainBody</code>
<code>setSubject</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/Notification/Notifier.php">
<InvalidScalarArgument occurrences="4">
<code>$usage</code>
<code>85</code>
<code>90</code>
<code>95</code>
</InvalidScalarArgument>
</file>
<file src="lib/Settings.php">
<InvalidScalarArgument occurrences="4">
<code>7</code>
<code>85</code>
<code>90</code>
<code>95</code>
</InvalidScalarArgument>
</file>
</files>

0 comments on commit adc40b1

Please sign in to comment.