mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 09:36:39 +02:00
lint: add returnClientError and returnServerError to forbiddenFcuntions (#4656)
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user