Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Run CodeQL
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer analyse"
"composer install --profile --ignore-platform-reqs && composer check"
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ jobs:
lint:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.3'] # add PHP versions as required

steps:
- name: Checkout repository
Expand All @@ -24,7 +21,6 @@ jobs:

- name: Build
run: |
export PHP_VERSION=${{ matrix.php-versions }}
docker compose build
docker compose up -d
sleep 10
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
},
"scripts":{
"test": "phpunit",
"analyse": "vendor/bin/phpstan analyse",
"check": "vendor/bin/phpstan analyse --memory-limit=1G --level=max src",
"format": "vendor/bin/pint",
"lint": "vendor/bin/pint --test"
},
"require": {
"php": ">=8.0",
"ext-mongodb": "2.1.1",
"mongodb/mongodb": "2.1.0",
"ramsey/uuid": "^4.9.0"
"ext-mongodb": "2.1.*",
"mongodb/mongodb": "2.1.*",
"ramsey/uuid": "4.9.*"
},
"require-dev": {
"fakerphp/faker": "^1.14",
"phpunit/phpunit": "^9.4",
"swoole/ide-helper": "4.8.0",
"laravel/pint": "1.2.*",
"phpstan/phpstan": "2.1.*"
"fakerphp/faker": "1.*",
"phpunit/phpunit": "9.*",
"swoole/ide-helper": "5.1.*",
"laravel/pint": "*",
"phpstan/phpstan": "*"
}
}
Loading
Loading