Skip to content

Commit

Permalink
fix(psalm): Enable findUnusedBaselineEntry
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Sep 23, 2024
1 parent 81216ed commit 7bf75b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: composer i

- name: Psalm taint analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis --ignore-baseline

- name: Upload Security Analysis results to GitHub
if: always()
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/update-psalm-baseline.yml

This file was deleted.

2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config"
errorBaseline="build/psalm-baseline.xml"
findUnusedBaselineEntry="false"
findUnusedBaselineEntry="true"
findUnusedCode="false"
phpVersion="8.0"
>
Expand Down

0 comments on commit 7bf75b9

Please sign in to comment.