Skip to content

Commit

Permalink
Update path exclusion structure in qodana.yaml (#29)
Browse files Browse the repository at this point in the history
The previous configuration of path exclusions in the qodana.yaml file produced an error during the yaml unmarshal process. The file has been refactored, structuring the excluded paths under a single "exclude" mapping key to prevent duplication and resolve the error.
  • Loading branch information
MarjovanLier authored Mar 2, 2024
1 parent 051778a commit f82a790
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions qodana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ version: "1.0"
linter: jetbrains/qodana-php:latest
profile:
name: qodana.recommended
exclude:
- name: All
paths:
- .phan/config.php
- phpmd.xml
- rector.php
- qodana.sarif.json

include:
- name: PhpVulnerablePathsInspection
- name: VulnerableLibrariesGlobal
Expand All @@ -33,7 +27,11 @@ php:
exclude:
- name: All
paths:
- .phan/config.php
- phpmd.xml
- rector.php
- qodana.sarif.json
- vendor
- vendor/
- vendor/*
- vendor/**
- vendor/**

0 comments on commit f82a790

Please sign in to comment.