Skip to content

Commit 54bb110

Browse files
chore(psalm): forbid iconv
iconv transliteration is locale- and config-dependent; use UnicodeString::ascii() from symfony/string instead. Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
1 parent cbc8033 commit 54bb110

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
<file name="build/stubs/php-polyfill.php" />
131131
<file name="build/stubs/oca_talk_share_helper_shareapicontroller.php" />
132132
</stubs>
133+
<forbiddenFunctions>
134+
<function name="iconv"/>
135+
</forbiddenFunctions>
133136
<issueHandlers>
134137
<LessSpecificReturnStatement errorLevel="error"/>
135138
<LessSpecificReturnType errorLevel="error"/>

0 commit comments

Comments
 (0)