Hi I currently working on php coding sniffer. We are using the ruleset.xml file in PHPStorm as well on our TeamCity buildserver. This works fine.
The last thing we wanted todo is to exclude 3th party libraries.
What is do know is that we should us the <exclude-pattern>
tag for this and
that we should escape the pattern differently for Linux and Windows.
What I do not understand is how to exclude a directory recursively. For example how do I exclude X,Y, Z and all the files in those directories?
- Library
- 3PartyStuff
- X
- Y
- Z
- Feeds
- Products
It seems that putting the whole path into the exclude tag does not work for me.