However, in current implementation, the suffix argument is passed in this way: --suffix=*.php,*.myextension
PhpCpd is expecting this argument in this format: --suffix=.php --suffix=.myextension
This PR Updates the way this argument is passed to the PhpCpd command.
In PhpCpd 6.0.0 there're few changes in CLI options: https://github.com/sebastianbergmann/phpcpd/blob/master/ChangeLog.md#600---2020-08-13 which make GrumPHP failing.
However, in current implementation, the suffix argument is passed in this way:
--suffix=*.php,*.myextension
PhpCpd is expecting this argument in this format:--suffix=.php --suffix=.myextension
This PR Updates the way this argument is passed to the PhpCpd command.
Regards