Skip to content

feat: Integrate PSR LoggerInterface and add logging #697

feat: Integrate PSR LoggerInterface and add logging

feat: Integrate PSR LoggerInterface and add logging #697

Triggered via pull request September 25, 2024 09:02
@exaby73exaby73
synchronize #227
feat/logger
Status Failure
Total duration 39s
Artifacts

static-analysis.yml

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

Annotations

8 errors and 9 warnings
UndefinedClass: src/Bolt/Session.php#L70
src/Bolt/Session.php:70:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L99
src/Bolt/Session.php:99:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L110
src/Bolt/Session.php:110:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L126
src/Bolt/Session.php:126:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L142
src/Bolt/Session.php:142:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L153
src/Bolt/Session.php:153:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
UndefinedClass: src/Bolt/Session.php#L171
src/Bolt/Session.php:171:34: UndefinedClass: Class, interface or enum named _PHPStan_9815bbba4\Psr\Log\LogLevel does not exist (see https://psalm.dev/019)
Lint & Analyse
Process completed with exit code 2.
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/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)
MixedArgument: src/Bolt/Session.php#L171
src/Bolt/Session.php:171:34: MixedArgument: Argument 1 of Laudis\Neo4j\Common\Neo4jLogger::log cannot be mixed, expecting string (see https://psalm.dev/030)