Menu

#50 --exclude flag is not honoured

Fixed
nobody
None
Medium
Defect
2013-04-11
2013-04-04
Anonymous
No

Originally created by: TravisLa...@gmail.com

What steps will reproduce the problem?
1. Run PHPcheckStyle in a directory with multiple subdirectories containing php files
2. use the --exclude flag on a directory you don't want to check (A library your project is using for example)

Example Command:
php /var/lib/PHPCheckStyle-0.12.0/run.php --src ./ --exclude ./lib --outdir ./build/checkstyle_result --config default.cfg.xml --format xml --linecount --progress

What is the expected output? What do you see instead?
Should ignore all php files in the excluded directory, but it still processes those files as well and includes them in the report.

What version of the product are you using? On what operating system?
0.12.0

Related

Wiki: History

Discussion

  • Anonymous

    Anonymous - 2013-04-05

    Originally posted by: tch...@hotmail.com

    I have been able to reproduce the pb and I have commited a change.
    But I'm testing on Windows so I'm not 100% sure about the fix.

    Could you test with the lastest version from trunk and tell me if it's OK ?

    Thanks a lot.

    Status: Started

     
  • Anonymous

    Anonymous - 2013-04-11

    Originally posted by: TravisLa...@gmail.com

    Just checked out and ran, looks like it works fine now. Sorry for the slow confirmation, but you can close this issue now it looks like.

     
  • Anonymous

    Anonymous - 2013-04-11

    Originally posted by: tch...@hotmail.com

    No problem, thanks  ^^

    Status: Fixed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.