Skip to content

Commit

Permalink
Update sentry/sentry to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
rootpd committed Jan 5, 2024
1 parent 5d1fcd7 commit 3d9eb1b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ master ]

jobs:
sniff_72:
sniff_81:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -18,13 +18,13 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
php_version: 7.2
php_version: 8.1
- name: Run sniffer
run: composer cs
- name: Run tests
run: composer cs
sniff_74:

sniff_82:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -35,13 +35,13 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
php_version: 7.4
php_version: 8.2
- name: Run sniffer
run: composer cs
- name: Run tests
run: composer cs

sniff_80:
sniff_83:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -52,7 +52,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
php_version: 8.0
php_version: 8.3
- name: Run sniffer
run: composer cs
- name: Run tests
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
],
"type": "library",
"require": {
"php": "^8.0",
"php": "^8.1",
"nette/di": "^3.0",
"nette/http": "^3.0",
"nette/security": "^3.0",
"sentry/sdk": "^3.0",
"sentry/sentry": "^4.0",
"tracy/tracy": "^2.4"
},
"require-dev": {
Expand All @@ -28,7 +28,10 @@
}
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"scripts": {
"cs": "phpcs --standard=PSR2 --extensions=php,phpt src tests --ignore=tests/tmp",
Expand Down

0 comments on commit 3d9eb1b

Please sign in to comment.