Skip to content

Commit

Permalink
Merge pull request #98 from networkteam/update-sentry
Browse files Browse the repository at this point in the history
Update sentry/sentry to ^4.6
  • Loading branch information
christophlehmann authored Mar 14, 2024
2 parents 6209b7a + 79948a6 commit 9e4400c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
composer require typo3/cms-core:^$typo3 typo3/cms-frontend:^$typo3 typo3/cms-backend:^$typo3
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse
run: composer phpstan
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/vendor
/.Build
/composer.lock
19 changes: 10 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,36 @@
"typo3/cms-backend": "^11.0 || ^12.0",
"typo3/cms-core": "^11.0 || ^12.0",
"typo3/cms-frontend": "^11.0 || ^12.0",
"sentry/sentry": "^3.21"
"sentry/sentry": "^4.6"
},
"extra": {
"typo3/cms": {
"extension-key": "sentry_client",
"cms-package-dir": "{$vendor-dir}/typo3/cms"
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"app-dir": ".Build",
"web-dir": ".Build/Web"
}
},
"autoload": {
"psr-4": {
"Networkteam\\SentryClient\\": "Classes/"
}
},
"replace": {
"typo3-ter/sentry-client": "self.version"
},
"config": {
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,
"php-http/discovery": true
}
"typo3/class-alias-loader": true
},
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"sort-packages": true
},
"require-dev": {
"saschaegerer/phpstan-typo3": "^1.1"
},
"scripts": {
"phpstan": [
"phpstan analyse -c phpstan.neon"
"phpstan analyse ."
]
}
}
6 changes: 1 addition & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
includes:
- phpstan-baseline.neon
- vendor/saschaegerer/phpstan-typo3/extension.neon
- .Build/vendor/saschaegerer/phpstan-typo3/extension.neon

parameters:
# 0: basic checks
Expand All @@ -14,8 +14,4 @@ parameters:
# 8: report calling methods and accessing properties on nullable types
level: 8

paths:
- Classes
- ext_localconf.php

reportUnmatchedIgnoredErrors: true

0 comments on commit 9e4400c

Please sign in to comment.