Skip to content

[BUGFIX] Correct API Responses #1058

[BUGFIX] Correct API Responses

[BUGFIX] Correct API Responses #1058

Triggered via pull request November 29, 2024 11:54
Status Failure
Total duration 1m 32s
Artifacts 1

continuous-integration.yml

on: pull_request
Composer validation
29s
Composer validation
JSON Lint
40s
JSON Lint
YAML Lint
29s
YAML Lint
PHP Coding Standards
32s
PHP Coding Standards
PHP Stan
35s
PHP Stan
Deployment  /  Deploy
Deployment / Deploy
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L102
Method App\Tests\Functional\Controller\Api\ApiCase::assertArrayStructure() has no return type specified.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L102
Method App\Tests\Functional\Controller\Api\ApiCase::assertArrayStructure() has parameter $actualArray with no type specified.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L102
Method App\Tests\Functional\Controller\Api\ApiCase::assertArrayStructure() has parameter $expectedStructure with no value type specified in iterable type array.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L107
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L108
Parameter #1 $expectedStructure of method App\Tests\Functional\Controller\Api\ApiCase::assertArrayStructure() expects array, mixed given.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L116
Parameter #2 $array of function array_key_exists expects array, mixed given.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L121
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L122
Parameter #1 $expectedStructure of method App\Tests\Functional\Controller\Api\ApiCase::assertArrayStructure() expects array, mixed given.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L129
Parameter #1 $type of method App\Tests\Functional\Controller\Api\ApiCase::assertIsType() expects string, mixed given.
PHP Stan: tests/Functional/Controller/Api/ApiCase.php#L133
Dynamic call to static method PHPUnit\Framework\Assert::fail().
Tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
logs Expired
141 KB