GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (4)

example.php (2 issues)

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
Deprecated Code introduced by
The function React\EventLoop\Factory::create() has been deprecated: 1.2.0 See Loop::get() instead. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

8
$loop = /** @scrutinizer ignore-deprecated */ Factory::create();

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.

Loading history...
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 ignore-call  annotation

10
LogglyLogger::/** @scrutinizer ignore-call */ 
11
              create($loop, require 'token.php')->log($argv[1], $argv[2]);

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.

Loading history...
11
12
$loop->run();
13