0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-25 12:55:43 +00:00

lint: add returnClientError and returnServerError to forbiddenFcuntions

This commit is contained in:
Dag 2025-08-05 20:52:59 +02:00
parent f11571ae78
commit 46f13ed23b

View File

@ -39,6 +39,8 @@
<properties> <properties>
<property name="forbiddenFunctions" type="array"> <property name="forbiddenFunctions" type="array">
<element key="sizeof" value="count"/> <element key="sizeof" value="count"/>
<element key="returnClientError" value="throwClientException"/>
<element key="returnServerError" value="throwServerException"/>
</property> </property>
</properties> </properties>
</rule> </rule>