Fixed sniff registration when a hidden directory appears in the path.
Changelog + slight optimisation
Standards can now be located within hidden directories (further fix for bug #20323)
Merge branch 'master' into phpcs-fixer

Conflicts:
	package.xml