1 | <?php declare(strict_types=1); |
||||||
2 | |||||||
3 | require 'vendor/autoload.php'; |
||||||
4 | |||||||
5 | use React\EventLoop\Factory; |
||||||
6 | use WyriHaximus\React\PSR3\Loggly\LogglyLogger; |
||||||
7 | |||||||
8 | $loop = Factory::create(); |
||||||
0 ignored issues
–
show
|
|||||||
9 | |||||||
10 | LogglyLogger::create($loop, require 'token.php')->log($argv[1], $argv[2]); |
||||||
0 ignored issues
–
show
The call to
WyriHaximus\React\PSR3\L...\LogglyLogger::create() has too many arguments starting with IncludeNode .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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. Please note the @ignore annotation hint above. ![]() |
|||||||
11 | |||||||
12 | $loop->run(); |
||||||
13 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.