Skip to content

Commit fdbaa49

Browse files
committed
temp commit
1 parent b50fe35 commit fdbaa49

File tree

4 files changed

+73
-8
lines changed

4 files changed

+73
-8
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cp composer.json composer.json.origin
6+
rm composer.lock || true
7+
rm -Rf vendor || true
8+
sed -i 's/\^5.4 || \^6.0 || \^7.0/\^5.4/g' composer.json
9+
composer install

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v2
25-
- name: Validate composer.json
25+
- name: Validate composer-5.4.json
2626
run: composer validate --strict
2727

2828
- name: Setup PHP ${{ matrix.php }}

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
],
1313
"require": {
1414
"php": ">=8.1",
15+
"ext-json": "*",
1516
"laudis/neo4j-php-client": "^3.1",
1617
"twig/twig": "^3.0",
17-
"ext-json": "*",
18-
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
19-
"symfony/config": "^5.4 || ^6.0 || ^7.0"
18+
"symfony/dependency-injection": "^5.4",
19+
"symfony/config": "^5.4"
2020
},
2121
"require-dev": {
2222
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
2323
"phpunit/phpunit": "^9.5",
2424
"psalm/plugin-symfony": "^5.0",
25-
"symfony/console": "^5.4 || ^6.0 || ^7.0",
26-
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
27-
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
25+
"symfony/console": "^5.4",
26+
"symfony/framework-bundle": "^5.4",
27+
"symfony/http-kernel": "^5.4",
2828
"symfony/test-pack": "^1.1",
29-
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
29+
"symfony/yaml": "^5.4",
3030
"vimeo/psalm": "^5.15.0",
3131
"kubawerlos/php-cs-fixer-custom-fixers": "^3.0",
3232
"friendsofphp/php-cs-fixer": "^3.30",

composer.json.origin

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"name": "neo4j/neo4j-bundle",
3+
"description": "Symfony integration for Neo4j",
4+
"type": "symfony-bundle",
5+
"keywords": ["neo4j", "symfony", "bundle", "graph", "database", "cypher"],
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Ghlen Nagels",
10+
"email": "[email protected]"
11+
}
12+
],
13+
"require": {
14+
"php": ">=8.1",
15+
"ext-json": "*",
16+
"laudis/neo4j-php-client": "^3.1",
17+
"twig/twig": "^3.0",
18+
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
19+
"symfony/config": "^5.4 || ^6.0 || ^7.0"
20+
},
21+
"require-dev": {
22+
"matthiasnoback/symfony-dependency-injection-test": "^4.3",
23+
"phpunit/phpunit": "^9.5",
24+
"psalm/plugin-symfony": "^5.0",
25+
"symfony/console": "^5.4 || ^6.0 || ^7.0",
26+
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
27+
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
28+
"symfony/test-pack": "^1.1",
29+
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
30+
"vimeo/psalm": "^5.15.0",
31+
"kubawerlos/php-cs-fixer-custom-fixers": "^3.0",
32+
"friendsofphp/php-cs-fixer": "^3.30",
33+
"psalm/plugin-phpunit": "^0.18"
34+
},
35+
"autoload": {
36+
"psr-4": {
37+
"Neo4j\\Neo4jBundle\\": "src/"
38+
}
39+
},
40+
"autoload-dev": {
41+
"psr-4": {
42+
"Neo4j\\Neo4jBundle\\Tests\\": "tests/"
43+
}
44+
},
45+
"config": {
46+
"sort-packages": true,
47+
"allow-plugins": {
48+
"php-http/discovery": false
49+
}
50+
},
51+
"scripts": {
52+
"psalm": "php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true",
53+
"fix-cs": "vendor/bin/php-cs-fixer fix",
54+
"check-cs": "vendor/bin/php-cs-fixer fix --dry-run"
55+
}
56+
}

0 commit comments

Comments
 (0)