Adds student research applications charts #186
Annotations
10 errors and 1 warning
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
Static analyze code (PSALM):
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)
|
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/
|
Loading