Skip to content

Commit 0abe5c3

Browse files
authored
Merge pull request #78 from neo4j-php/rework
Modernised Bundle
2 parents 271a7a2 + 1abae68 commit 0abe5c3

Some content is hidden

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

67 files changed

+917
-1025
lines changed

.editorconfig

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

.env.example

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitattributes

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

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Create client with neo4j scheme
16+
2. Open transaction
17+
3. Commit transaction
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- Library version: [e.g. 2.0.8, use `composer show -i laudis/neo4j-php-client` and `composer show -i neo4j/neo4j-bundle` to find out]
28+
- Neo4j Version: [e.g. 4.2.1, aura, use `neo4j version` to find out]
29+
- PHP version: [e.g. 8.0.2, use `php -v` to find out]
30+
- OS: [e.g. Linux, 5.13.4-1-MANJARO, Windows 10]
31+
32+
**Additional context**
33+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/.editorconfig

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

.github/workflows/ci.yml

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

.github/workflows/static-analysis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Static Analysis
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
php-cs-fixer:
12+
name: "Lint & Analyse"
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: php-actions/composer@v6
17+
with:
18+
progress: yes
19+
php_version: 8.0
20+
version: 2
21+
- name: "PHP-CS-Fixer"
22+
run: vendor/bin/php-cs-fixer fix --dry-run
23+
- name: "PSalm"
24+
run: ./console debug:config && vendor/bin/psalm --show-info=true

.github/workflows/static.yml

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

.github/workflows/tests.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
name: Build
13+
runs-on: ubuntu-latest
14+
strategy:
15+
max-parallel: 10
16+
matrix:
17+
php: [ '8.0', '8.1', '8.2']
18+
sf_version: [ '5.4.*', '6.2.*', '6.3.*' ]
19+
exclude:
20+
- php: 7.4
21+
sf_version: 6.2.*
22+
- php: 8.0
23+
sf_version: 6.2.*
24+
- php: 7.4
25+
sf_version: 6.3.*
26+
- php: 8.0
27+
sf_version: 6.3.*
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
- uses: php-actions/composer@v6
32+
with:
33+
progress: yes
34+
php_version: ${{matrix.php}}
35+
version: 2
36+
- uses: php-actions/phpunit@v3
37+
with:
38+
configuration: phpunit.xml.dist
39+
php_version: ${{ matrix.php }}
40+
memory_limit: 1024M
41+
version: 9
42+
testsuite: Unit
43+
bootstrap: vendor/autoload.php

0 commit comments

Comments
 (0)