r77352 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77351‎ | r77352 | r77353 >
Date:13:08, 27 November 2010
Author:hashar
Status:deferred
Tags:
Comment:
ignore function with prefixes "dba_", "pcntl_", "finfo_"
Modified paths:
  • /trunk/tools/code-utils/check-vars.php (modified) (history)

Diff [purge]

Index: trunk/tools/code-utils/check-vars.php
@@ -54,10 +54,12 @@
5555 static $mKnownFunctionsDefault = array();
5656 static $mConstantsDefault = array();
5757
58 - static $constantIgnorePrefixes = array( "PGSQL_", "OCI_", "SQLT_BLOB", "DB2_", "XMLREADER_", "SQLSRV_" ); # Ignore constants with these prefixes
 58+ # Ignore constants with these prefixes:
 59+ static $constantIgnorePrefixes = array( "PGSQL_", "OCI_", "SQLT_BLOB", "DB2_", "XMLREADER_", "SQLSRV_" );
 60+ # Ignore functions with these prefixes:
5961 static $functionIgnorePrefixes = array( "pg_", "oci_", "db2_", "gmp_", "sqlsrv_", "exif_", "fss_", "tidy_",
6062 "apc_", "eaccelerator_", "xcache_", "wincache_", "apache_", "xdiff_", "wikidiff2_", "parsekit_",
61 - "wddx_", "setproctitle", "utf8_", "normalizer_" ); # Ignore functions with these prefixes
 63+ "wddx_", "setproctitle", "utf8_", "normalizer_", "dba_", "pcntl_", "finfo_" );
6264 protected $generateDeprecatedList = false;
6365
6466 /* Values for status */

Status & tagging log