Description
Hi, I'm the implementer of the bootstrap file functionality. I discussed a little bit in #793 how we wanted to use it to be able to set some options prior to our running of the sniffs (for example, setting the $allowedTypes
class member.) Unfortunately, we ran into an issue given the fact that there's no relative way to set the bootstrap
file.
We ship our CodeSniffer configuration in its own repository: https://github.com/barracudanetworks/Cuda-PHP-Code-Standards/
We have dozens of repositories that use it (we include it as a submodule, or you can just clone it once and setup your editor to look at the main repository.) The issue is that we need a way to be able to define the bootstrap
file in the ruleset.xml
, but we have no way of knowing the user's system layout (Do you keep your repos in /home/jmaguire/repos
? /Users/jmaguire/repos
? /Users/jmaguire/Repositories
? What did you name the Cuda-PHP-Code-Standards
clone?)
It'd be great to get support for this.