apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: GitModified

Source Location: /PHP_CodeSniffer-3.1.1/src/Filters/GitModified.php

Class Overview

\
   |
   --Filter
      |
      --ExactMatch
         |
         --GitModified

A filter to only include files that have been modified or added in a Git repository.


Author(s):

Copyright:

  • 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)

Methods


Inherited Variables

Inherited Methods

Class: ExactMatch

ExactMatch::accept()
Check whether the current element of the iterator is acceptable.
ExactMatch::getBlacklist()
Get a list of blacklisted file paths.
ExactMatch::getChildren()
Returns an iterator for the current entry.
ExactMatch::getWhitelist()
Get a list of whitelisted file paths.

Class: Filter

Filter::__construct()
Constructs a filter.
Filter::accept()
Check whether the current element of the iterator is acceptable.
Filter::getChildren()
Returns an iterator for the current entry.
Filter::shouldIgnorePath()
Checks filtering rules to see if a path should be ignored.
Filter::shouldProcessFile()
Checks filtering rules to see if a file should be checked.

Class Details

[line 14]
A filter to only include files that have been modified or added in a Git repository.


[ Top ]


Method Detail

getBlacklist   [line 23]

array getBlacklist( )

Get a list of blacklisted file paths.
  • Access: protected

Overrides ExactMatch::getBlacklist() (Get a list of blacklisted file paths.)
[ Top ]

getWhitelist   [line 35]

array getWhitelist( )

Get a list of whitelisted file paths.
  • Access: protected

Overrides ExactMatch::getWhitelist() (Get a list of whitelisted file paths.)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:27:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.