Skip to content

Commit 41c16e3

Browse files
committed
Replace client
1 parent dd5682b commit 41c16e3

File tree

82 files changed

+1039
-1608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1039
-1608
lines changed

.github/workflows/main.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Main
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
phpunit:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php: [8.0, 8.1]
11+
name: PHP ${{ matrix.php }}
12+
steps:
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: ${{ matrix.php }}
17+
coverage: none
18+
tools: php-cs-fixer:3
19+
20+
- name: Checkout
21+
uses: actions/checkout@v3
22+
23+
- name: Run PHP CS Fixer
24+
run: php-cs-fixer fix --diff --dry-run
25+
26+
- name: Install
27+
uses: "ramsey/composer-install@v2"
28+
29+
- name: Run tests
30+
run: ./vendor/bin/phpunit
31+
services:
32+
neo4j:
33+
image: neo4j
34+
ports:
35+
- 7687:7687
36+
- 7474:7474
37+
env:
38+
NEO4J_AUTH: none
39+
options: >-
40+
--health-cmd "wget http://localhost:7474 || exit 1"
41+
--health-interval 1s
42+
--health-timeout 10s
43+
--health-retries 20
44+
--health-start-period 3s

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
vendor/
22
composer.lock
3-
.DS_Store
3+
.DS_Store
4+
.phpunit.result.cache

.php-cs-fixer.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
$finder = PhpCsFixer\Finder::create()
4+
->in(__DIR__.'/src')
5+
->in(__DIR__.'/tests')
6+
->in(__DIR__.'/_demo')
7+
;
8+
9+
$config = new PhpCsFixer\Config();
10+
11+
return $config
12+
->setRules([
13+
'@PSR12' => true,
14+
'@Symfony' => true,
15+
])
16+
->setUsingCache(false)
17+
->setFinder($finder)
18+
;

.styleci.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)