Drop offsets when tokenizing with RegularParser #43
Annotations
11 errors
|
src/Handler/EmailHandler.php#L22
src/Handler/EmailHandler.php:22:18: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Handler/UrlHandler.php#L22
src/Handler/UrlHandler.php:22:16: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Parser/RegexParser.php#L39
src/Parser/RegexParser.php:39:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/Parser/RegexParser.php#L59
src/Parser/RegexParser.php:59:20: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/Parser/RegexParser.php#L79
src/Parser/RegexParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/Parser/RegexParser.php#L85
src/Parser/RegexParser.php:85:30: ArgumentTypeCoercion: Argument 1 of explode expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/Parser/RegularParser.php#L114
src/Parser/RegularParser.php:114:29: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/Parser/RegularParser.php#L187
src/Parser/RegularParser.php:187:12: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Parser/RegularParser.php#L317
src/Parser/RegularParser.php:317:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Parser/RegularParser.php#L338
src/Parser/RegularParser.php:338:33: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
This job was cancelled
Loading