Skip to content

PHP 8.4 support, dictionary refactoring #113

PHP 8.4 support, dictionary refactoring

PHP 8.4 support, dictionary refactoring #113

Triggered via pull request January 18, 2025 14:57
Status Failure
Total duration 2m 20s
Artifacts

macos-scan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
MixedArgument: src/Psalm/Config/FileFilter.php#L212
src/Psalm/Config/FileFilter.php:212:62: MixedArgument: Argument 1 of readlink cannot be mixed, expecting string (see https://psalm.dev/030)
ArgumentTypeCoercion: src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php#L40
src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php:40:75: ArgumentTypeCoercion: Argument 2 of Psalm\Internal\Analyzer\Statements\DeclareAnalyzer::analyzeStrictTypesDeclaration expects PhpParser\Node\Stmt\DeclareDeclare, but parent type PhpParser\Node\DeclareItem provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php#L42
src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php:42:69: ArgumentTypeCoercion: Argument 2 of Psalm\Internal\Analyzer\Statements\DeclareAnalyzer::analyzeTicksDeclaration expects PhpParser\Node\Stmt\DeclareDeclare, but parent type PhpParser\Node\DeclareItem provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php#L44
src/Psalm/Internal/Analyzer/Statements/DeclareAnalyzer.php:44:72: ArgumentTypeCoercion: Argument 2 of Psalm\Internal\Analyzer\Statements\DeclareAnalyzer::analyzeEncodingDeclaration expects PhpParser\Node\Stmt\DeclareDeclare, but parent type PhpParser\Node\DeclareItem provided (see https://psalm.dev/193)
UnresolvableInclude: src/Psalm/Internal/Codebase/InternalCallMapHandler.php#L366
src/Psalm/Internal/Codebase/InternalCallMapHandler.php:366:21: UnresolvableInclude: Cannot resolve the given expression to a file path (see https://psalm.dev/106)
MixedAssignment: src/Psalm/Internal/Provider/FileProvider.php#L190
src/Psalm/Internal/Provider/FileProvider.php:190:13: MixedAssignment: Unable to determine the type that $extension is being assigned to (see https://psalm.dev/032)
build
Process completed with exit code 2.