Debian Codegraph @

tests/phpunit/data/FindDeprecated/includes/FileWithDeprecatedCode.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Tests\Data\FindDeprecated;
4
5 class FileWithDeprecatedCode {
6 /** @deprecated Since 1.43 */
7 public function testMethodOne() {
8 return 'abc';
9 }
10
11 /** @deprecated 1.44 */
12 public static function testMethodTwo() {
13 wfDeprecated( __METHOD__, '1.44' );
14 return 'def';
15 }
16
17 public function testMethodThree() {
18 return 'not deprecated';
19 }
20 }