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
PHPCS: New Yoast.Commenting.FileComment sniff.
This sniff is a wrapper around the FileComment sniff used in WordPressCS and manages the slightly different requirements for file comments set for the Yoast organisation, in particular:
If a file is namespaced, no file comment is needed (and having one is discouraged).
PHPCS: New Yoast.Namespaces.NamespaceDeclaration sniff.
This sniff forbids the use of:
Namespace declarations without a namespace name, i.e. namespace; which in effect means "global namespace".