Skip to content

Added phpstan

Added phpstan #743

Triggered via pull request June 13, 2024 06:57
Status Failure
Total duration 4m 20s
Artifacts

test-cc.yml

on: pull_request
phpunit-code-coverage
4m 12s
phpunit-code-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L52
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L69
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L87
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L104
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/ApiResponseCacheTest.php#L121
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage: tests/APIs/CourseAdminApiTest.php#L39
Expected response status code [201] but received 500. Failed asserting that 500 is identical to 201.
phpunit-code-coverage: tests/APIs/CourseAdminApiTest.php#L56
Expected response status code [201] but received 500. Failed asserting that 500 is identical to 201.
phpunit-code-coverage: tests/APIs/CourseAdminApiTest.php#L79
Expected response status code [201] but received 500. Failed asserting that 500 is identical to 201.
phpunit-code-coverage: tests/APIs/CourseAdminApiTest.php#L100
Expected response status code [201] but received 500. Failed asserting that 500 is identical to 201.
phpunit-code-coverage: tests/APIs/CourseAdminApiTest.php#L215
Expected response status code [200] but received 500. Failed asserting that 500 is identical to 200.
phpunit-code-coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpunit-code-coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/