WyriHaximus /
php-psr-3-utilities
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace WyriHaximus\PSR3; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Logging levels PSR-3 LogLevel enum. |
||
| 9 | */ |
||
| 10 | const LOG_LEVELS = Utils::LOG_LEVELS; |
||
|
0 ignored issues
–
show
|
|||
| 11 | |||
| 12 | /** |
||
| 13 | * Functions in this file are a continuation of the code from this |
||
| 14 | * https://github.com/Seldaek/monolog/blob/6e6586257d9fb231bf039563632e626cdef594e5/src/Monolog/Processor/PsrLogMessageProcessor.php file. |
||
| 15 | */ |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @deprecated Use Utils::processPlaceHolders instead |
||
| 19 | * |
||
| 20 | * @param array<string, mixed> $context |
||
| 21 | */ |
||
| 22 | function processPlaceHolders(string $message, array $context): string |
||
| 23 | { |
||
| 24 | return Utils::processPlaceHolders($message, $context); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** @deprecated Use Utils::formatValue instead */ |
||
| 28 | function formatValue(mixed $value): string |
||
| 29 | { |
||
| 30 | return Utils::formatValue($value); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @deprecated Use Utils::normalizeContext instead |
||
| 35 | * |
||
| 36 | 15 | * @param array<string, mixed> $context |
|
| 37 | 4 | * |
|
| 38 | * @return array<string, mixed> |
||
| 39 | */ |
||
| 40 | 11 | function normalizeContext(array $context): array |
|
| 41 | 11 | { |
|
| 42 | 11 | return Utils::normalizeContext($context); |
|
| 43 | } |
||
| 44 | |||
| 45 | 11 | /** @deprecated Use Utils::checkCorrectLogLevel instead */ |
|
| 46 | function checkCorrectLogLevel(string $level): bool |
||
| 47 | { |
||
| 48 | return Utils::checkCorrectLogLevel($level); |
||
| 49 | } |
||
| 50 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths