I've written sniffs that stimulate users always to use the short version of functions/objects/classes with namespaces. In simple words, use the use statements. Also, validate the list of use statements and detect them unnecessarily.
Motivation and Context
Fixes: #3
Testing procedure
[x] I added a test file to WPForms/Tests/TestedFiles/
Description
I've written sniffs that stimulate users always to use the short version of functions/objects/classes with namespaces. In simple words, use the
use
statements. Also, validate the list ofuse
statements and detect them unnecessarily.Motivation and Context
Fixes: #3
Testing procedure