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.bulk.php (1 issue)

1
<?php declare(strict_types=1);
2
3
require 'vendor/autoload.php';
4
5
use React\EventLoop\Factory;
6
use WyriHaximus\React\PSR3\Loggly\LogglyBulkLogger;
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
$logger = LogglyBulkLogger::create($loop, require 'token.php', 10);
11
12
$func = function () use ($argv, $logger) {
13
    $logger->log($argv[1], $argv[2]);
14
};
15
16
for ($i = 1; $i < 25; $i++) {
17
    $loop->addTimer($i, $func);
18
}
19
20
$loop->run();
21