1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/psalm-baseline.xml

743 lines
30 KiB
XML
Raw Normal View History

2021-03-23 06:30:51 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2022-01-31 14:11:06 +01:00
<files psalm-version="4.x-dev@603714518b3894a57b464920b906a13332f23c02">
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">
<DeprecatedProperty occurrences="2">
<code>$this-&gt;php_major_version</code>
<code>$this-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
<code>$matches[0]</code>
<code>$symbol_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
2022-01-31 14:11:06 +01:00
<PossiblyUnusedProperty occurrences="1">
<code>$analysis_php_version_id</code>
</PossiblyUnusedProperty>
</file>
<file src="src/Psalm/Config.php">
2022-01-23 23:26:24 +01:00
<DeprecatedMethod occurrences="3">
<code>getAdditionalFileExtensions</code>
<code>getAdditionalFileTypeAnalyzers</code>
<code>getAdditionalFileTypeScanners</code>
</DeprecatedMethod>
<DeprecatedProperty occurrences="7">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$this-&gt;load_xdebug_stub</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
</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">
2022-01-26 20:24:15 +01:00
<DeprecatedProperty occurrences="9">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
2022-01-26 20:24:15 +01:00
<code>$storage-&gt;template_extended_count</code>
<code>$storage-&gt;template_extended_count</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<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/CommentAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$line_parts[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/FunctionLike/ReturnTypeAnalyzer.php">
<DeprecatedProperty occurrences="5">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
<file src="src/Psalm/Internal/Analyzer/FunctionLikeAnalyzer.php">
<DeprecatedProperty occurrences="3">
<code>$codebase-&gt;php_major_version</code>
<code>$project_analyzer-&gt;getCodebase()-&gt;php_major_version</code>
<code>$project_analyzer-&gt;getCodebase()-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
<file src="src/Psalm/Internal/Analyzer/MethodComparator.php">
<DeprecatedProperty occurrences="9">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/ProjectAnalyzer.php">
<DeprecatedProperty occurrences="6">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<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">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$iterator_atomic_type-&gt;type_params[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Block/IfElse/IfAnalyzer.php">
<ReferenceConstraintViolation occurrences="1">
<code>$newly_reconciled_var_ids</code>
</ReferenceConstraintViolation>
</file>
2021-03-23 06:30:51 +01:00
<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/Block/TryAnalyzer.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$catch_context-&gt;assigned_var_ids += $old_catch_assigned_var_ids</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/ArrayAnalyzer.php">
<DeprecatedProperty occurrences="6">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/AssertionFinder.php">
<PossiblyUndefinedIntArrayOffset occurrences="34">
<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()[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>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/AssignmentAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
2021-09-06 23:44:22 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="1">
<code>new TPositiveInt()</code>
</DeprecatedClass>
<DeprecatedMethod occurrences="5">
2021-10-27 21:26:31 +02:00
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
2022-01-23 23:26:24 +01:00
<code>Type::getPositiveInt(true)</code>
2021-10-27 21:26:31 +02:00
</DeprecatedMethod>
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>
2022-01-23 23:26:24 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getPositiveInt()</code>
</DeprecatedMethod>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php">
<DeprecatedProperty occurrences="4">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
</DeprecatedProperty>
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">
2021-05-23 22:49:46 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="2">
2021-03-23 06:30:51 +01:00
<code>$arg_function_params[$argument_offset][0]</code>
<code>$array_type-&gt;getGenericArrayType()-&gt;getChildNodes()[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArrayFunctionArgumentsAnalyzer.php">
2021-10-27 21:26:31 +02:00
<DeprecatedClass occurrences="4">
<code>new TEmpty</code>
<code>new TEmpty</code>
<code>new TEmpty</code>
<code>new TEmpty</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>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/FunctionCallReturnTypeFetcher.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="3">
<code>new TPositiveInt</code>
<code>new TPositiveInt</code>
<code>new TPositiveInt</code>
</DeprecatedClass>
2021-10-27 21:26:31 +02:00
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
<DeprecatedProperty occurrences="3">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-10-27 21:26:31 +02:00
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/AtomicMethodCallAnalyzer.php">
<DeprecatedClass occurrences="1">
2021-12-13 04:46:22 +01:00
<code>TEmpty::class</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
<DeprecatedProperty occurrences="3">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-10-27 21:26:31 +02:00
</file>
2021-03-23 06:30:51 +01:00
<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>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticMethod/ExistingAtomicStaticCallAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
<DeprecatedProperty occurrences="3">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-10-27 21:26:31 +02:00
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/CallAnalyzer.php">
<PossiblyUndefinedIntArrayOffset occurrences="3">
<code>$assertion-&gt;rule[0]</code>
<code>$callable_arg-&gt;items[0]</code>
<code>$callable_arg-&gt;items[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/CastAnalyzer.php">
<DeprecatedMethod occurrences="2">
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
</DeprecatedMethod>
<DeprecatedProperty occurrences="1">
<code>$statements_analyzer-&gt;getCodebase()-&gt;php_major_version</code>
</DeprecatedProperty>
2021-10-27 21:26:31 +02:00
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/ExitAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ArrayFetchAnalyzer.php">
<DeprecatedClass occurrences="3">
2021-12-13 04:46:22 +01:00
<code>TMixed|TTemplateParam|TEmpty</code>
2021-10-27 21:26:31 +02:00
<code>new TEmpty</code>
<code>new TEmpty</code>
</DeprecatedClass>
<DeprecatedMethod occurrences="2">
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
2022-01-23 23:26:24 +01:00
<file src="src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ConstFetchAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getPositiveInt()</code>
</DeprecatedMethod>
</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">
2021-10-27 21:26:31 +02:00
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$atomic_return_type-&gt;type_params[2]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/ExpressionAnalyzer.php">
<DeprecatedProperty occurrences="2">
<code>$statements_analyzer-&gt;getCodebase()-&gt;php_major_version</code>
<code>$statements_analyzer-&gt;getCodebase()-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Analyzer/Statements/ReturnAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/ThrowAnalyzer.php">
<DeprecatedMethod occurrences="1">
<code>Type::getEmpty()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedMethod>
</file>
<file src="src/Psalm/Internal/Analyzer/Statements/UnsetAnalyzer.php">
<DeprecatedClass occurrences="2">
2021-12-13 04:46:22 +01:00
<code>new TEmpty</code>
<code>new TEmpty</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
</file>
2021-03-23 06:30:51 +01:00
<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/Cli/Psalm.php">
<DeprecatedProperty occurrences="2">
<code>$config-&gt;load_xdebug_stub</code>
<code>$config-&gt;load_xdebug_stub</code>
</DeprecatedProperty>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Codebase/ConstantTypeResolver.php">
<DeprecatedClass occurrences="2">
2021-12-13 04:46:22 +01:00
<code>new TEmpty()</code>
<code>new TEmpty()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
<DeprecatedMethod occurrences="2">
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Codebase/InternalCallMapHandler.php">
<DeprecatedProperty occurrences="2">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
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">
<DeprecatedProperty occurrences="2">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<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-01-26 20:24:15 +01:00
<DeprecatedProperty occurrences="3">
<code>$storage-&gt;template_extended_count</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="4">
<code>$imported_type_data[3]</code>
<code>$l[4]</code>
<code>$r[4]</code>
<code>$var_line_parts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/ExpressionResolver.php">
<DeprecatedProperty occurrences="2">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
2021-03-23 06:30:51 +01:00
<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">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$flow_parts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php">
<DeprecatedProperty occurrences="11">
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_major_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
<code>$this-&gt;codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$stmt-&gt;stmts[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php">
<DeprecatedProperty occurrences="1">
<code>$this-&gt;codebase-&gt;php_major_version</code>
</DeprecatedProperty>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$cs[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Internal/Scanner/FileScanner.php">
<DeprecatedProperty occurrences="2">
<code>$codebase-&gt;php_major_version</code>
<code>$codebase-&gt;php_minor_version</code>
</DeprecatedProperty>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Type/Comparator/ArrayTypeComparator.php">
<DeprecatedClass occurrences="2">
2021-12-13 04:46:22 +01:00
<code>new TEmpty()</code>
<code>new TEmpty()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Type/Comparator/AtomicTypeComparator.php">
<DeprecatedProperty occurrences="1">
<code>$codebase-&gt;php_major_version</code>
</DeprecatedProperty>
</file>
2022-01-23 23:26:24 +01:00
<file src="src/Psalm/Internal/Type/Comparator/IntegerRangeComparator.php">
<DeprecatedClass occurrences="1">
<code>TPositiveInt::class</code>
</DeprecatedClass>
</file>
<file src="src/Psalm/Internal/Type/Comparator/ScalarTypeComparator.php">
<DeprecatedClass occurrences="1">
<code>TPositiveInt::class</code>
</DeprecatedClass>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Internal/Type/SimpleAssertionReconciler.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="3">
2021-10-27 21:26:31 +02:00
<code>new TEmpty()</code>
<code>new TEmpty()</code>
2022-01-23 23:26:24 +01:00
<code>new TPositiveInt()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
<DeprecatedMethod occurrences="13">
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
<file src="src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php">
<DeprecatedClass occurrences="2">
<code>new TEmpty</code>
<code>new TEmpty</code>
</DeprecatedClass>
2022-01-01 14:13:53 +01:00
<DeprecatedMethod occurrences="4">
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
<code>Type::getEmpty()</code>
2021-10-27 21:26:31 +02:00
<code>Type::getEmpty()</code>
</DeprecatedMethod>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Internal/Type/TypeCombiner.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="1">
<code>new TPositiveInt()</code>
</DeprecatedClass>
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">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="1">
<code>new TPositiveInt()</code>
</DeprecatedClass>
2021-09-06 23:44:22 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="9">
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[$param_name])[0]</code>
<code>array_keys($template_type_map[$template_param_name])[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2022-01-31 23:06:25 +01:00
<file src="src/Psalm/Issue/MethodSignatureMustProvideReturnType.php">
<UnusedClass occurrences="1">
<code>MethodSignatureMustProvideReturnType</code>
</UnusedClass>
</file>
2021-11-30 21:01:26 +01:00
<file src="src/Psalm/Node/Stmt/VirtualClass.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualClass</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/Stmt/VirtualFunction.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualFunction</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/Stmt/VirtualInterface.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualInterface</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/Stmt/VirtualTrait.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualTrait</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/VirtualConst.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualConst</code>
</PropertyNotSetInConstructor>
</file>
2022-01-23 23:26:24 +01:00
<file src="src/Psalm/PluginRegistrationSocket.php">
<DeprecatedMethod occurrences="2">
<code>addFileExtension</code>
<code>addFileExtension</code>
</DeprecatedMethod>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Storage/Assertion.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$rules[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
2021-10-27 21:26:31 +02:00
<file src="src/Psalm/Type.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="4">
2021-10-27 21:26:31 +02:00
<code>new TEmpty</code>
<code>new TEmpty</code>
<code>new TEmpty()</code>
2022-01-23 23:26:24 +01:00
<code>new TPositiveInt()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
</file>
2021-03-23 06:30:51 +01:00
<file src="src/Psalm/Type/Atomic.php">
2022-01-23 23:26:24 +01:00
<DeprecatedClass occurrences="3">
2021-10-27 21:26:31 +02:00
<code>new TEmpty()</code>
<code>new THtmlEscapedString()</code>
2022-01-23 23:26:24 +01:00
<code>new TPositiveInt()</code>
2021-10-27 21:26:31 +02:00
</DeprecatedClass>
2021-03-23 06:30:51 +01:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>array_keys($template_type_map[$value])[0]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Type/Atomic/GenericTrait.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$this-&gt;type_params[1]</code>
</PossiblyUndefinedIntArrayOffset>
</file>
<file src="src/Psalm/Type/Reconciler.php">
2021-10-27 21:26:31 +02:00
<DeprecatedClass occurrences="1">
<code>new TEmpty</code>
</DeprecatedClass>
2021-05-23 22:49:46 +02:00
<PossiblyUndefinedIntArrayOffset occurrences="1">
2021-03-23 06:30:51 +01:00
<code>$type[0]</code>
</PossiblyUndefinedIntArrayOffset>
</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>