|
const | PROGRESS_BAR_DISABLED = 0 |
|
const | PROGRESS_BAR_STANDARD = 1 |
|
const | PROGRESS_BAR_LONG = 2 |
|
|
| getTaintCheckPluginName () |
|
◆ addCustomPlugins()
MediaWikiPhanConfig\ConfigBuilder::addCustomPlugins |
( |
array | $plugins | ) |
|
Adds one or more custom plugins.
- Parameters
-
- Returns
- self
◆ addDirectories()
MediaWikiPhanConfig\ConfigBuilder::addDirectories |
( |
string ... | $dirs | ) |
|
◆ addFiles()
MediaWikiPhanConfig\ConfigBuilder::addFiles |
( |
string ... | $files | ) |
|
◆ addGlobalsWithTypes()
MediaWikiPhanConfig\ConfigBuilder::addGlobalsWithTypes |
( |
array | $globals | ) |
|
- Parameters
-
array | $globals | [ 'global_name' => 'union_type' ] |
- Returns
- $this
◆ addPlugins()
MediaWikiPhanConfig\ConfigBuilder::addPlugins |
( |
array | $plugins | ) |
|
Adds one or more built-in plugins.
- Parameters
-
- Returns
- self
◆ allowMissingProperties()
MediaWikiPhanConfig\ConfigBuilder::allowMissingProperties |
( |
bool | $yn | ) |
|
◆ allowNullCastsAsAnyType()
MediaWikiPhanConfig\ConfigBuilder::allowNullCastsAsAnyType |
( |
bool | $yn | ) |
|
◆ allowScalarImplicitCasts()
MediaWikiPhanConfig\ConfigBuilder::allowScalarImplicitCasts |
( |
bool | $yn | ) |
|
◆ enableDeadCodeDetection()
MediaWikiPhanConfig\ConfigBuilder::enableDeadCodeDetection |
( |
bool | $yn | ) |
|
◆ enableRedundantConditionDetection()
MediaWikiPhanConfig\ConfigBuilder::enableRedundantConditionDetection |
( |
bool | $yn | ) |
|
◆ excludeDirectories()
MediaWikiPhanConfig\ConfigBuilder::excludeDirectories |
( |
string ... | $dirs | ) |
|
◆ excludeFiles()
MediaWikiPhanConfig\ConfigBuilder::excludeFiles |
( |
string ... | $files | ) |
|
◆ make()
MediaWikiPhanConfig\ConfigBuilder::make |
( |
| ) |
|
◆ readClassAliases()
MediaWikiPhanConfig\ConfigBuilder::readClassAliases |
( |
bool | $yn | ) |
|
◆ setDirectoryList()
MediaWikiPhanConfig\ConfigBuilder::setDirectoryList |
( |
array | $list | ) |
|
◆ setExcludedDirectoryList()
MediaWikiPhanConfig\ConfigBuilder::setExcludedDirectoryList |
( |
array | $list | ) |
|
◆ setExcludedFileList()
MediaWikiPhanConfig\ConfigBuilder::setExcludedFileList |
( |
array | $list | ) |
|
◆ setExcludeFileRegex()
MediaWikiPhanConfig\ConfigBuilder::setExcludeFileRegex |
( |
string | $regex | ) |
|
◆ setFileList()
MediaWikiPhanConfig\ConfigBuilder::setFileList |
( |
array | $list | ) |
|
◆ setMinimumPHPVersion()
MediaWikiPhanConfig\ConfigBuilder::setMinimumPHPVersion |
( |
string | $version | ) |
|
Set the minimum PHP version that the codebase should support.
- Parameters
-
- Returns
- $this
◆ setMinimumSeverity()
MediaWikiPhanConfig\ConfigBuilder::setMinimumSeverity |
( |
int | $minSev | ) |
|
◆ setProgressBarMode()
MediaWikiPhanConfig\ConfigBuilder::setProgressBarMode |
( |
int | $mode | ) |
|
- Parameters
-
int | $mode | One of the PROGRESS_BAR_* constants |
- Returns
- $this
◆ setRawOptions()
MediaWikiPhanConfig\ConfigBuilder::setRawOptions |
( |
array | $options | ) |
|
Sets an array of raw phan options.
This should generally be avoided, in favour of the setters below.
- Parameters
-
- Returns
- self
◆ setSuppressedIssuesList()
MediaWikiPhanConfig\ConfigBuilder::setSuppressedIssuesList |
( |
array | $list | ) |
|
◆ setTargetPHPVersion()
MediaWikiPhanConfig\ConfigBuilder::setTargetPHPVersion |
( |
string | $version | ) |
|
Set the PHP version to be checked against for forward-compatibility warnings.
- Parameters
-
- Returns
- $this
◆ shouldDeadCodeDetectionPreferFalseNegatives()
MediaWikiPhanConfig\ConfigBuilder::shouldDeadCodeDetectionPreferFalseNegatives |
( |
bool | $yn | ) |
|
◆ suppressIssueTypes()
MediaWikiPhanConfig\ConfigBuilder::suppressIssueTypes |
( |
string ... | $types | ) |
|
The documentation for this class was generated from the following file: