Skip to content

feat: Integrate PSR LoggerInterface and add logging #696

feat: Integrate PSR LoggerInterface and add logging

feat: Integrate PSR LoggerInterface and add logging #696

Triggered via pull request September 25, 2024 08:47
Status Failure
Total duration 30s
Artifacts

static-analysis.yml

on: pull_request
Lint & Analyse
23s
Lint & Analyse
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
UnusedMethodCall: src/Authentication/BasicAuth.php#L51
src/Authentication/BasicAuth.php:51:25: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/BasicAuth.php#L71
src/Authentication/BasicAuth.php:71:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/BasicAuth.php#L74
src/Authentication/BasicAuth.php:74:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/BasicAuth.php#L85
src/Authentication/BasicAuth.php:85:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/KerberosAuth.php#L50
src/Authentication/KerberosAuth.php:50:25: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/KerberosAuth.php#L68
src/Authentication/KerberosAuth.php:68:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/KerberosAuth.php#L71
src/Authentication/KerberosAuth.php:71:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/KerberosAuth.php#L82
src/Authentication/KerberosAuth.php:82:29: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
UnusedMethodCall: src/Authentication/NoAuth.php#L49
src/Authentication/NoAuth.php:49:25: UnusedMethodCall: The call to Laudis\Neo4j\Common\Neo4jLogger::log is not used (see https://psalm.dev/209)
PossiblyNullReference: src/Authentication/NoAuth.php#L66
src/Authentication/NoAuth.php:66:28: PossiblyNullReference: Cannot call method log on possibly null value (see https://psalm.dev/083)
Lint & Analyse
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
MixedArgument: src/Authentication/OpenIDConnectAuth.php#L46
src/Authentication/OpenIDConnectAuth.php:46:29: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Authentication/OpenIDConnectAuth.php#L64
src/Authentication/OpenIDConnectAuth.php:64:33: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Authentication/OpenIDConnectAuth.php#L67
src/Authentication/OpenIDConnectAuth.php:67:33: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Authentication/OpenIDConnectAuth.php#L77
src/Authentication/OpenIDConnectAuth.php:77:33: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L70
src/Bolt/Session.php:70:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L99
src/Bolt/Session.php:99:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L110
src/Bolt/Session.php:110:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L126
src/Bolt/Session.php:126:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L142
src/Bolt/Session.php:142:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/Bolt/Session.php#L153
src/Bolt/Session.php:153:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)