Skip to content

build(deps-dev): update phpstan/phpstan requirement from ^1.10 to ^2.0 #1426

build(deps-dev): update phpstan/phpstan requirement from ^1.10 to ^2.0

build(deps-dev): update phpstan/phpstan requirement from ^1.10 to ^2.0 #1426

Triggered via pull request November 18, 2024 22:22
Status Failure
Total duration 4m 24s
Artifacts

test.yml

on: pull_request
Matrix: cs-fix
Matrix: tests-swoole
Matrix: tests-swow
Fit to window
Zoom out
Zoom in

Annotations

44 errors
Test on PHP8.1 Swow-develop: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.1 Swow-develop: 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.
Test on PHP8.1 Swow-develop: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.1 Swow-develop
Process completed with exit code 1.
Test on PHP8.2 Swow-develop: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.2 Swow-develop: 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.
Test on PHP8.2 Swow-develop: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.2 Swow-develop
Process completed with exit code 1.
Test on PHP8.3 Swow-develop: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.3 Swow-develop: 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.
Test on PHP8.3 Swow-develop: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.3 Swow-develop
Process completed with exit code 1.
Test on PHP8.3 Swoole-master: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.3 Swoole-master: 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.
Test on PHP8.3 Swoole-master: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.3 Swoole-master
Process completed with exit code 1.
Test on PHP8.2 Swoole-master: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.2 Swoole-master: 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.
Test on PHP8.2 Swoole-master: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.2 Swoole-master
Process completed with exit code 1.
Test on PHP8.2 Swoole-v5.0.3: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.2 Swoole-v5.0.3: 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.
Test on PHP8.2 Swoole-v5.0.3: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.2 Swoole-v5.0.3
Process completed with exit code 1.
Test on PHP8.1 Swoole-master: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.1 Swoole-master: 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.
Test on PHP8.1 Swoole-master: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.1 Swoole-master
Process completed with exit code 1.
Test on PHP8.1 Swoole-v5.1.5: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.1 Swoole-v5.1.5: 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.
Test on PHP8.1 Swoole-v5.1.5: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.1 Swoole-v5.1.5
Process completed with exit code 1.
Test on PHP8.2 Swoole-v5.1.5: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.2 Swoole-v5.1.5: 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.
Test on PHP8.2 Swoole-v5.1.5: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.2 Swoole-v5.1.5
Process completed with exit code 1.
Test on PHP8.1 Swoole-v5.0.3: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.1 Swoole-v5.0.3: 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.
Test on PHP8.1 Swoole-v5.0.3: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.1 Swoole-v5.0.3
Process completed with exit code 1.
Test on PHP8.3 Swoole-v5.1.5: app/Http/Common/Middleware/OperationMiddleware.php#L64
Strict comparison using !== between OpenApi\Annotations\Operation|null and '@OA\\Generator:…' will always evaluate to true.
Test on PHP8.3 Swoole-v5.1.5: 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.
Test on PHP8.3 Swoole-v5.1.5: config/container.php#L22
Instanceof between Hyperf\Di\Container and Psr\Container\ContainerInterface will always evaluate to true.
Test on PHP8.3 Swoole-v5.1.5
Process completed with exit code 1.