Issues (48)

Logger/MetricsPowerLoggerInterface.php (1 issue)

1
<?php
2
3
/** @noinspection PhpDocSignatureInspection */
4
5
declare(strict_types=1);
6
7
/**
8
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
9
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
11
 *
12
 * Copyright (c) 2024 Mykhailo Shtanko [email protected]
13
 *
14
 * For the full copyright and license information, please view the LICENSE.MD
15
 * file that was distributed with this source code.
16
 */
17
18
namespace FRZB\Component\MetricsPower\Logger;
19
20
use FRZB\Component\DependencyInjection\Attribute\AsAlias;
21
22
/**
23
 * @template TTarget of object
24
 */
25
#[AsAlias(MetricsPowerLogger::class)]
26
interface MetricsPowerLoggerInterface
27
{
28
    /** @param TTarget $target */
0 ignored issues
show
The type FRZB\Component\MetricsPower\Logger\TTarget 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...
29
    public function info(object $target): void;
30
31
    /** @param TTarget $target */
32
    public function error(object $target, \Throwable $exception): void;
33
}
34