Menu

#77 How to exclude files/directories.

Fixed
nobody
None
Medium
Defect
2014-06-25
2014-06-24
Anonymous
No

Originally created by: mithesh....@clariontechnologies.co.in

I am running phpchkstyle/index.php using XAMPP on localhost. By this how can we exclude files or directories that does not need to be tested by PHPcheckstyle.
your help will be appreciable.

Related

Wiki: History

Discussion

  • Anonymous

    Anonymous - 2014-06-25

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

    OK, I need to add some parameters to the index page. This should be feasible.

    To exclude lines of code seems more complicated, I think I have another task with the same demande, not trated yet.

    Status: Accepted

     
  • Anonymous

    Anonymous - 2014-06-25

    Originally posted by: mithesh....@clariontechnologies.co.in

    Hey Thanks for your prompt reply.

    Actually I have code for excluding files or directories. Did some changes in index.php and runFromWeb.php. Its working absolutely fine.

    Following are the changes that I made -
    In index.php I added following code -
    '<p>Exclude Files or Directories
        <input type="text" id="excludeFile" name ="excludeFile" value=""></input><br/>
        <b>Enter Filenames or Directory names that needs to be excluded, names should be comma separated.</b>
        </p>'

    And in runFromWeb.php -
    instead of '$options['exclude'] = array()'

    'if ($_POST['excludeFile']!="") {
        $expFile = explode(',', $_POST['excludeFile']);
        $options['exclude'] = $expFile;
    }
    else {
        $options['exclude'] = array();
    }'

    But for lines of code, it seems more complicated.

     
  • Anonymous

    Anonymous - 2014-06-25

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

    Cool, I'll integrate your work as soon as I some spare time ^^

     
  • Anonymous

    Anonymous - 2014-06-25

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

    (No comment was entered for this change.)

    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.