Skip to content

Add AI-powered chart creation and configuration assistant #911

Add AI-powered chart creation and configuration assistant

Add AI-powered chart creation and configuration assistant #911

Triggered via push March 3, 2026 23:28
Status Failure
Total duration 1m 15s
Artifacts

test-php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHP Lint
Process completed with exit code 2.
PHPStan: classes/Visualizer/Module/AI.php#L430
Method Visualizer_Module_AI::_callGemini() has parameter $chat_history with no value type specified in iterable type array.
PHPStan: classes/Visualizer/Module/AI.php#L328
Method Visualizer_Module_AI::_callOpenAI() return type has no value type specified in iterable type array.
PHPStan: classes/Visualizer/Module/AI.php#L328
Method Visualizer_Module_AI::_callOpenAI() has parameter $chat_history with no value type specified in iterable type array.
PHPStan: classes/Visualizer/Module/AI.php#L189
Method Visualizer_Module_AI::_callAIModel() return type has no value type specified in iterable type array.
PHPStan: classes/Visualizer/Module/AI.php#L189
Method Visualizer_Module_AI::_callAIModel() has parameter $chat_history with no value type specified in iterable type array.
PHPStan: classes/Visualizer/Module/AI.php#L125
Parameter #2 $newvalue of function ini_set expects string, int given.
PHPStan: classes/Visualizer/Module/AI.php#L123
Method Visualizer_Module_AI::analyzeChartImage() has no return type specified.
PHPStan: classes/Visualizer/Module/AI.php#L72
Method Visualizer_Module_AI::generateConfiguration() has no return type specified.
PHPStan: classes/Visualizer/Module/AI.php#L60
Found usage of constant DOING_AJAX. Use wp_doing_ajax() instead.
PHPStan: classes/Visualizer/Module/AI.php#L59
Method Visualizer_Module_AI::suppressAjaxWarnings() has no return type specified.