The codebase now follows cleaner Laravel standards with named routes … #26
Annotations
5 errors
|
Run PHPStan
Process completed with exit code 1.
|
|
Run PHPStan:
src/Services/DocumentationService.php#L713
Method Xoshbin\Pertuk\Services\DocumentationService::buildAlternates() should return array{array<int, array{locale: string, label: string, url: string, active: bool}>, string} but returns list<array{locale: mixed, label: mixed, url: string, active: bool}>.
|
|
Run PHPStan:
src/Http/Controllers/LocaleController.php#L45
Call to deprecated method get() of class Illuminate\Http\Request:
since Symfony 7.4, use properties `->attributes`, `query` or `request` directly instead
|
|
Run PHPStan:
config/pertuk.php#L50
Called 'env' outside of the config directory which returns null when the config is cached, use 'config'.
|
|
Run PHPStan:
config/pertuk.php#L49
Called 'env' outside of the config directory which returns null when the config is cached, use 'config'.
|
Loading