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 c15e241 commit 4800215
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 123 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 @@ -66,7 +66,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
52 changes: 0 additions & 52 deletions .github/workflows/update-psalm-baseline-approve-merge.yml

This file was deleted.

69 changes: 0 additions & 69 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 @@ -10,7 +10,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.1"
>
Expand Down

0 comments on commit 4800215

Please sign in to comment.