Skip to content

Huge performance improvements for taint analysis #838

Huge performance improvements for taint analysis

Huge performance improvements for taint analysis #838

Triggered via pull request February 28, 2025 21:50
Status Failure
Total duration 2m 18s
Artifacts

macos-scan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PossiblyNullArrayOffset: src/Psalm/Internal/Codebase/TaintFlowGraph.php#L263
src/Psalm/Internal/Codebase/TaintFlowGraph.php:263:21: PossiblyNullArrayOffset: Cannot access value on variable $generated_source->processing_specialized_descendants_of[$source->specialization_key] using possibly null offset null|string (see https://psalm.dev/125)
UnusedVariable: src/Psalm/Internal/Codebase/TaintFlowGraph.php#L301
src/Psalm/Internal/Codebase/TaintFlowGraph.php:301:73: UnusedVariable: $specialization is never referenced or the value is not used (see https://psalm.dev/077)
TypeDoesNotContainType: src/Psalm/Internal/Codebase/TaintFlowGraph.php#L524
src/Psalm/Internal/Codebase/TaintFlowGraph.php:524:40: TypeDoesNotContainType: Type 65536 for $matching_taint is always !=int(65536) (see https://psalm.dev/056)
UnusedBaselineEntry: src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentsAnalyzer.php#L1
src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentsAnalyzer.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php#L1
src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/Psalm/Internal/Codebase/TaintFlowGraph.php#L1
src/Psalm/Internal/Codebase/TaintFlowGraph.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 5 extra entries. (see https://psalm.dev/316)
build
Process completed with exit code 2.