fix(smtp): fix SMTP body ending detection; better HTTP Multipart parsing #188
Annotations
13 errors
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Run.php#L1
Ignored error pattern #^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$# in path /home/runner/work/trap/trap/src/Command/Run.php was not matched in reported errors.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'profile' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'tags' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Result of && is always true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L91
Offset 'tags' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L92
Offset 'profile' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
|
PossiblyNullArgument:
src/Traffic/Message/Multipart/Part.php#L36
src/Traffic/Message/Multipart/Part.php:36:80: PossiblyNullArgument: Argument 2 of preg_match cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/Traffic/Message/Multipart/Part.php#L43
src/Traffic/Message/Multipart/Part.php:43:17: PossiblyNullArgument: Argument 2 of preg_match cannot be null, possibly null value provided (see https://psalm.dev/078)
|
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.
|