Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Merge pull request #36 from tanhongit/develop #1

Merge pull request #36 from tanhongit/develop

Merge pull request #36 from tanhongit/develop #1

Triggered via push January 9, 2024 07:49
Status Failure
Total duration 1m 0s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

23 errors
PHPStan - P8.1: src/Helpers/ConfigHelper.php#L26
Cannot access offset mixed on mixed.
PHPStan - P8.1: src/Helpers/ConfigHelper.php#L30
Parameter #1 $defaults of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
PHPStan - P8.1: src/Helpers/ConfigHelper.php#L30
Parameter #2 $generatorName of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
PHPStan - P8.1: src/Http/Controllers/Asset/AssetController.php#L24
Parameter #1 $asset of function laravel_generator_dist_path expects string|null, mixed given.
PHPStan - P8.1: src/Http/Controllers/Asset/AssetController.php#L30
Offset 'extension' does not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
PHPStan - P8.1: src/Http/Controllers/Asset/AssetController.php#L30
Parameter #1 $path of function pathinfo expects string, mixed given.
PHPStan - P8.1: src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method getExtension() on mixed.
PHPStan - P8.1: src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method isFile() on mixed.
PHPStan - P8.1: src/Http/Controllers/Detect/DetectController.php#L35
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::detect() should return array<array> but returns array<int<0, max>, string>.
PHPStan - P8.1: src/Http/Controllers/Detect/DetectController.php#L42
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::getClassFromFile() has parameter $file with no type specified.
PHPStan - P8.2
The job was canceled because "ubuntu-latest_8_1" failed.
PHPStan - P8.2: src/Helpers/ConfigHelper.php#L26
Cannot access offset mixed on mixed.
PHPStan - P8.2: src/Helpers/ConfigHelper.php#L30
Parameter #1 $defaults of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
PHPStan - P8.2: src/Helpers/ConfigHelper.php#L30
Parameter #2 $generatorName of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
PHPStan - P8.2: src/Http/Controllers/Asset/AssetController.php#L24
Parameter #1 $asset of function laravel_generator_dist_path expects string|null, mixed given.
PHPStan - P8.2: src/Http/Controllers/Asset/AssetController.php#L30
Offset 'extension' does not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
PHPStan - P8.2: src/Http/Controllers/Asset/AssetController.php#L30
Parameter #1 $path of function pathinfo expects string, mixed given.
PHPStan - P8.2: src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method getExtension() on mixed.
PHPStan - P8.2: src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method isFile() on mixed.
PHPStan - P8.2: src/Http/Controllers/Detect/DetectController.php#L35
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::detect() should return array<array> but returns array<int<0, max>, string>.
PHPStan - P8.2: src/Http/Controllers/Detect/DetectController.php#L42
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::getClassFromFile() has parameter $file with no type specified.
PHPStan - P8.3
The job was canceled because "ubuntu-latest_8_1" failed.
PHPStan - P8.3
The operation was canceled.