These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * @file |
||
4 | * @ingroup SMWLanguage |
||
5 | */ |
||
6 | |||
7 | /** |
||
8 | * Protect against register_globals vulnerabilities. |
||
9 | * This line must be present before any global variable is referenced. |
||
10 | */ |
||
11 | if ( !defined( 'MEDIAWIKI' ) ) { |
||
12 | die(); |
||
13 | } |
||
14 | |||
15 | global $smwgIP; |
||
16 | include_once ( $smwgIP . 'languages/SMW_LanguageDe.php' ); |
||
17 | |||
18 | /** |
||
19 | * Translations for formal German are just the same as for German regarding |
||
20 | * the core notions of SMW. Hence this class just extends SMWLanguageDe. |
||
21 | * |
||
22 | * @author Markus Krötzsch |
||
23 | * @ingroup SMWLanguage |
||
24 | * @ingroup Language |
||
25 | */ |
||
26 | class SMWLanguageDe_formal extends SMWLanguageDe { |
||
0 ignored issues
–
show
|
|||
27 | } |
||
28 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.