Skip to content

Drop offsets when tokenizing with RegularParser #43

Drop offsets when tokenizing with RegularParser

Drop offsets when tokenizing with RegularParser #43

Re-run triggered June 4, 2024 07:07
Status Failure
Total duration 31s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 2 warnings
test (8.2, ubuntu-latest, false)
Process completed with exit code 2.
test (7.4, ubuntu-latest, false)
The job was canceled because "_8_2_ubuntu-latest_false" failed.
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
test (8.1, ubuntu-latest, false)
The job was canceled because "_8_2_ubuntu-latest_false" failed.
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
test (8.3, ubuntu-latest, true)
The job was canceled because "_8_2_ubuntu-latest_false" failed.
test (8.3, ubuntu-latest, true)
The operation was canceled.
test (8.0, ubuntu-latest, false)
The job was canceled because "_8_2_ubuntu-latest_false" failed.
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
ArgumentTypeCoercion: 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)
RiskyTruthyFalsyComparison: 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)
RiskyTruthyFalsyComparison: 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)
ArgumentTypeCoercion: 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)
test (8.2, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (8.2, ubuntu-latest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/