Fix return type JsonFormatter::normalizeException()
#895
Annotations
11 errors
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\JsonFormatter\:\:normalizeException\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^PHPDoc tag @return with type array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string is not subtype of native type array\.$# (return.phpDocType) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^Return type \(array\) of method Monolog\\Formatter\\JsonFormatter\:\:normalizeException\(\) should be covariant with return type \(array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string\) of method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\)$# (method.childReturnType) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L221
Return type (array<array<array<string>|int|string>|int|string>) of method Monolog\Formatter\JsonFormatter::normalizeException() should be covariant with return type (array<string, array<array<string>|int|string>|int|string>|string) of method Monolog\Formatter\NormalizerFormatter::normalizeException()
|
PHPStan (8.1)
Process completed with exit code 1.
|
PHPStan (latest)
The job was canceled because "_8_1" failed.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\JsonFormatter\:\:normalizeException\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^PHPDoc tag @return with type array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string is not subtype of native type array\.$# (return.phpDocType) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L1
Ignored error pattern #^Return type \(array\) of method Monolog\\Formatter\\JsonFormatter\:\:normalizeException\(\) should be covariant with return type \(array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string\) of method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\)$# (method.childReturnType) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php was not matched in reported errors.
|
PHPStan (latest):
src/Monolog/Formatter/JsonFormatter.php#L221
Return type (array<array<array<string>|int|string>|int|string>) of method Monolog\Formatter\JsonFormatter::normalizeException() should be covariant with return type (array<string, array<array<string>|int|string>|int|string>|string) of method Monolog\Formatter\NormalizerFormatter::normalizeException()
|
PHPStan (latest)
The operation was canceled.
|