Completed
Push — master ( 588078...30ae0c )
by Nikolay
04:51 queued 02:15
created

example.php (2 issues)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
require __DIR__.'/vendor/autoload.php';
5
6
$key = '*';
7
$proxy = '*';
8
9
$client = new \Buzz\Client\Curl([
0 ignored issues
show
The type Buzz\Client\Curl was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
10
    'timeout' => 120,
11
    'proxy' => $proxy,
12
], new \Nyholm\Psr7\Factory\Psr17Factory());
0 ignored issues
show
The type Nyholm\Psr7\Factory\Psr17Factory was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
14
$apiClient = new \Greenplugin\TelegramBot\ApiClient(new \Nyholm\Psr7\Factory\Psr17Factory(), new \Nyholm\Psr7\Factory\Psr17Factory(), $client);
15
$bot = new \Greenplugin\TelegramBot\BotApi($key, $apiClient);
16
17
$getMeRequest = new \Greenplugin\TelegramBot\Method\GetMeMethod();
18
\var_dump($bot->getMe($getMeRequest));
19