Skip to content

PHPLIB-1183: Add benchmarks for codecs #1440

PHPLIB-1183: Add benchmarks for codecs

PHPLIB-1183: Add benchmarks for codecs #1440

Triggered via pull request August 25, 2023 11:43
Status Failure
Total duration 30s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpcs: benchmark/BSON/DocumentBench.php#L9
Expected 0 lines between same types of use statement, found 1.
phpcs: benchmark/BSON/DocumentBench.php#L10
Expected 1 line between different types of use statement, found 0.
phpcs: benchmark/Fixtures/PassThruCodec.php#L16
Method \MongoDB\Benchmark\Fixtures\PassThruCodec::canDecode() does not have parameter type hint nor @param annotation for its parameter $value.
phpcs: benchmark/Fixtures/PassThruCodec.php#L21
Method \MongoDB\Benchmark\Fixtures\PassThruCodec::canEncode() does not have parameter type hint nor @param annotation for its parameter $value.
phpcs: benchmark/Fixtures/PassThruCodec.php#L26
Method \MongoDB\Benchmark\Fixtures\PassThruCodec::decode() does not have parameter type hint nor @param annotation for its parameter $value.
phpcs: benchmark/Fixtures/PassThruCodec.php#L35
Method \MongoDB\Benchmark\Fixtures\PassThruCodec::encode() does not have parameter type hint nor @param annotation for its parameter $value.
phpcs: benchmark/ReadLargeDocumentBench.php#L9
Type MongoDB\Codec\DecodeIfSupported is not used in this file.
phpcs: benchmark/ReadLargeDocumentBench.php#L10
Type MongoDB\Codec\DocumentCodec is not used in this file.
phpcs: benchmark/ReadLargeDocumentBench.php#L11
Type MongoDB\Codec\EncodeIfSupported is not used in this file.
phpcs: benchmark/ReadLargeDocumentBench.php#L13
Type MongoDB\Exception\UnsupportedValueException is not used in this file.