There is no parameter named $patterns. Did you maybe mean $pathPatterns?
This check looks for PHPDoc comments describing methods or function parameters that
do not exist on the corresponding method or function. It has, however, found a
similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter $ireland is not defined by
the method finale(...).
There is no parameter named $pluginsDirectories. Did you maybe mean $plugins?
This check looks for PHPDoc comments describing methods or function parameters that
do not exist on the corresponding method or function. It has, however, found a
similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter $ireland is not defined by
the method finale(...).
This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
31
$plugins = func_get_args();
32
33
if(empty($plugins)) {
34
throw new InvalidArgumentException('Pass plugins folder names to watch for Notices & Warnings');
This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
51
$themes = func_get_args();
52
53
if(empty($themes)) {
54
throw new InvalidArgumentException('Pass themes folder names to watch for Notices & Warnings');
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.