Skip to content

Commit e9d61eb

Browse files
authored
Merge pull request #60655 from nextcloud/chore-psalm-forbid-iconv
chore(psalm): forbid iconv
2 parents 9028d13 + b9f571a commit e9d61eb

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/static-code-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
- 'vendor-bin/**'
4444
- 'composer.json'
4545
- 'composer.lock'
46+
- 'psalm*.xml'
47+
- 'build/psalm-baseline*.xml'
4648
- '**.php'
4749
4850
static-code-analysis:

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
<file name="build/stubs/php-polyfill.php" />
134134
<file name="build/stubs/oca_talk_share_helper_shareapicontroller.php" />
135135
</stubs>
136+
<forbiddenFunctions>
137+
<function name="iconv"/>
138+
</forbiddenFunctions>
136139
<issueHandlers>
137140
<LessSpecificReturnStatement errorLevel="error"/>
138141
<LessSpecificReturnType errorLevel="error"/>

0 commit comments

Comments
 (0)