The call to PluginTrait::__construct() has too many arguments starting with $config.
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 @ignorePhpDoc
annotation to the duplicate definition and it will be ignored.
Loading history...
42
}
43
44
/**
45
* Define any command line options the versioning plugin wants to accept.
46
*
47
* @return InputOption[]
48
*/
49
public function getOptions() {
50
return array();
51
}
52
53
/**
54
* Set Symfony Console input and output interfaces.
55
*
56
* @param InputInterface $input InputInterface.
57
* @param OutputInterface $output OutputInterface.
58
*/
59
public function setIO( InputInterface $input, OutputInterface $output ) {
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
@ignorePhpDoc annotation to the duplicate definition and it will be ignored.