laudis-technologies/neo4j-php-client

View on GitHub
src/Bolt/ProtocolFactory.php

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

        if (!($protocol instanceof V4_4 || $protocol instanceof V5 || $protocol instanceof V5_1 || $protocol instanceof V5_2 || $protocol instanceof V5_3 || $protocol instanceof V5_4)) {
            throw new RuntimeException('Client only supports bolt version 4.4 and ^5.0');
        }
Severity: Major
Found in src/Bolt/ProtocolFactory.php - About 40 mins to fix

There are no issues that match your filters.

Category
Status