Skip to content

Update composer lock #148

Update composer lock

Update composer lock #148

Triggered via push June 21, 2024 03:46
Status Failure
Total duration 44s
Artifacts

php-ci-tests.yml

on: push
PHP Code Sniffer
20s
PHP Code Sniffer
PHP Static Analysis
35s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP Static Analysis: classes/Services/Restrictions.php#L321
Offset bool on array<string, array<ContentControl\Models\Restriction>> on left side of ?? does not exist.
PHP Static Analysis: classes/Services/Restrictions.php#L324
Negated boolean expression is always false.
PHP Static Analysis: classes/Services/Restrictions.php#L324
Offset false on array<string, array<ContentControl\Models\Restriction>> in isset() does not exist.
PHP Static Analysis: classes/Services/Restrictions.php#L324
Result of && is always false.
PHP Static Analysis: classes/Services/Restrictions.php#L325
Negated boolean expression is always false.
PHP Static Analysis: classes/Services/Restrictions.php#L340
Expected 4 @param tags, found 3.
PHP Static Analysis: classes/Services/Restrictions.php#L383
Expected 3 @param tags, found 4.
PHP Static Analysis: inc/deprecated/class.restrictions.php#L34
Method JP\CC\Site\Restrictions::restricted_content() should return string but returns array<string, mixed>|false.
PHP Static Analysis: inc/functions/compatibility.php#L48
Function ContentControl\is_rest() should return bool but returns null.
PHP Static Analysis: inc/functions/developers.php#L73
Cannot call method user_meets_requirements() on array<ContentControl\Restriction>|ContentControl\Restriction.