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
I'd like to check that all hooks are correctly documented.
Such sniff is currently not included in any of the rulesets that we rely on. There is a project to introduce one in WPCS, but it's currently planned for a "future release".
I have tested the sniff WooCommerce.Commenting.CommentHooks from https://github.com/woocommerce/woocommerce-sniffs/ but all comments such as /** This filter is documented in... */ are reported as errors, which is a no go for us.
Maybe we could write our own sniff, mixing the best of the 2 existing works.
The text was updated successfully, but these errors were encountered:
I'd like to check that all hooks are correctly documented.
Such sniff is currently not included in any of the rulesets that we rely on. There is a project to introduce one in WPCS, but it's currently planned for a "future release".
I have tested the sniff
WooCommerce.Commenting.CommentHooks
from https://github.com/woocommerce/woocommerce-sniffs/ but all comments such as/** This filter is documented in... */
are reported as errors, which is a no go for us.Maybe we could write our own sniff, mixing the best of the 2 existing works.
The text was updated successfully, but these errors were encountered: