Support PHP 8.4 #54
Annotations
58 errors and 1 warning
test (8.4, ubuntu-latest, false)
Process completed with exit code 1.
|
test (8.0, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
PropertyTypeCoercion:
src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
|
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)
|
RedundantFunctionCall:
src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
|
ArgumentTypeCoercion:
src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Serializer/XmlSerializer.php#L137
src/Serializer/XmlSerializer.php:137:27: 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/Syntax/SyntaxBuilder.php#L28
src/Syntax/SyntaxBuilder.php:28:13: ArgumentTypeCoercion: Argument 1 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
test (7.4, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L29
src/Syntax/SyntaxBuilder.php:29:13: ArgumentTypeCoercion: Argument 2 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L30
src/Syntax/SyntaxBuilder.php:30:13: ArgumentTypeCoercion: Argument 3 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
PropertyTypeCoercion:
src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
|
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)
|
RedundantFunctionCall:
src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
|
ArgumentTypeCoercion:
src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Serializer/XmlSerializer.php#L137
src/Serializer/XmlSerializer.php:137:27: 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/Syntax/SyntaxBuilder.php#L28
src/Syntax/SyntaxBuilder.php:28:13: ArgumentTypeCoercion: Argument 1 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L29
src/Syntax/SyntaxBuilder.php:29:13: ArgumentTypeCoercion: Argument 2 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L30
src/Syntax/SyntaxBuilder.php:30:13: ArgumentTypeCoercion: Argument 3 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
test (8.2, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
PropertyTypeCoercion:
src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
|
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)
|
RedundantFunctionCall:
src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
|
ArgumentTypeCoercion:
src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Serializer/XmlSerializer.php#L137
src/Serializer/XmlSerializer.php:137:27: 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/Syntax/SyntaxBuilder.php#L28
src/Syntax/SyntaxBuilder.php:28:13: ArgumentTypeCoercion: Argument 1 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L29
src/Syntax/SyntaxBuilder.php:29:13: ArgumentTypeCoercion: Argument 2 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L30
src/Syntax/SyntaxBuilder.php:30:13: ArgumentTypeCoercion: Argument 3 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
test (8.5, ubuntu-latest, true)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
test (8.5, ubuntu-latest, true)
The operation was canceled.
|
test (8.3, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
PropertyTypeCoercion:
src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
|
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)
|
RedundantFunctionCall:
src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
|
ArgumentTypeCoercion:
src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Serializer/XmlSerializer.php#L137
src/Serializer/XmlSerializer.php:137:27: 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/Syntax/SyntaxBuilder.php#L28
src/Syntax/SyntaxBuilder.php:28:13: ArgumentTypeCoercion: Argument 1 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L29
src/Syntax/SyntaxBuilder.php:29:13: ArgumentTypeCoercion: Argument 2 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L30
src/Syntax/SyntaxBuilder.php:30:13: ArgumentTypeCoercion: Argument 3 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
test (8.1, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
|
PropertyTypeCoercion:
src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
|
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)
|
RedundantFunctionCall:
src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
|
ArgumentTypeCoercion:
src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Serializer/XmlSerializer.php#L137
src/Serializer/XmlSerializer.php:137:27: 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/Syntax/SyntaxBuilder.php#L28
src/Syntax/SyntaxBuilder.php:28:13: ArgumentTypeCoercion: Argument 1 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L29
src/Syntax/SyntaxBuilder.php:29:13: ArgumentTypeCoercion: Argument 2 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Syntax/SyntaxBuilder.php#L30
src/Syntax/SyntaxBuilder.php:30:13: ArgumentTypeCoercion: Argument 3 of Thunder\Shortcode\Syntax\Syntax::__construct expects non-empty-string|null, but parent type null|string provided (see https://psalm.dev/193)
|
test (8.4, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|