1 | <?php |
||
7 | class FixLongPmaVersions extends AbstractMigration |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * This migration strips the phpMyAdmin version of Debian, |
||
12 | * Ubuntu and other suffixes in version strings |
||
13 | * |
||
14 | */ |
||
15 | public function up() |
||
25 | |||
26 | public function down() |
||
31 | |||
32 | private function _sanitizeVersionsInTable($table) |
||
55 | } |
||
56 |
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress.
In this case you can add the
@ignore
PhpDoc annotation to the duplicate definition and it will be ignored.