Skip to content

Adds student research applications charts #186

Adds student research applications charts

Adds student research applications charts #186

Triggered via pull request October 2, 2024 20:12
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

on: pull_request
Matrix: Profiles Security Checks
Matrix: profiles_tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Profiles Security Checks (8.3)
Process completed with exit code 1.
InvalidReturnType: app/Helpers/Semester.php#L136
app/Helpers/Semester.php:136:16: InvalidReturnType: The declared return type 'array<array-key, mixed>' for App\Helpers\Semester::sortCollectionWithSemestersKeyChronologically is incorrect, got 'pure-Closure(mixed, mixed):(-1|0|1)' (see https://psalm.dev/011)
InvalidReturnStatement: app/Helpers/Semester.php#L139
app/Helpers/Semester.php:139:16: InvalidReturnStatement: The inferred type 'pure-Closure(mixed, mixed):(-1|0|1)' does not match the declared return type 'array<array-key, mixed>' for App\Helpers\Semester::sortCollectionWithSemestersKeyChronologically (see https://psalm.dev/128)
InvalidReturnType: app/Helpers/Semester.php#L165
app/Helpers/Semester.php:165:16: InvalidReturnType: The declared return type 'array<array-key, mixed>' for App\Helpers\Semester::sortSemestersChronologically is incorrect, got 'bool' (see https://psalm.dev/011)
InvalidReturnStatement: app/Helpers/Semester.php#L169
app/Helpers/Semester.php:169:9: InvalidReturnStatement: The inferred type 'bool' does not match the declared return type 'array<array-key, mixed>' for App\Helpers\Semester::sortSemestersChronologically (see https://psalm.dev/128)
InvalidArgument: app/Helpers/Semester.php#L169
app/Helpers/Semester.php:169:27: InvalidArgument: Argument 2 of usort expects callable(mixed, mixed):int, but pure-Closure(mixed, mixed):(float|int) provided (see https://psalm.dev/004)
InvalidOperand: app/Helpers/Semester.php#L179
app/Helpers/Semester.php:179:24: InvalidOperand: Cannot perform a numeric operation with non-numeric types string and string (see https://psalm.dev/058)
InvalidReturnType: app/Http/Controllers/InsightsController.php#L26
app/Http/Controllers/InsightsController.php:26:46: InvalidReturnType: The declared return type 'Illuminate\Contracts\View\View' for App\Http\Controllers\InsightsController::index is incorrect, got 'Illuminate\Contracts\View\View|Illuminate\View\View' (see https://psalm.dev/011)
InvalidReturnStatement: app/Http/Controllers/InsightsController.php#L34
app/Http/Controllers/InsightsController.php:34:16: InvalidReturnStatement: The inferred type 'Illuminate\Contracts\View\View|Illuminate\View\View' does not match the declared return type 'Illuminate\Contracts\View\View' for App\Http\Controllers\InsightsController::index (see https://psalm.dev/128)
UndefinedMethod: app/Http/Livewire/AcceptedStudentAppsPercentageChart.php#L44
app/Http/Livewire/AcceptedStudentAppsPercentageChart.php:44:25: UndefinedMethod: Method App\Insights\StudentApplications\StudentDataInsight::transformDataAcceptedInCurrentSeason does not exist (see https://psalm.dev/022)
UndefinedDocblockClass: app/Insights/StudentApplications/StudentDataInsight.php#L122
app/Insights/StudentApplications/StudentDataInsight.php:122:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named App\Insights\StudentApplications\Illuminate\Database\Eloquent\Builder does not exist (see https://psalm.dev/200)
Profiles Security Checks (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Profiles Security Checks (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-node@v3, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Profiles Security Checks (8.3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Profiles Tests (PHP 8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/