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've had a quick initial look at this sniff with an eye on #552 / PHPCS 4.x.
Question: the sniff currently only examines JS files. Should it also examine JS in inline HTML/generated HTML in PHP files ? The latter would still be supported in PHPCS 4.x.
Review the
WordPressVIPMinimum.JS.Window
sniff for the following in as far as relevant to that sniff:Typical things to add tests for and verify correct handling of:
list
statementsTypical things to add tests for and verify correct handling of (where applicable):
::class
use function/const
Other:
Sniff basics, but changes need to be lined up for next major release:
public
properties (Audit Public Sniff Properties #234)Once PHPCS/PHPCSUtils supports this:
match
expressionsThe text was updated successfully, but these errors were encountered: