awesomemotive / wpforms-phpcs

PHP Coding Standards used by the WPForms team.
https://wpforms.com
GNU General Public License v2.0
12 stars 1 forks source link

Allow configuring base FQCN used in getFullyQualifiedClassName() #34

Open slaFFik opened 10 months ago

slaFFik commented 10 months ago

Right now WPForms is hardcoded:

https://github.com/awesomemotive/wpforms-phpcs/blob/67dde275736c463f9cb89b9fc98966cbb7713413/WPForms/Sniffs/BaseSniff.php#L221-L223

But in other products (like WPAuth) I will need to do the same thing - and currently, there is no way to configure that.