Skip to content

Fix compatibility issues for merging with development branch #912

Fix compatibility issues for merging with development branch

Fix compatibility issues for merging with development branch #912

Triggered via push March 3, 2026 23:31
Status Failure
Total duration 54s
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#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.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L667
Access to constant CF_PERMISSIONS on an unknown class Visualizer_Pro.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L472
Access to constant CF_PERMISSIONS on an unknown class Visualizer_Pro.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Access to constant CF_PERMISSIONS on an unknown class Visualizer_PRO\.$# (class.notFound) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.