Test Setup Failed
Pull Request — master (#56)
by Sam
02:26
created

Common.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * Entry point of the DataValues Common library.
5
 *
6
 * @since 0.1
7
 * @codeCoverageIgnore
8
 *
9
 * @license GPL-2.0+
10
 * @author Jeroen De Dauw < [email protected] >
11
 */
12
13
if ( function_exists( 'wfLoadExtension' ) ) {
14
	wfLoadExtension( 'Common', __DIR__ . '/extension.json' );
15
	/*wfWarn(
16
		'Deprecated PHP entry point used for Common extension. Please use wfLoadExtension instead, ' .
17
		'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
18
	);*/
19
	return;
20
} else {
21
	die( 'This version of the Common extension requires MediaWiki 1.25+' );
22
23
0 ignored issues
show
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected EOF
Loading history...