You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, since curl sometimes needs to be used, for example, when the multi_exec() is used and cannot be replaced by wp_remote_*, having a specific class like WordPress.WP.AlternativeFunctions.Curl to group all the curl functions would help to disable that sniff in a file. Otherwise a lot of phpcs:disable comments should be added.
I tried to seek a way to disable the sniffs with a "start-with" rule, but I didn't find it.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, since curl sometimes needs to be used, for example, when the
multi_exec()
is used and cannot be replaced bywp_remote_*
, having a specific class like WordPress.WP.AlternativeFunctions.Curl to group all the curl functions would help to disable that sniff in a file. Otherwise a lot ofphpcs:disable
comments should be added.I tried to seek a way to disable the sniffs with a "start-with" rule, but I didn't find it.
Thanks.
The text was updated successfully, but these errors were encountered: