The helper "progress" is not defined #132

nnnikolay opened this Issue May 1, 2016 · 1 comment


None yet

2 participants



I've used phpcpd within phing long long time

<target name="phpcpd-dev"
                description="Copy/Paste Detector (CPD) for PHP code"
            <exec passthru="true"
                  command="${php.bin.path}/phpcpd --progress --ansi --fuzzy ${project.sitedir}" />

but recently I did an upgrade my project's dependencies and it seems phpcpd 2.0.4 was installed.
now it does not work :(

  The helper "progress" is not defined.                           

Sure it works If I'll get rid of --progress

I've checked phpcpd's composer.json and symfony/console is there..
Here is my project composer.json

    "require-dev": {
        "sebastian/phpcpd": "*",

I'm not sure is it a bug or not :)

@zdenekdrahos zdenekdrahos referenced this issue in EdgedesignCZ/phpqa May 7, 2016

Error with PhpCpd progress helper #19

tomzx commented May 13, 2016 edited

It appears this is already "fixed" in the master version (fixed by de90566).

@ 2.0.4

$progressHelper = $this->getHelperSet()->get('progress');

@ master

$progressBar = new ProgressBar($output, count($files));
@mario-naether mario-naether referenced this issue in EdgedesignCZ/phpqa Nov 30, 2016

phpcpd needs dev-master for --progress #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment