You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like phpcs, it would be good if we could have an argument like --filelist blabla.txt or something. From phpcs documentation: "A file containing a list of files and/or directories to check (one per line)".
I have a project at the moment and i only need to scan one folder.. but to do that, i need a huge string of excludes for the CLI. A filelist would be better and more dynamic
The text was updated successfully, but these errors were encountered:
Thanks for the idea, I think it can be useful to have it as an option.
But if I read your message correct you only need to use the folders in one directory, if that is correct you can give PHPMD that path. As example: phpmd your/directory text cleancode
Are you able to create a PR for this functionality?
i actually have more than the folders in one directory and use the way you describe. The file-list would be cleaner however. The readability in our CI is quite bad if i have so long arguments and it would also be easier to do a copy and past for other projects. Another benefit would be, that devs dont have the rights to change the CI options and I need to do it for them all the time. With a file-list, they could do it on their own.
Just like phpcs, it would be good if we could have an argument like --filelist blabla.txt or something. From phpcs documentation: "A file containing a list of files and/or directories to check (one per line)".
I have a project at the moment and i only need to scan one folder.. but to do that, i need a huge string of excludes for the CLI. A filelist would be better and more dynamic
The text was updated successfully, but these errors were encountered: