dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 439 forks source link

problem with plugin PhpCpd #1304

Closed zsadmin closed 7 years ago

zsadmin commented 7 years ago

Problem with plugin: it sends the wrong command to ignore the files. When we ignore directory, we use --exclude path/dir_1 --exclude path/dir_2 --exclude path/dir_3 everything works correctly but when we want to exclude file - PhpCpd.php sends command like --names-exclude path/file_1 --names-exclude path/file_2 --names-exlcude path/file_3 and files will be scanned for copy/past, to ignore all three file we have to use command like --names-exclude file_1,file_2,file_3 without paths.

Contribution Type: bug fix

This pull request affects the following areas:

In raising this pull request, I confirm the following (please check boxes):

Detailed description of change: