Skip to content

Commit 1065e8d

Browse files
authored
psr factory detection (#25)
* add coverage to gitignore * guzzle was replaced by psr client and discovery * remove composer.lock file * remove php-cs-fixer phar file
1 parent 2872748 commit 1065e8d

12 files changed

+78
-6939
lines changed

.github/workflows/cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: 8.2
19+
php-version: 8.1
2020
tools: composer
2121

2222
- name: Install dependencies

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 8.3
20+
php-version: 8.1
2121
tools: composer, psalm
2222

2323
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up PHP
3434
uses: shivammathur/setup-php@v2
3535
with:
36-
php-version: 8.2
36+
php-version: 8.1
3737
tools: composer, xdebug
3838

3939
- name: Cache Composer dependencies

.github/workflows/testaura.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: 8.2
26+
php-version: 8.1
2727
tools: composer, xdebug
2828

2929
- name: Cache Composer dependencies

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ test
1515
.php-cs-fixer.cache
1616

1717

18+
coverage
19+
20+
composer.lock

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@
33
"name": "neo4j-php/query-api",
44
"description": "Easy to use class to run Cypher queries on the Query API",
55
"require": {
6-
"guzzlehttp/guzzle": "^7.9",
76
"psr/http-client": "^1.0",
87
"ext-json": "*",
98
"php": "^8.1",
10-
"nyholm/psr7": "^1.8"
9+
"nyholm/psr7": "^1.8",
10+
"php-http/discovery": "^1.17"
1111
},
1212
"require-dev": {
13+
"guzzlehttp/guzzle": "^7.9",
1314
"phpunit/phpunit": "^10.0",
1415
"friendsofphp/php-cs-fixer": "^3.68",
1516
"vimeo/psalm": "^6.8",
1617
"dg/bypass-finals": "^1.9",
1718
"psalm/plugin-phpunit": "^0.19.2"
18-
1919
},
20+
2021
"autoload": {
2122
"psr-4": {
2223
"Neo4j\\QueryAPI\\": "src/"

0 commit comments

Comments
 (0)