vralfy / phpcsmd

Netbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
27 stars 6 forks source link

phpcpd must use one exclude for each folder #31

Closed fonsecas72 closed 11 years ago

fonsecas72 commented 11 years ago

with phpcpd you can't do

--exclude dir,dir2,dir3

instead you have to do

--exlude dir --exclude dir2 --exclude dir3

this issue may be usefull : https://github.com/sebastianbergmann/phpcpd/issues/48

vralfy commented 11 years ago

exclude parameter is glued correctly

jpetitcolas commented 10 years ago

You can also write something like:

phpcpd.phar --exclude={dir1,dir2,dir3} ~/myProject

Thanks @brikou for the tip. :)