dancryer / PHPCI

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

Problem with plugin: #1314

Closed Kostya950 closed 7 years ago

Kostya950 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 | new plugin | new feature | refactor | cosmetic Link to Intent to Implement: Link to Bug:

This pull request affects the following areas:

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

Detailed description of change: