chore(deps): update phpstan packages to v2 (major) #531
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
10 errors and 1 warning
Static Analysis with PHPStan (8.2):
src/Client/Http/RequestFactory.php#L104
Parameter #1 $type of method SimPod\ClickHouseClient\Param\ParamValueConverterRegistry::get() expects SimPod\ClickHouseClient\Sql\Type|string, mixed given.
|
Static Analysis with PHPStan (8.2):
src/Client/Http/RequestFactory.php#L104
Parameter #2 of closure expects SimPod\ClickHouseClient\Sql\Type|string|null, mixed given.
|
Static Analysis with PHPStan (8.2):
src/Format/Json.php#L19
Method SimPod\ClickHouseClient\Format\Json::output() should return SimPod\ClickHouseClient\Output\Json<T> but returns SimPod\ClickHouseClient\Output\Json<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/JsonCompact.php#L19
Method SimPod\ClickHouseClient\Format\JsonCompact::output() should return SimPod\ClickHouseClient\Output\JsonCompact<T> but returns SimPod\ClickHouseClient\Output\JsonCompact<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/JsonEachRow.php#L19
Method SimPod\ClickHouseClient\Format\JsonEachRow::output() should return SimPod\ClickHouseClient\Output\JsonEachRow<T> but returns SimPod\ClickHouseClient\Output\JsonEachRow<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/Null_.php#L19
Method SimPod\ClickHouseClient\Format\Null_::output() should return SimPod\ClickHouseClient\Output\Null_<T> but returns SimPod\ClickHouseClient\Output\Null_<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/Pretty.php#L18
Method SimPod\ClickHouseClient\Format\Pretty::output() should return SimPod\ClickHouseClient\Output\Basic<T> but returns SimPod\ClickHouseClient\Output\Basic<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/PrettySpace.php#L18
Method SimPod\ClickHouseClient\Format\PrettySpace::output() should return SimPod\ClickHouseClient\Output\Basic<T> but returns SimPod\ClickHouseClient\Output\Basic<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Format/TabSeparated.php#L18
Method SimPod\ClickHouseClient\Format\TabSeparated::output() should return SimPod\ClickHouseClient\Output\Basic<T> but returns SimPod\ClickHouseClient\Output\Basic<mixed>.
|
Static Analysis with PHPStan (8.2):
src/Output/Json.php#L28
@readonly property cannot have a default value.
|
Static Analysis with PHPStan (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|