Subversion Repositories Applications.framework

Rev

Rev 5 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 aurelien 1
<?php
2
/**
3
 * Represents a PHP_CodeSniffer sniff for sniffing coding standards.
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PHP_CodeSniffer
9
 * @author    Greg Sherwood <gsherwood@squiz.net>
10
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
11
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
34 aurelien 12
 * @version   CVS: $Id: MultiFileSniff.php 34 2009-04-09 07:34:39Z aurelien $
5 aurelien 13
 * @link      http://pear.php.net/package/PHP_CodeSniffer
14
 */
15
 
16
/**
17
 * Represents a PHP_CodeSniffer multi-file sniff for sniffing coding standards.
18
 *
19
 * A multi-file sniff is called after all files have been checked using the
20
 * regular sniffs. The process() method is passed an array of PHP_CodeSniffer_File
21
 * objects, one for each file checked during the script run.
22
 *
23
 * @category  PHP
24
 * @package   PHP_CodeSniffer
25
 * @author    Greg Sherwood <gsherwood@squiz.net>
26
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
27
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
28
 * @version   Release: 1.2.0RC1
29
 * @link      http://pear.php.net/package/PHP_CodeSniffer
30
 */
31
interface PHP_CodeSniffer_MultiFileSniff
32
{
33
 
34
 
35
    /**
36
     * Called once per script run to allow for processing of this sniff.
37
     *
38
     * @param array(PHP_CodeSniffer_File) $files The PHP_CodeSniffer files processed
39
     *                                           during the script run.
40
     *
41
     * @return void
42
     */
43
    public function process(array $files);
44
 
45
 
46
}//end interface
47
 
48
?>