build(deps-dev): update phpstan/phpstan requirement from ^1.10 to ^2.0 #1425
Annotations
4 errors
Run PHPStan:
app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
|
Run PHPStan:
app/Service/IService.php#L23
Type mixed in generic type App\Repository\IRepository<mixed> in PHPDoc tag @Property for property App\Service\IService::$repository is not subtype of template type T of Hyperf\DbConnection\Model\Model of class App\Repository\IRepository.
|
Run PHPStan:
config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
|
Run PHPStan
Process completed with exit code 1.
|
Loading