Normalize call normalizeRecord if necessary #865
Annotations
21 errors
PHPStan (8.1):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L106
Method Monolog\Formatter\JsonFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L106
Method Monolog\Formatter\JsonFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L106
Return type (array<array|bool|float|int|Monolog\Formatter\stdClass|string|null>) of method Monolog\Formatter\JsonFormatter::normalizeRecord() should be covariant with return type (array<array|bool|float|int|string|null>) of method Monolog\Formatter\NormalizerFormatter::normalizeRecord()
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L125
Method Monolog\Formatter\JsonFormatter::normalizeRecord() should return array<array|bool|float|int|Monolog\Formatter\stdClass|string|null> but returns array<array|bool|float|int|stdClass|string|null>.
|
PHPStan (8.1):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (latest)
The job was canceled because "_8_1" failed.
|
PHPStan (latest):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (latest):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L106
Method Monolog\Formatter\JsonFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L106
Method Monolog\Formatter\JsonFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L106
Return type (array<array|bool|float|int|Monolog\Formatter\stdClass|string|null>) of method Monolog\Formatter\JsonFormatter::normalizeRecord() should be covariant with return type (array<array|bool|float|int|string|null>) of method Monolog\Formatter\NormalizerFormatter::normalizeRecord()
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L125
Method Monolog\Formatter\JsonFormatter::normalizeRecord() should return array<array|bool|float|int|Monolog\Formatter\stdClass|string|null> but returns array<array|bool|float|int|stdClass|string|null>.
|
PHPStan (latest):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (latest):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (latest):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (latest):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|