Skip to content

ci: Add tests for PHP 8.4 #122

ci: Add tests for PHP 8.4

ci: Add tests for PHP 8.4 #122

Triggered via pull request December 11, 2025 12:34
Status Failure
Total duration 32s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingOverrideAttribute: src/EmailLexer.php#L300
src/EmailLexer.php:300:5: MissingOverrideAttribute: Method Egulias\EmailValidator\EmailLexer::getnoncatchablepatterns should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/EmailLexer.php#L290
src/EmailLexer.php:290:5: MissingOverrideAttribute: Method Egulias\EmailValidator\EmailLexer::getcatchablepatterns should have the "Override" attribute (see https://psalm.dev/358)
PossiblyFalseArgument: src/EmailLexer.php#L242
src/EmailLexer.php:242:34: PossiblyFalseArgument: Argument 1 of Egulias\EmailValidator\EmailLexer::isInvalidChar cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyFalseArgument: src/EmailLexer.php#L238
src/EmailLexer.php:238:31: PossiblyFalseArgument: Argument 1 of Egulias\EmailValidator\EmailLexer::isNullType cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyInvalidArrayOffset: src/EmailLexer.php#L235
src/EmailLexer.php:235:20: PossiblyInvalidArrayOffset: Cannot access value on variable $this->charValue using a false|string offset, expecting string (see https://psalm.dev/116)
PossiblyFalseArgument: src/EmailLexer.php#L234
src/EmailLexer.php:234:28: PossiblyFalseArgument: Argument 1 of Egulias\EmailValidator\EmailLexer::isValid cannot be false, possibly string value expected (see https://psalm.dev/104)
MissingOverrideAttribute: src/EmailLexer.php#L226
src/EmailLexer.php:226:5: MissingOverrideAttribute: Method Egulias\EmailValidator\EmailLexer::gettype should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/EmailLexer.php#L197
src/EmailLexer.php:197:5: MissingOverrideAttribute: Method Egulias\EmailValidator\EmailLexer::movenext should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/EmailLexer.php#L168
src/EmailLexer.php:168:5: MissingOverrideAttribute: Method Egulias\EmailValidator\EmailLexer::reset should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/EmailLexer.php#L9
src/EmailLexer.php:9:7: ClassMustBeFinal: Class Egulias\EmailValidator\EmailLexer is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)