Quantcast
Channel: Inspect Subdirectories of an Excluded Folder with PHP CodeSniffer - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by redanimalwar for Inspect Subdirectories of an Excluded Folder with...

TLTR; for your specific example:<exclude-pattern type="relative">^(?!cms/wp-content/plugins/myplugin).+</exclude-pattern>You can use regex in there but * will be used as .*Check out this...

View Article



Inspect Subdirectories of an Excluded Folder with PHP CodeSniffer

I am attempting to configure my phpcs.xml (PHP CodeSniffer configuration file) so that I can exclude all directories from inspection within a folder except for those that I specify.For those familiar...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images