Skip to content

Add GitHub Actions workflow for code checks #3

Add GitHub Actions workflow for code checks

Add GitHub Actions workflow for code checks #3

Triggered via pull request December 1, 2023 14:59
Status Success
Total duration 1m 5s
Artifacts

php_linter.yml

on: pull_request
Matrix: laravel-lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
laravel-lint (8.2): app/Http/Controllers/CountryController.php#L14
Call to an undefined static method App\Models\Country::paginate().
laravel-lint (8.2): app/Http/Controllers/CountryController.php#L31
Call to an undefined static method App\Models\Country::create().
laravel-lint (8.2): app/Http/Controllers/JetsonMiniGridFrequencyController.php#L22
Call to an undefined static method App\Models\MiniGridFrequency::make().
laravel-lint (8.2): app/Http/Controllers/JetsonMiniGridPVController.php#L55
Call to an undefined method App\Http\Controllers\JetsonMiniGridPVController::formatEnergyData().
laravel-lint (8.2): app/Http/Controllers/JetsonMiniGridPVController.php#L56
Call to an undefined method App\Http\Controllers\JetsonMiniGridPVController::formatEnergyData().
laravel-lint (8.2): app/Http/Controllers/LanguageController.php#L13
Call to static method allFiles() on an unknown class File.
laravel-lint (8.2): app/Http/Controllers/PersonDocumentController.php#L17
Method App\Http\Controllers\PersonDocumentController::index() should return Illuminate\Http\Response but return statement is missing.
laravel-lint (8.2): app/Http/Controllers/PersonDocumentController.php#L27
Method App\Http\Controllers\PersonDocumentController::create() should return Illuminate\Http\Response but return statement is missing.
laravel-lint (8.2): app/Http/Controllers/PersonDocumentController.php#L38
Method App\Http\Controllers\PersonDocumentController::store() should return Illuminate\Http\Response but return statement is missing.
laravel-lint (8.2): app/Http/Controllers/PersonDocumentController.php#L47
Parameter $personDocument of method App\Http\Controllers\PersonDocumentController::show() has invalid type App\PersonDocument.
laravel-lint (8.2)
Process completed with exit code 1.
laravel-lint (8.2)
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/