PHPLIB-1243: Adapter to pipe ext-mongodb logs to a PSR-3 logger #912
Triggered via pull request
September 25, 2023 18:33
Status
Failure
Total duration
1m 38s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
OverriddenInterfaceConstant:
src/PsrLogAdapter.php#L42
src/PsrLogAdapter.php:42:18: OverriddenInterfaceConstant: MongoDB\PsrLogAdapter::LEVEL_CRITICAL cannot override constant from MongoDB\Driver\Monitoring\LogSubscriber (see https://psalm.dev/306)
|
InvalidClassConstantType:
src/PsrLogAdapter.php#L42
src/PsrLogAdapter.php:42:18: InvalidClassConstantType: The type "2" for MongoDB\PsrLogAdapter::LEVEL_CRITICAL does not satisfy the type "1" inherited from MongoDB\Driver\Monitoring\LogSubscriber::LEVEL_CRITICAL (see https://psalm.dev/309)
|
OverriddenInterfaceConstant:
src/PsrLogAdapter.php#L43
src/PsrLogAdapter.php:43:18: OverriddenInterfaceConstant: MongoDB\PsrLogAdapter::LEVEL_ERROR cannot override constant from MongoDB\Driver\Monitoring\LogSubscriber (see https://psalm.dev/306)
|
InvalidClassConstantType:
src/PsrLogAdapter.php#L43
src/PsrLogAdapter.php:43:18: InvalidClassConstantType: The type "3" for MongoDB\PsrLogAdapter::LEVEL_ERROR does not satisfy the type "0" inherited from MongoDB\Driver\Monitoring\LogSubscriber::LEVEL_ERROR (see https://psalm.dev/309)
|
OverriddenInterfaceConstant:
src/PsrLogAdapter.php#L46
src/PsrLogAdapter.php:46:18: OverriddenInterfaceConstant: MongoDB\PsrLogAdapter::LEVEL_INFO cannot override constant from MongoDB\Driver\Monitoring\LogSubscriber (see https://psalm.dev/306)
|
InvalidClassConstantType:
src/PsrLogAdapter.php#L46
src/PsrLogAdapter.php:46:18: InvalidClassConstantType: The type "6" for MongoDB\PsrLogAdapter::LEVEL_INFO does not satisfy the type "4" inherited from MongoDB\Driver\Monitoring\LogSubscriber::LEVEL_INFO (see https://psalm.dev/309)
|
OverriddenInterfaceConstant:
src/PsrLogAdapter.php#L47
src/PsrLogAdapter.php:47:18: OverriddenInterfaceConstant: MongoDB\PsrLogAdapter::LEVEL_DEBUG cannot override constant from MongoDB\Driver\Monitoring\LogSubscriber (see https://psalm.dev/306)
|
InvalidClassConstantType:
src/PsrLogAdapter.php#L47
src/PsrLogAdapter.php:47:18: InvalidClassConstantType: The type "7" for MongoDB\PsrLogAdapter::LEVEL_DEBUG does not satisfy the type "5" inherited from MongoDB\Driver\Monitoring\LogSubscriber::LEVEL_DEBUG (see https://psalm.dev/309)
|
InvalidArrayOffset:
src/PsrLogAdapter.php#L132
src/PsrLogAdapter.php:132:21: InvalidArrayOffset: Cannot access value on variable MongoDB\PsrLogAdapter::SPEC_TO_PSR using a string offset, expecting int<0, 8> (see https://psalm.dev/115)
|
Psalm
Process completed with exit code 2.
|