1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/psalm-baseline.xml

615 lines
24 KiB
XML
Raw Normal View History

2021-03-23 06:30:51 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2022-11-21 19:26:09 +01:00
<files psalm-version="dev-master@12188caad4b2e4fd7a49a7199e97af2ba1d4c58e">
2021-03-23 06:30:51 +01:00
<file src="examples/TemplateChecker.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$comment_block-&gt;tags['variablesfrom'][0]</code>
<code>$matches[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="examples/TemplateScanner.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$comment_block-&gt;tags['variablesfrom'][0]</code>
<code>$matches[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Codebase.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$matches[0]</code>
<code>$symbol_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Config/FileFilter.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>explode('::', $method_id)[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/ErrorBaseline.php">
<PossiblyUndefinedIntArrayOffset occurrences="3">
<code>$matches[1]</code>
<code>$matches[2]</code>
<code>$matches[3]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/ClassAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="3">
<code>$comments[0]</code>
<code>$stmt-&gt;props[0]</code>
<code>$uninitialized_variables[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/ProjectAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="4">
<code>$destination_parts[1]</code>
<code>$destination_parts[1]</code>
<code>$destination_parts[1]</code>
<code>$source_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Block/ForeachAnalyzer.php">
<ConflictingReferenceConstraint occurrences="2">
<code>if (AtomicTypeComparator::isContainedBy(</code>
<code>if (AtomicTypeComparator::isContainedBy(</code>
</ConflictingReferenceConstraint>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$iterator_atomic_type-&gt;type_params[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Block/LoopAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$pre_conditions[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Block/SwitchAnalyzer.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$context-&gt;assigned_var_ids += $switch_scope-&gt;new_assigned_var_ids</code>
</InvalidPropertyAssignmentValue>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Block/SwitchCaseAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="3">
2021-10-09 23:37:04 +02:00
<code>$new_case_equality_expr-&gt;getArgs()[1]</code>
2021-03-23 06:30:51 +01:00
<code>$switch_scope-&gt;leftover_statements[0]</code>
<code>$traverser-&gt;traverse([$switch_condition])[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/AssertionFinder.php">
2022-11-21 19:26:09 +01:00
<DeprecatedClass occurrences="1">
<code>new Atomic\TList(Type::getMixed())</code>
</DeprecatedClass>
2022-10-17 13:10:12 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="28">
<code>$assertion-&gt;rule[0]</code>
2021-03-23 06:30:51 +01:00
<code>$assertion-&gt;rule[0]</code>
<code>$assertion-&gt;rule[0]</code>
<code>$assertion-&gt;rule[0]</code>
<code>$assertion-&gt;rule[0]</code>
<code>$assertion-&gt;rule[0]</code>
<code>$assertion-&gt;rule[0]</code>
2021-10-09 23:37:04 +02:00
<code>$count_expr-&gt;getArgs()[0]</code>
<code>$count_expr-&gt;getArgs()[0]</code>
<code>$count_expr-&gt;getArgs()[0]</code>
<code>$count_expr-&gt;getArgs()[0]</code>
<code>$count_expr-&gt;getArgs()[0]</code>
<code>$counted_expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[0]</code>
<code>$expr-&gt;getArgs()[1]</code>
<code>$expr-&gt;getArgs()[1]</code>
<code>$get_debug_type_expr-&gt;getArgs()[0]</code>
<code>$get_debug_type_expr-&gt;getArgs()[0]</code>
<code>$getclass_expr-&gt;getArgs()[0]</code>
<code>$gettype_expr-&gt;getArgs()[0]</code>
<code>$gettype_expr-&gt;getArgs()[0]</code>
2021-03-23 06:30:51 +01:00
</PossiblyUndefinedIntArrayOffset>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/ArrayAssignmentAnalyzer.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="3">
<code>$array_atomic_type</code>
<code>$array_atomic_type</code>
<code>$array_atomic_type</code>
2022-11-21 19:26:09 +01:00
</DeprecatedClass>
</file>
2021-09-06 23:44:22 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php">
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$invalid_left_messages[0]</code>
<code>$invalid_right_messages[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php">
2022-10-03 10:45:36 +02:00
<ComplexMethod occurrences="1">
<code>verifyType</code>
</ComplexMethod>
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="4">
2022-11-21 19:26:09 +01:00
<code>$array_type</code>
<code>$unpacked_atomic_array</code>
2022-11-26 14:33:40 +01:00
<code>TKeyedArray|TArray|TClassStringMap</code>
<code>TKeyedArray|TArray|TClassStringMap|null</code>
2022-11-21 19:26:09 +01:00
</DeprecatedClass>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="3">
<code>$non_existent_method_ids[0]</code>
<code>$parts[1]</code>
<code>explode('::', $cased_method_id)[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentsAnalyzer.php">
2022-11-21 19:26:09 +01:00
<DeprecatedClass occurrences="2">
<code>$array_type</code>
<code>$array_type</code>
</DeprecatedClass>
2022-10-10 12:53:13 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
2021-03-23 06:30:51 +01:00
<code>$arg_function_params[$argument_offset][0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArrayFunctionArgumentsAnalyzer.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="4">
2022-11-21 19:26:09 +01:00
<code>$array_arg_type</code>
<code>$array_type</code>
<code>$array_type</code>
<code>$replacement_array_type</code>
</DeprecatedClass>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="4">
<code>$args[0]</code>
<code>$args[0]</code>
<code>$args[1]</code>
<code>$callmap_callables[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/FunctionCallAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$parts[1]</code>
2021-10-09 23:37:04 +02:00
<code>$stmt-&gt;getArgs()[0]</code>
2021-03-23 06:30:51 +01:00
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/MethodCallAnalyzer.php">
2022-01-01 14:13:53 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="6">
2021-03-23 06:30:51 +01:00
<code>$result-&gt;invalid_method_call_types[0]</code>
<code>$result-&gt;non_existent_class_method_ids[0]</code>
<code>$result-&gt;non_existent_class_method_ids[0]</code>
<code>$result-&gt;non_existent_interface_method_ids[0]</code>
<code>$result-&gt;non_existent_interface_method_ids[0]</code>
<code>$result-&gt;non_existent_magic_method_ids[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/CallAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
2021-03-23 06:30:51 +01:00
<code>$callable_arg-&gt;items[0]</code>
<code>$callable_arg-&gt;items[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ArrayFetchAnalyzer.php">
2022-11-21 19:26:09 +01:00
<DeprecatedClass occurrences="6">
<code>$array_type</code>
<code>$array_type</code>
2022-11-22 17:22:26 +01:00
<code>$type</code>
<code>$type</code>
2022-11-26 14:33:40 +01:00
<code>TArray|TKeyedArray|TClassStringMap</code>
2022-11-21 19:26:09 +01:00
<code>TList</code>
</DeprecatedClass>
<ReferenceConstraintViolation occurrences="3">
<code>$stmt_type</code>
<code>$stmt_type</code>
<code>$stmt_type</code>
</ReferenceConstraintViolation>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/AtomicPropertyFetchAnalyzer.php">
<ReferenceConstraintViolation occurrences="1">
<code>$stmt_type</code>
</ReferenceConstraintViolation>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/InstancePropertyFetchAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$invalid_fetch_types[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/YieldAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$atomic_return_type-&gt;type_params[2]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/UnusedAssignmentRemover.php">
<PossiblyUndefinedIntArrayOffset occurrences="6">
<code>$token_list[$iter]</code>
<code>$token_list[$iter]</code>
<code>$token_list[$iter]</code>
2021-03-23 06:30:51 +01:00
<code>$token_list[$iter]</code>
<code>$token_list[0]</code>
<code>$token_list[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/StatementsAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
2021-10-09 23:37:04 +02:00
<code>$stmt-&gt;expr-&gt;getArgs()[0]</code>
2021-03-23 06:30:51 +01:00
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Codebase/InternalCallMapHandler.php">
2022-11-21 19:26:09 +01:00
<DeprecatedClass occurrences="1">
<code>$array_atomic_type</code>
</DeprecatedClass>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$callables[0]</code>
<code>$callables[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Codebase/Methods.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$function_callables[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Diff/ClassStatementsDiffer.php">
<PossiblyUndefinedIntArrayOffset occurrences="6">
<code>$a-&gt;props[0]</code>
<code>$a-&gt;stmts[0]</code>
<code>$a_stmt_comments[0]</code>
<code>$b-&gt;props[0]</code>
<code>$b-&gt;stmts[0]</code>
<code>$b_stmt_comments[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/FileManipulation/PropertyDocblockManipulator.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$stmt-&gt;props[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2022-01-07 15:58:02 +01:00
<file src="src/Psalm/Internal/LanguageServer/LanguageClient.php">
<DocblockTypeContradiction occurrences="3">
<code>$type &lt; 1</code>
<code>$type &lt; 1 || $type &gt; 4</code>
<code>$type &gt; 4</code>
</DocblockTypeContradiction>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/LanguageServer/Message.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$pair[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/LanguageServer/ProtocolStreamReader.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/LanguageServer/Server/TextDocument.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$contentChanges[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/MethodIdentifier.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$method_id_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/PartialParserVisitor.php">
<PossiblyUndefinedIntArrayOffset occurrences="8">
<code>$cs[0]</code>
<code>$match[0]</code>
<code>$match[1]</code>
<code>$match[2]</code>
<code>$node-&gt;stmts[0]</code>
<code>$replacement_stmts[0]</code>
<code>$replacement_stmts[0]</code>
<code>$replacement_stmts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php">
<PossiblyUndefinedIntArrayOffset occurrences="4">
<code>$doc_line_parts[1]</code>
<code>$matches[0]</code>
<code>$method_tree-&gt;children[0]</code>
<code>$method_tree-&gt;children[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php">
2022-10-10 12:53:13 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
2021-03-23 06:30:51 +01:00
<code>$l[4]</code>
<code>$r[4]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/ExpressionScanner.php">
2021-10-09 23:37:04 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$node-&gt;getArgs()[0]</code>
<code>$node-&gt;getArgs()[1]</code>
2021-03-23 06:30:51 +01:00
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php">
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$line_parts[1]</code>
<code>$since_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
<RedundantCondition occurrences="1">
<code>count($line_parts) &gt; 0</code>
</RedundantCondition>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockScanner.php">
2022-11-21 19:26:09 +01:00
<DeprecatedClass occurrences="1">
<code>$array_type</code>
</DeprecatedClass>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$flow_parts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$stmt-&gt;stmts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$cs[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Internal/Provider/ReturnTypeProvider/InArrayReturnTypeProvider.php">
<DeprecatedClass occurrences="1">
<code>$array_arg_type</code>
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Scanner/PhpStormMetaScanner.php">
<DeprecatedClass occurrences="2">
<code>$array_atomic_type</code>
<code>$array_atomic_type</code>
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Type/Comparator/ArrayTypeComparator.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="6">
<code>$container_type_part</code>
<code>$container_type_part</code>
<code>$input_type_part</code>
<code>$input_type_part</code>
2022-11-26 14:33:40 +01:00
<code>TArray|TKeyedArray|TClassStringMap</code>
<code>TArray|TKeyedArray|TClassStringMap</code>
2022-11-21 19:26:09 +01:00
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Type/Comparator/AtomicTypeComparator.php">
<DeprecatedClass occurrences="2">
<code>TList::class</code>
<code>TList::class</code>
</DeprecatedClass>
</file>
2022-10-03 10:45:36 +02:00
<file src="src/Psalm/Internal/Type/Comparator/CallableTypeComparator.php">
<LessSpecificReturnStatement occurrences="1">
<code>$callable</code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType occurrences="1">
<code>TCallable|TClosure|null</code>
</MoreSpecificReturnType>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Internal/Type/SimpleAssertionReconciler.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="3">
2022-11-21 19:26:09 +01:00
<code>TList::class</code>
</DeprecatedClass>
</file>
2022-10-10 12:53:13 +02:00
<file src="src/Psalm/Internal/Type/TemplateStandinTypeReplacer.php">
<ImpureMethodCall occurrences="2">
2022-10-10 12:53:13 +02:00
<code>getClassTemplateTypes</code>
2022-10-17 13:10:12 +02:00
<code>has</code>
2022-10-10 12:53:13 +02:00
</ImpureMethodCall>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Type/TypeCombiner.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="1"/>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="6">
<code>$combination-&gt;array_type_params[1]</code>
<code>$combination-&gt;array_type_params[1]</code>
<code>$combination-&gt;array_type_params[1]</code>
<code>$combination-&gt;array_type_params[1]</code>
<code>$combination-&gt;array_type_params[1]</code>
<code>$combination-&gt;array_type_params[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Type/TypeParser.php">
<PossiblyUndefinedIntArrayOffset occurrences="8">
2021-03-23 06:30:51 +01:00
<code>$intersection_types[0]</code>
<code>$parse_tree-&gt;children[0]</code>
<code>$parse_tree-&gt;condition-&gt;children[0]</code>
<code>array_keys($offset_template_data)[0]</code>
<code>array_keys($template_type_map[$array_param_name])[0]</code>
<code>array_keys($template_type_map[$class_name])[0]</code>
<code>array_keys($template_type_map[$fq_classlike_name])[0]</code>
<code>array_keys($template_type_map[$template_param_name])[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Storage/ClassConstantStorage.php">
<MutableDependency occurrences="1">
<code>CustomMetadataTrait</code>
</MutableDependency>
</file>
<file src="src/Psalm/Storage/FunctionLikeParameter.php">
<ImpureMethodCall occurrences="4">
<code>traverse</code>
<code>traverse</code>
<code>traverse</code>
<code>traverse</code>
</ImpureMethodCall>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Type.php">
2022-11-22 17:22:26 +01:00
<DeprecatedClass occurrences="3">
<code>new TCallableList($of, null, null, $from_docblock)</code>
<code>new TList($of, $from_docblock)</code>
<code>new TNonEmptyList($of, null, null, $from_docblock)</code>
2022-11-21 19:26:09 +01:00
</DeprecatedClass>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Type/Atomic.php">
<ImpureMethodCall occurrences="12">
2022-10-10 12:53:13 +02:00
<code>classExtendsOrImplements</code>
<code>classExtendsOrImplements</code>
<code>classExtendsOrImplements</code>
<code>classOrInterfaceExists</code>
<code>classOrInterfaceExists</code>
<code>classOrInterfaceExists</code>
<code>getMappedGenericTypeParams</code>
<code>interfaceExtends</code>
<code>interfaceExtends</code>
<code>interfaceExtends</code>
<code>traverse</code>
<code>traverse</code>
2022-10-10 12:53:13 +02:00
</ImpureMethodCall>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>array_keys($template_type_map[$value])[0]</code>
</PossiblyUndefinedIntArrayOffset>
<ReferenceConstraintViolation occurrences="1">
<code>$value</code>
</ReferenceConstraintViolation>
2021-03-23 06:30:51 +01:00
</file>
2022-10-10 12:53:13 +02:00
<file src="src/Psalm/Type/Atomic/CallableTrait.php">
<ImpureMethodCall occurrences="4">
<code>replace</code>
<code>replace</code>
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Type/Atomic/GenericTrait.php">
2022-10-10 12:53:13 +02:00
<ImpureMethodCall occurrences="3">
<code>getMappedGenericTypeParams</code>
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$this-&gt;type_params[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2022-10-10 12:53:13 +02:00
<file src="src/Psalm/Type/Atomic/HasIntersectionTrait.php">
<ImpureMethodCall occurrences="1">
<code>getMostSpecificTypeFromBounds</code>
</ImpureMethodCall>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Type/Atomic/TCallableList.php">
<DeprecatedClass occurrences="1">
<code>TNonEmptyList</code>
</DeprecatedClass>
</file>
2022-10-10 12:53:13 +02:00
<file src="src/Psalm/Type/Atomic/TClassString.php">
<ImpureMethodCall occurrences="1">
<code>replace</code>
</ImpureMethodCall>
</file>
<file src="src/Psalm/Type/Atomic/TClassStringMap.php">
<ImpureMethodCall occurrences="4">
<code>getString</code>
<code>getString</code>
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
<ImpurePropertyAssignment occurrences="1">
<code>$cloned-&gt;value_param</code>
</ImpurePropertyAssignment>
</file>
<file src="src/Psalm/Type/Atomic/TConditional.php">
<ImpureMethodCall occurrences="1">
<code>replace</code>
</ImpureMethodCall>
</file>
<file src="src/Psalm/Type/Atomic/TKeyedArray.php">
<ImpureMethodCall occurrences="10">
<code>combine</code>
<code>combine</code>
<code>combineUnionTypes</code>
<code>combineUnionTypes</code>
<code>combineUnionTypes</code>
<code>combineUnionTypes</code>
<code>combineUnionTypes</code>
<code>combineUnionTypes</code>
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
<ImpurePropertyAssignment occurrences="1">
2022-10-10 12:53:13 +02:00
<code>$key_type-&gt;possibly_undefined</code>
</ImpurePropertyAssignment>
</file>
<file src="src/Psalm/Type/Atomic/TList.php">
<ImpureMethodCall occurrences="2">
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
<ImpurePropertyAssignment occurrences="1">
<code>$cloned-&gt;type_param</code>
</ImpurePropertyAssignment>
</file>
2022-11-21 19:26:09 +01:00
<file src="src/Psalm/Type/Atomic/TNonEmptyList.php">
<DeprecatedClass occurrences="1">
<code>TList</code>
</DeprecatedClass>
</file>
2022-10-10 12:53:13 +02:00
<file src="src/Psalm/Type/Atomic/TObjectWithProperties.php">
<ImpureMethodCall occurrences="2">
<code>replace</code>
<code>replace</code>
</ImpureMethodCall>
</file>
<file src="src/Psalm/Type/Atomic/TTemplateKeyOf.php">
<ImpureMethodCall occurrences="1">
<code>replace</code>
</ImpureMethodCall>
</file>
<file src="src/Psalm/Type/Atomic/TTemplatePropertiesOf.php">
<ImpureMethodCall occurrences="1">
<code>replace</code>
</ImpureMethodCall>
</file>
<file src="src/Psalm/Type/Atomic/TTemplateValueOf.php">
<ImpureMethodCall occurrences="1">
<code>replace</code>
</ImpureMethodCall>
2022-10-03 10:45:36 +02:00
</file>
<file src="src/Psalm/Type/MutableUnion.php">
2022-10-10 12:53:13 +02:00
<PossiblyUnusedProperty occurrences="7">
2022-10-03 10:45:36 +02:00
<code>$allow_mutations</code>
2022-10-10 12:53:13 +02:00
<code>$by_ref</code>
2022-10-03 10:45:36 +02:00
<code>$failed_reconciliation</code>
<code>$from_template_default</code>
<code>$has_mutations</code>
<code>$initialized_class</code>
<code>$reference_free</code>
</PossiblyUnusedProperty>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Type/Reconciler.php">
2022-02-07 13:17:12 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
2021-03-23 06:30:51 +01:00
<code>$type[0]</code>
2022-02-07 13:17:12 +01:00
<code>$type[0][0]</code>
2021-03-23 06:30:51 +01:00
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Type/TypeNode.php">
<ReferenceConstraintViolation occurrences="1">
<code>$node</code>
</ReferenceConstraintViolation>
</file>
<file src="src/Psalm/Type/TypeVisitor.php">
<ImpureMethodCall occurrences="1">
<code>visit</code>
</ImpureMethodCall>
</file>
2022-10-03 10:45:36 +02:00
<file src="src/Psalm/Type/Union.php">
<PossiblyUnusedProperty occurrences="1">
<code>$ignore_isset</code>
</PossiblyUnusedProperty>
</file>
<file src="src/Psalm/Type/UnionTrait.php">
<ImpureMethodCall occurrences="4">
<code>traverse</code>
<code>traverse</code>
<code>traverseArray</code>
<code>traverseArray</code>
</ImpureMethodCall>
2022-10-03 10:45:36 +02:00
<PossiblyUnusedMethod occurrences="2">
<code>allFloatLiterals</code>
<code>allFloatLiterals</code>
</PossiblyUnusedMethod>
</file>
2022-11-21 19:26:09 +01:00
<file src="tests/Config/Plugin/Hook/CustomArrayMapFunctionStorageProvider.php">
<DeprecatedClass occurrences="1">
<code>new Type\Atomic\TList($last_callable_arg-&gt;return_type ?? Type::getMixed())</code>
</DeprecatedClass>
</file>
2022-10-10 12:53:13 +02:00
<file src="tests/Internal/Codebase/InternalCallMapHandlerTest.php">
<UnusedPsalmSuppress occurrences="1">
<code>UndefinedMethod</code>
</UnusedPsalmSuppress>
</file>
<file src="vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php">
<PossiblyUndefinedStringArrayOffset occurrences="1">
<code>$subNodes['expr']</code>
</PossiblyUndefinedStringArrayOffset>
</file>
2021-03-23 06:30:51 +01:00
</files>