Patch coverage
Generate coverage reports for git patches
Loading...
Searching...
No Matches
MediaWiki\Tool\PatchCoverage\GitChanged Class Reference

Typed object to hold changed files in a git commit. More...

Public Member Functions

 __construct ( $added=[], $modified=[], $deleted=[], $renamed=[])
 
 getPreviousFiles ()
 
 getNewFiles ()
 

Public Attributes

 $added = []
 
 $modified = []
 
 $deleted = []
 
 $renamed = []
 

Detailed Description

Typed object to hold changed files in a git commit.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Tool\PatchCoverage\GitChanged::__construct ( $added = [],
$modified = [],
$deleted = [],
$renamed = [] )
Parameters
array$added
array$modified
array$deleted
array$renamed

Member Function Documentation

◆ getNewFiles()

MediaWiki\Tool\PatchCoverage\GitChanged::getNewFiles ( )
Returns
array|string[]

◆ getPreviousFiles()

MediaWiki\Tool\PatchCoverage\GitChanged::getPreviousFiles ( )
Returns
array|int[]|string[]

The documentation for this class was generated from the following file: