MediaWiki master
FindDeprecated Class Reference

Maintenance task that recursively scans MediaWiki PHP files for deprecated functions and interfaces and produces a report. More...

Inherits Maintenance.

Collaboration diagram for FindDeprecated:

Public Member Functions

 __construct ()
 
 execute ()
 
 getFiles ()
 

Protected Member Functions

 getMwInstallPath ()
 

Detailed Description

Maintenance task that recursively scans MediaWiki PHP files for deprecated functions and interfaces and produces a report.

Definition at line 139 of file findDeprecated.php.

Constructor & Destructor Documentation

◆ __construct()

FindDeprecated::__construct ( )

Definition at line 140 of file findDeprecated.php.

Member Function Documentation

◆ execute()

FindDeprecated::execute ( )

Definition at line 162 of file findDeprecated.php.

References $IP, and getFiles().

◆ getFiles()

FindDeprecated::getFiles ( )
Returns
SplFileInfo[]

Definition at line 155 of file findDeprecated.php.

References getMwInstallPath().

Referenced by execute().

◆ getMwInstallPath()

FindDeprecated::getMwInstallPath ( )
protected
Returns
string The installation path of MediaWiki. This method is mocked in PHPUnit tests.

Definition at line 148 of file findDeprecated.php.

Referenced by getFiles().


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