Fix return type JsonFormatter::normalizeException()
#894
Annotations
16 errors
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/LineFormatter.php#L203
Return type (string) of method Monolog\Formatter\LineFormatter::normalizeException() should be compatible with return type (array<array<array<string>|int|string>|int|string>) of method Monolog\Formatter\NormalizerFormatter::normalizeException()
|
PHPStan (latest):
src/Monolog/Formatter/NormalizerFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<int, string\>\.$# (return.type) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php was not matched in reported errors.
|
PHPStan (latest):
src/Monolog/Formatter/NormalizerFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<string, array\<int\<0, max\>\|string, array\<array\<string\>\|int\|string\>\|int\|string\>\|int\|string\>\.$# (return.type) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php was not matched in reported errors.
|
PHPStan (latest):
src/Monolog/Formatter/NormalizerFormatter.php#L308
Method Monolog\Formatter\NormalizerFormatter::normalizeException() should return array<array<array<string>|int|string>|int|string> but returns array<string, array<array<array<string>|int|string>|int|string>|int|string>.
|
PHPStan (latest)
Process completed with exit code 1.
|
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/LineFormatter.php#L203
Return type (string) of method Monolog\Formatter\LineFormatter::normalizeException() should be compatible with return type (array<array<array<string>|int|string>|int|string>) of method Monolog\Formatter\NormalizerFormatter::normalizeException()
|
PHPStan (8.1):
src/Monolog/Formatter/NormalizerFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<int, string\>\.$# (return.type) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php was not matched in reported errors.
|
PHPStan (8.1):
src/Monolog/Formatter/NormalizerFormatter.php#L1
Ignored error pattern #^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<string, array\<int\<0, max\>\|string, array\<array\<string\>\|int\|string\>\|int\|string\>\|int\|string\>\.$# (return.type) in path /home/runner/work/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php was not matched in reported errors.
|
PHPStan (8.1):
src/Monolog/Formatter/NormalizerFormatter.php#L308
Method Monolog\Formatter\NormalizerFormatter::normalizeException() should return array<array<array<string>|int|string>|int|string> but returns array<string, array<array<array<string>|int|string>|int|string>|int|string>.
|
PHPStan (8.1)
Process completed with exit code 1.
|