refactor: Remove profiler integration #48
static-analysis.yml
on: pull_request
Lint & Analyse
16s
Annotations
6 warnings
Lint & Analyse
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint & Analyse
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
RiskyTruthyFalsyComparison:
src/ClientFactory.php#L59
src/ClientFactory.php:59:13: RiskyTruthyFalsyComparison: Operand of type array{acquire_connection_timeout?: int|null, pool_size?: int|null, profiling?: bool, ssl?: array{mode: 'disable'|'enable'|'enable_with_self_signed'|'from_url'|null, verify_peer?: bool|null}|null, user_agent?: null|string}|null contains type array{acquire_connection_timeout?: int|null, pool_size?: int|null, profiling?: bool, ssl?: array{mode: 'disable'|'enable'|'enable_with_self_signed'|'from_url'|null, verify_peer?: bool|null}|null, user_agent?: null|string}, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/ClientFactory.php#L63
src/ClientFactory.php:63:13: RiskyTruthyFalsyComparison: Operand of type array{access_mode?: 'read'|'write'|null, database?: null|string, fetch_size?: int|null}|null contains type array{access_mode?: 'read'|'write'|null, database?: null|string, fetch_size?: int|null}, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/ClientFactory.php#L67
src/ClientFactory.php:67:13: RiskyTruthyFalsyComparison: Operand of type array{timeout?: int|null}|null contains type array{timeout?: int|null}, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/ClientFactory.php#L80
src/ClientFactory.php:80:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|