Skip to content

Commit b9c9c2e

Browse files
authored
Merge pull request #28 from utopia-php/feat-client-updates
Feat client updates
2 parents 1363598 + 85a806b commit b9c9c2e

11 files changed

Lines changed: 2186 additions & 380 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- name: Run CodeQL
1818
run: |
1919
docker run --rm -v $PWD:/app composer sh -c \
20-
"composer install --profile --ignore-platform-reqs && composer analyse"
20+
"composer install --profile --ignore-platform-reqs && composer check"

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ jobs:
55
lint:
66
name: Tests
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
php-versions: ['8.3'] # add PHP versions as required
118

129
steps:
1310
- name: Checkout repository
@@ -24,7 +21,6 @@ jobs:
2421
2522
- name: Build
2623
run: |
27-
export PHP_VERSION=${{ matrix.php-versions }}
2824
docker compose build
2925
docker compose up -d
3026
sleep 10

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@
2323
},
2424
"scripts":{
2525
"test": "phpunit",
26-
"analyse": "vendor/bin/phpstan analyse",
26+
"check": "vendor/bin/phpstan analyse --memory-limit=1G --level=max src",
2727
"format": "vendor/bin/pint",
2828
"lint": "vendor/bin/pint --test"
2929
},
3030
"require": {
3131
"php": ">=8.0",
32-
"ext-mongodb": "2.1.1",
33-
"mongodb/mongodb": "2.1.0",
34-
"ramsey/uuid": "^4.9.0"
32+
"ext-mongodb": "2.1.*",
33+
"mongodb/mongodb": "2.1.*",
34+
"ramsey/uuid": "4.9.*"
3535
},
3636
"require-dev": {
37-
"fakerphp/faker": "^1.14",
38-
"phpunit/phpunit": "^9.4",
39-
"swoole/ide-helper": "4.8.0",
40-
"laravel/pint": "1.2.*",
41-
"phpstan/phpstan": "2.1.*"
37+
"fakerphp/faker": "1.*",
38+
"phpunit/phpunit": "9.*",
39+
"swoole/ide-helper": "5.1.*",
40+
"laravel/pint": "*",
41+
"phpstan/phpstan": "*"
4242
}
4343
}

0 commit comments

Comments
 (0)