Skip to content

Fix Ci for Sulu 2.6 and adjust CI script for PHP 8.3 and Linting #246

Fix Ci for Sulu 2.6 and adjust CI script for PHP 8.3 and Linting

Fix Ci for Sulu 2.6 and adjust CI script for PHP 8.3 and Linting #246

Triggered via pull request June 10, 2024 09:39
Status Failure
Total duration 1m 26s
Artifacts

test-application.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
PHP Lint: Content/ContentTypeResolver/AccountSelectionResolver.php#L54
Parameter #1 $ids of method Sulu\Bundle\ContactBundle\Contact\AccountManager::getByIds() expects array, mixed given.
PHP Lint: Content/ContentTypeResolver/CategorySelectionResolver.php#L55
Parameter #1 $ids of method Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface::findByIds() expects array, mixed given.
PHP Lint: Content/ContentTypeResolver/ContactAccountSelectionResolver.php#L70
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PHP Lint: Content/ContentTypeResolver/ContactAccountSelectionResolver.php#L72
Parameter #1 $string1 of function strncmp expects string, mixed given.
PHP Lint: Content/ContentTypeResolver/ContactAccountSelectionResolver.php#L73
Parameter #1 $string of function substr expects string, mixed given.
PHP Lint: Content/ContentTypeResolver/ContactAccountSelectionResolver.php#L77
Parameter #1 $string1 of function strncmp expects string, mixed given.
PHP Lint: Content/ContentTypeResolver/ContactAccountSelectionResolver.php#L78
Parameter #1 $string of function substr expects string, mixed given.
PHP Lint: Content/ContentTypeResolver/ContactSelectionResolver.php#L54
Parameter #1 $ids of method Sulu\Bundle\ContactBundle\Contact\ContactManager::getByIds() expects array, mixed given.
PHP Lint: Content/ContentTypeResolver/ImageMapResolver.php#L56
Cannot access offset 'imageId' on mixed.
PHP Lint: Content/ContentTypeResolver/ImageMapResolver.php#L57
Cannot access offset 'hotspots' on mixed.
PHP 8.2 (highest)
Process completed with exit code 1.
PHP 8.3 (highest)
Process completed with exit code 1.