diff --git a/.env b/.env deleted file mode 100644 index bb59562c..00000000 --- a/.env +++ /dev/null @@ -1,4 +0,0 @@ -# Database Configuration -NEO4J_ADDRESS=***REMOVED***/ -NEO4J_USERNAME=neo4j -NEO4J_PASSWORD=O***REMOVED*** diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..b8463456 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +# Database Configuration +NEO4J_ADDRESS=add your address here +NEO4J_USERNAME=add your username here +NEO4J_PASSWORD=add your password here diff --git a/.gitignore b/.gitignore index 6dd2a04a..896c23c1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ test coverage xml-coverage -composer.lock \ No newline at end of file +composer.lock + +.env \ No newline at end of file diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php deleted file mode 100644 index 28bf20e3..00000000 --- a/.php-cs-fixer.php +++ /dev/null @@ -1,18 +0,0 @@ -setRiskyAllowed(true) // Allow risky fixers - ->setRules([ - '@PSR12' => true, - 'strict_param' => true, // This is a risky rule - ]) - ->setFinder( - Finder::create() - ->in(__DIR__) - ->exclude([ - 'vendor', - ]) - ); diff --git a/clover.xml b/clover.xml deleted file mode 100644 index 815f7b0f..00000000 --- a/clover.xml +++ /dev/null @@ -1,529 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cobertura.xml b/cobertura.xml deleted file mode 100644 index 7b3d6d47..00000000 --- a/cobertura.xml +++ /dev/null @@ -1,1169 +0,0 @@ - - - - - /home/pratiksha/dev/Neo4j-Client/src - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/coverage.php b/coverage.php deleted file mode 100644 index 051fb1c0..00000000 Binary files a/coverage.php and /dev/null differ diff --git a/crap4j.xml b/crap4j.xml deleted file mode 100644 index dccb0a8f..00000000 --- a/crap4j.xml +++ /dev/null @@ -1,906 +0,0 @@ - - - - 2025-03-03 08:46:42 - - Method Crap Stats - 81 - 0 - 0 - 154.05 - 0 - - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BasicAuthentication - __construct - __construct(?string $username, ?string $password) - __construct(?string $username, ?string $password) - 3 - 3 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BasicAuthentication - authenticate - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BasicAuthentication - getHeader - getHeader(): string - getHeader(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BasicAuthentication - getType - getType(): string - getType(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BearerAuthentication - __construct - __construct(string $token) - __construct(string $token) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BearerAuthentication - authenticate - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BearerAuthentication - getHeader - getHeader(): string - getHeader(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\BearerAuthentication - getType - getType(): string - getType(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\NoAuth - getHeader - getHeader(): string - getHeader(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\NoAuth - getType - getType(): string - getType(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Authentication - Neo4j\QueryAPI\Authentication\NoAuth - authenticate - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - authenticate(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Configuration - __construct - __construct(string $baseUri, string $database, bool $includeCounters, Neo4j\QueryAPI\Objects\Bookmarks $bookmarks, Neo4j\QueryAPI\Enums\AccessMode $accessMode) - __construct(string $baseUri, string $database, bool $includeCounters, Neo4j\QueryAPI\Objects\Bookmarks $bookmarks, Neo4j\QueryAPI\Enums\AccessMode $accessMode) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - __construct - __construct(array $errorDetails, int $statusCode, ?Throwable $previous) - __construct(array $errorDetails, int $statusCode, ?Throwable $previous) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - fromNeo4jResponse - fromNeo4jResponse(array $response, ?Throwable $exception): self - fromNeo4jResponse(array $response, ?Throwable $exception): self - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - getErrorCode - getErrorCode(): string - getErrorCode(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - getType - getType(): ?string - getType(): ?string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - getSubType - getSubType(): ?string - getSubType(): ?string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Exception - Neo4j\QueryAPI\Exception\Neo4jException - getName - getName(): ?string - getName(): ?string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - __construct - __construct(Psr\Http\Client\ClientInterface $client, Neo4j\QueryAPI\ResponseParser $responseParser, Neo4j\QueryAPI\Neo4jRequestFactory $requestFactory, Neo4j\QueryAPI\Configuration $config) - __construct(Psr\Http\Client\ClientInterface $client, Neo4j\QueryAPI\ResponseParser $responseParser, Neo4j\QueryAPI\Neo4jRequestFactory $requestFactory, Neo4j\QueryAPI\Configuration $config) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - login - login(string $address, ?Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth, ?Neo4j\QueryAPI\Configuration $config): self - login(string $address, ?Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth, ?Neo4j\QueryAPI\Configuration $config): self - 5 - 5 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - create - create(Neo4j\QueryAPI\Configuration $configuration, Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth): self - create(Neo4j\QueryAPI\Configuration $configuration, Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth): self - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - getConfig - getConfig(): Neo4j\QueryAPI\Configuration - getConfig(): Neo4j\QueryAPI\Configuration - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - run - run(string $cypher, array $parameters): Neo4j\QueryAPI\Results\ResultSet - run(string $cypher, array $parameters): Neo4j\QueryAPI\Results\ResultSet - 2.26 - 2 - 60 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - beginTransaction - beginTransaction(): Neo4j\QueryAPI\Transaction - beginTransaction(): Neo4j\QueryAPI\Transaction - 2.01 - 2 - 86.67 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jQueryAPI - handleRequestException - handleRequestException(Psr\Http\Client\RequestExceptionInterface $e): void - handleRequestException(Psr\Http\Client\RequestExceptionInterface $e): void - 12 - 3 - 0 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - __construct - __construct(Psr\Http\Message\RequestFactoryInterface $psr17Factory, Psr\Http\Message\StreamFactoryInterface $streamFactory, Neo4j\QueryAPI\Configuration $configuration, Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth) - __construct(Psr\Http\Message\RequestFactoryInterface $psr17Factory, Psr\Http\Message\StreamFactoryInterface $streamFactory, Neo4j\QueryAPI\Configuration $configuration, Neo4j\QueryAPI\Authentication\AuthenticateInterface $auth) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - buildRunQueryRequest - buildRunQueryRequest(string $cypher, array $parameters): Psr\Http\Message\RequestInterface - buildRunQueryRequest(string $cypher, array $parameters): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - buildBeginTransactionRequest - buildBeginTransactionRequest(): Psr\Http\Message\RequestInterface - buildBeginTransactionRequest(): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - buildCommitRequest - buildCommitRequest(string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - buildCommitRequest(string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - buildRollbackRequest - buildRollbackRequest(string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - buildRollbackRequest(string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - buildTransactionRunRequest - buildTransactionRunRequest(string $query, array $parameters, string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - buildTransactionRunRequest(string $query, array $parameters, string $transactionId, string $clusterAffinity): Psr\Http\Message\RequestInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Neo4jRequestFactory - createRequest - createRequest(string $uri, ?string $cypher, ?array $parameters): Psr\Http\Message\RequestInterface - createRequest(string $uri, ?string $cypher, ?array $parameters): Psr\Http\Message\RequestInterface - 8 - 8 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - map - map(array $data): mixed - map(array $data): mixed - 6.02 - 6 - 92.31 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - parsePoint - parsePoint(string $value): Neo4j\QueryAPI\Objects\Point - parsePoint(string $value): Neo4j\QueryAPI\Objects\Point - 3 - 3 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - mapNode - mapNode(array $nodeData): Neo4j\QueryAPI\Objects\Node - mapNode(array $nodeData): Neo4j\QueryAPI\Objects\Node - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - mapRelationship - mapRelationship(array $relationshipData): Neo4j\QueryAPI\Objects\Relationship - mapRelationship(array $relationshipData): Neo4j\QueryAPI\Objects\Relationship - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - parseWKT - parseWKT(string $wkt): Neo4j\QueryAPI\Objects\Point - parseWKT(string $wkt): Neo4j\QueryAPI\Objects\Point - 3 - 3 - 92.86 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - mapPath - mapPath(array $pathData): Neo4j\QueryAPI\Objects\Path - mapPath(array $pathData): Neo4j\QueryAPI\Objects\Path - 4 - 4 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\OGM - mapProperties - mapProperties(array $properties): array - mapProperties(array $properties): array - 7.29 - 7 - 81.82 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Authentication - basic - basic(string $username, string $password): Neo4j\QueryAPI\Authentication\AuthenticateInterface - basic(string $username, string $password): Neo4j\QueryAPI\Authentication\AuthenticateInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Authentication - fromEnvironment - fromEnvironment(): Neo4j\QueryAPI\Authentication\AuthenticateInterface - fromEnvironment(): Neo4j\QueryAPI\Authentication\AuthenticateInterface - 3 - 3 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Authentication - bearer - bearer(string $token): Neo4j\QueryAPI\Authentication\AuthenticateInterface - bearer(string $token): Neo4j\QueryAPI\Authentication\AuthenticateInterface - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Authentication - noAuth - noAuth(): Neo4j\QueryAPI\Authentication\NoAuth - noAuth(): Neo4j\QueryAPI\Authentication\NoAuth - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Bookmarks - __construct - __construct(array $bookmarks) - __construct(array $bookmarks) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Bookmarks - addBookmarks - addBookmarks(?Neo4j\QueryAPI\Objects\Bookmarks $newBookmarks): void - addBookmarks(?Neo4j\QueryAPI\Objects\Bookmarks $newBookmarks): void - 2 - 2 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Bookmarks - count - count(): int - count(): int - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Bookmarks - jsonSerialize - jsonSerialize(): array - jsonSerialize(): array - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Node - __construct - __construct(array $labels, array $properties) - __construct(array $labels, array $properties) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Node - toArray - toArray(): array - toArray(): array - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Path - __construct - __construct(array $nodes, array $relationships) - __construct(array $nodes, array $relationships) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Point - __construct - __construct(float $x, float $y, float|null $z, int $srid) - __construct(float $x, float $y, float|null $z, int $srid) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Point - __toString - __toString(): string - __toString(): string - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\ProfiledQueryPlan - __construct - __construct(Neo4j\QueryAPI\Objects\ProfiledQueryPlanArguments $arguments, int $dbHits, int $records, bool $hasPageCacheStats, int $pageCacheHits, int $pageCacheMisses, float $pageCacheHitRatio, int $time, string $operatorType, array $children, array $identifiers) - __construct(Neo4j\QueryAPI\Objects\ProfiledQueryPlanArguments $arguments, int $dbHits, int $records, bool $hasPageCacheStats, int $pageCacheHits, int $pageCacheMisses, float $pageCacheHitRatio, int $time, string $operatorType, array $children, array $identifiers) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\ProfiledQueryPlanArguments - __construct - __construct(?int $globalMemory, ?string $plannerImpl, ?int $memory, ?string $stringRepresentation, ?string $runtime, ?int $time, ?int $pageCacheMisses, ?int $pageCacheHits, ?string $runtimeImpl, ?int $version, ?int $dbHits, ?int $batchSize, ?string $details, ?string $plannerVersion, ?string $pipelineInfo, null|string|float $runtimeVersion, ?int $id, ?float $estimatedRows, ?string $planner, ?int $rows) - __construct(?int $globalMemory, ?string $plannerImpl, ?int $memory, ?string $stringRepresentation, ?string $runtime, ?int $time, ?int $pageCacheMisses, ?int $pageCacheHits, ?string $runtimeImpl, ?int $version, ?int $dbHits, ?int $batchSize, ?string $details, ?string $plannerVersion, ?string $pipelineInfo, null|string|float $runtimeVersion, ?int $id, ?float $estimatedRows, ?string $planner, ?int $rows) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\Relationship - __construct - __construct(string $type, array $properties) - __construct(string $type, array $properties) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Objects - Neo4j\QueryAPI\Objects\ResultCounters - __construct - __construct(bool $containsUpdates, int $nodesCreated, int $nodesDeleted, int $propertiesSet, int $relationshipsCreated, int $relationshipsDeleted, int $labelsAdded, int $labelsRemoved, int $indexesAdded, int $indexesRemoved, int $constraintsAdded, int $constraintsRemoved, bool $containsSystemUpdates, int $systemUpdates) - __construct(bool $containsUpdates, int $nodesCreated, int $nodesDeleted, int $propertiesSet, int $relationshipsCreated, int $relationshipsDeleted, int $labelsAdded, int $labelsRemoved, int $indexesAdded, int $indexesRemoved, int $constraintsAdded, int $constraintsRemoved, bool $containsSystemUpdates, int $systemUpdates) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - __construct - __construct(Neo4j\QueryAPI\OGM $ogm) - __construct(Neo4j\QueryAPI\OGM $ogm) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - parseRunQueryResponse - parseRunQueryResponse(Psr\Http\Message\ResponseInterface $response): Neo4j\QueryAPI\Results\ResultSet - parseRunQueryResponse(Psr\Http\Message\ResponseInterface $response): Neo4j\QueryAPI\Results\ResultSet - 2 - 2 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - validateAndDecodeResponse - validateAndDecodeResponse(Psr\Http\Message\ResponseInterface $response): array - validateAndDecodeResponse(Psr\Http\Message\ResponseInterface $response): array - 3 - 3 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - mapRows - mapRows(array $fields, array $values): array - mapRows(array $fields, array $values): array - 2 - 2 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - formatOGMOutput - formatOGMOutput(mixed $value): mixed - formatOGMOutput(mixed $value): mixed - 4 - 4 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - buildCounters - buildCounters(array $countersData): Neo4j\QueryAPI\Objects\ResultCounters - buildCounters(array $countersData): Neo4j\QueryAPI\Objects\ResultCounters - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - buildBookmarks - buildBookmarks(array $bookmarksData): Neo4j\QueryAPI\Objects\Bookmarks - buildBookmarks(array $bookmarksData): Neo4j\QueryAPI\Objects\Bookmarks - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - getAccessMode - getAccessMode(string $accessModeData): Neo4j\QueryAPI\Enums\AccessMode - getAccessMode(string $accessModeData): Neo4j\QueryAPI\Enums\AccessMode - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\ResponseParser - buildProfiledQueryPlan - buildProfiledQueryPlan(mixed $queryPlanData): ?Neo4j\QueryAPI\Objects\ProfiledQueryPlan - buildProfiledQueryPlan(mixed $queryPlanData): ?Neo4j\QueryAPI\Objects\ProfiledQueryPlan - 5 - 5 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - __construct - __construct(array $data) - __construct(array $data) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - offsetGet - offsetGet(mixed $offset): mixed - offsetGet(mixed $offset): mixed - 2 - 2 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - offsetExists - offsetExists($offset): bool - offsetExists($offset): bool - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - offsetSet - offsetSet($offset, $value): void - offsetSet($offset, $value): void - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - offsetUnset - offsetUnset($offset): void - offsetUnset($offset): void - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - get - get(string $row): mixed - get(string $row): mixed - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - count - count(): int - count(): int - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultRow - getIterator - getIterator(): Traversable - getIterator(): Traversable - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultSet - __construct - __construct(array $rows, Neo4j\QueryAPI\Objects\Bookmarks $bookmarks, Neo4j\QueryAPI\Enums\AccessMode $accessMode, ?Neo4j\QueryAPI\Objects\ResultCounters $counters, ?Neo4j\QueryAPI\Objects\ProfiledQueryPlan $profiledQueryPlan) - __construct(array $rows, Neo4j\QueryAPI\Objects\Bookmarks $bookmarks, Neo4j\QueryAPI\Enums\AccessMode $accessMode, ?Neo4j\QueryAPI\Objects\ResultCounters $counters, ?Neo4j\QueryAPI\Objects\ProfiledQueryPlan $profiledQueryPlan) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultSet - getIterator - getIterator(): Traversable - getIterator(): Traversable - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI\Results - Neo4j\QueryAPI\Results\ResultSet - count - count(): int - count(): int - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Transaction - __construct - __construct(Psr\Http\Client\ClientInterface $client, Neo4j\QueryAPI\ResponseParser $responseParser, Neo4j\QueryAPI\Neo4jRequestFactory $requestFactory, string $clusterAffinity, string $transactionId) - __construct(Psr\Http\Client\ClientInterface $client, Neo4j\QueryAPI\ResponseParser $responseParser, Neo4j\QueryAPI\Neo4jRequestFactory $requestFactory, string $clusterAffinity, string $transactionId) - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Transaction - run - run(string $query, array $parameters): Neo4j\QueryAPI\Results\ResultSet - run(string $query, array $parameters): Neo4j\QueryAPI\Results\ResultSet - 3.47 - 3 - 62.5 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Transaction - commit - commit(): void - commit(): void - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Transaction - rollback - rollback(): void - rollback(): void - 1 - 1 - 100 - 0 - - - Neo4j\QueryAPI - Neo4j\QueryAPI\Transaction - handleRequestException - handleRequestException(Psr\Http\Client\RequestExceptionInterface $e): void - handleRequestException(Psr\Http\Client\RequestExceptionInterface $e): void - 12 - 3 - 0 - 0 - - - diff --git a/docker-compose.yml b/docker-compose.yml index e8668607..a83361f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,9 @@ services: volumes: - .:/var/www environment: - - FAIL_ON_DEPRECATION=1 - - FAIL_ON_PHPUNIT_DEPRECATION=1 + - NEO4J_ADDRESS=${NEO4J_ADDRESS-http://localhost:7474} + - NEO4J_USERNAME=${NEO4J_USERNAME-neo4j} + - NEO4J_PASSWORD=${NEO4J_PASSWORD-} networks: - mynetwork diff --git a/phpunit.xml.bak b/phpunit.xml.bak deleted file mode 100644 index 1f448a77..00000000 --- a/phpunit.xml.bak +++ /dev/null @@ -1,22 +0,0 @@ - - - - - ./tests - - - - - - src - - - - - - - - - - - \ No newline at end of file diff --git a/phpunitCoverage.xml b/phpunitCoverage.xml index 51d7ad7b..0ad90bde 100644 --- a/phpunitCoverage.xml +++ b/phpunitCoverage.xml @@ -7,14 +7,6 @@ tests - - - - - - - - src @@ -26,16 +18,13 @@ src - - - - - - - - - - + + + + + + +