gocodebox / lifterlms-cs

PHP_CodeSniffer rules for LifterLMS projects
MIT License
3 stars 4 forks source link

Remove `wordpress` exclusion pattern. #4

Closed pondermatic closed 3 years ago

pondermatic commented 3 years ago

Description

The wordpress exclusion pattern is no longer needed and prevents checking of files that have wordpress in their path. The current version of lifterlms-test installs WordPress into the tmp/tests/wordpress directory.

Fixes #3.

How has this been tested?

Windows 10 PHP 7.4

vendor\bin\phpcs -v

Before

Registering sniffs in the LifterLMS Core standard... DONE (257 sniffs registered)
Creating file list... DONE (0 files in queue)

After

Registering sniffs in the LifterLMS Core standard... DONE (257 sniffs registered)
Creating file list... DONE (743 files in queue)

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist: