networkteam / sentry_client

TYPO3 Extension for exception logging with sentry, see http://www.getsentry.com
33 stars 34 forks source link

Missing requirement on TYPO3 v12 (PHP 8.1) #91

Closed LvckyAPI closed 11 months ago

LvckyAPI commented 12 months ago

The package php-http/guzzle7-adapter is required for TYPO3 v12 with PHP 8.1.

If the package is not installed, you will receive an error with response code 500.

christophlehmann commented 12 months ago
$ composer create-project typo3/cms-base-distribution:^12 foobar
Creating a "typo3/cms-base-distribution:^12" project at "./foobar"
Installing typo3/cms-base-distribution (v12.4.0)
  - Downloading typo3/cms-base-distribution (v12.4.0)
  - Installing typo3/cms-base-distribution (v12.4.0): Extracting archive
Created project in /Users/lehmann/src/foobar
Loading composer repositories with package information
Updating dependencies
Lock file operations: 101 installs, 0 updates, 0 removals
  - Locking bacon/bacon-qr-code (2.0.8)
  - Locking christian-riesen/base32 (1.6.0)
  - Locking dasprid/enum (1.0.5)
  - Locking doctrine/annotations (2.0.1)
  - Locking doctrine/cache (2.2.0)
  - Locking doctrine/dbal (3.7.2)
  - Locking doctrine/deprecations (1.1.2)
  - Locking doctrine/event-manager (2.0.0)
  - Locking doctrine/instantiator (2.0.0)
  - Locking doctrine/lexer (3.0.0)
  - Locking egulias/email-validator (4.0.2)
  - Locking enshrined/svg-sanitize (0.15.4)
  - Locking firebase/php-jwt (v6.9.0)
  - Locking guzzlehttp/guzzle (7.8.0)
  - Locking guzzlehttp/promises (2.0.1)
  - Locking guzzlehttp/psr7 (2.6.1)
  - Locking lolli42/finediff (1.0.2)
  - Locking masterminds/html5 (2.8.1)
  - Locking nikic/php-parser (v4.17.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.7.3)
  - Locking phpstan/phpdoc-parser (1.24.3)
  - Locking psr/cache (3.0.0)
  - Locking psr/clock (1.0.0)
  - Locking psr/container (2.0.2)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking psr/http-client (1.0.3)
  - Locking psr/http-factory (1.0.2)
  - Locking psr/http-message (2.0)
  - Locking psr/http-server-handler (1.0.2)
  - Locking psr/http-server-middleware (1.0.2)
  - Locking psr/log (3.0.0)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/cache (v6.3.8)
  - Locking symfony/cache-contracts (v3.4.0)
  - Locking symfony/clock (v6.3.4)
  - Locking symfony/config (v6.3.8)
  - Locking symfony/console (v6.3.8)
  - Locking symfony/dependency-injection (v6.3.8)
  - Locking symfony/deprecation-contracts (v3.4.0)
  - Locking symfony/doctrine-messenger (v6.3.8)
  - Locking symfony/event-dispatcher (v6.3.2)
  - Locking symfony/event-dispatcher-contracts (v3.4.0)
  - Locking symfony/expression-language (v6.3.0)
  - Locking symfony/filesystem (v6.3.1)
  - Locking symfony/finder (v6.3.5)
  - Locking symfony/http-foundation (v6.3.8)
  - Locking symfony/mailer (v6.3.5)
  - Locking symfony/messenger (v6.3.7)
  - Locking symfony/mime (v6.3.5)
  - Locking symfony/options-resolver (v6.3.0)
  - Locking symfony/polyfill-ctype (v1.28.0)
  - Locking symfony/polyfill-intl-grapheme (v1.28.0)
  - Locking symfony/polyfill-intl-idn (v1.28.0)
  - Locking symfony/polyfill-intl-normalizer (v1.28.0)
  - Locking symfony/polyfill-mbstring (v1.28.0)
  - Locking symfony/polyfill-php72 (v1.28.0)
  - Locking symfony/polyfill-php80 (v1.28.0)
  - Locking symfony/polyfill-php83 (v1.28.0)
  - Locking symfony/polyfill-uuid (v1.28.0)
  - Locking symfony/property-access (v6.3.2)
  - Locking symfony/property-info (v6.3.0)
  - Locking symfony/rate-limiter (v6.3.8)
  - Locking symfony/routing (v6.3.5)
  - Locking symfony/service-contracts (v3.4.0)
  - Locking symfony/string (v6.3.8)
  - Locking symfony/uid (v6.3.8)
  - Locking symfony/var-exporter (v6.3.6)
  - Locking symfony/yaml (v6.3.8)
  - Locking typo3/class-alias-loader (v1.1.4)
  - Locking typo3/cms-backend (v12.4.8)
  - Locking typo3/cms-belog (v12.4.8)
  - Locking typo3/cms-beuser (v12.4.8)
  - Locking typo3/cms-cli (3.1.1)
  - Locking typo3/cms-composer-installers (v5.0.0)
  - Locking typo3/cms-core (v12.4.8)
  - Locking typo3/cms-dashboard (v12.4.8)
  - Locking typo3/cms-extbase (v12.4.8)
  - Locking typo3/cms-extensionmanager (v12.4.8)
  - Locking typo3/cms-felogin (v12.4.8)
  - Locking typo3/cms-filelist (v12.4.8)
  - Locking typo3/cms-fluid (v12.4.8)
  - Locking typo3/cms-fluid-styled-content (v12.4.8)
  - Locking typo3/cms-form (v12.4.8)
  - Locking typo3/cms-frontend (v12.4.8)
  - Locking typo3/cms-impexp (v12.4.8)
  - Locking typo3/cms-info (v12.4.8)
  - Locking typo3/cms-install (v12.4.8)
  - Locking typo3/cms-reactions (v12.4.8)
  - Locking typo3/cms-rte-ckeditor (v12.4.8)
  - Locking typo3/cms-seo (v12.4.8)
  - Locking typo3/cms-setup (v12.4.8)
  - Locking typo3/cms-sys-note (v12.4.8)
  - Locking typo3/cms-t3editor (v12.4.8)
  - Locking typo3/cms-tstemplate (v12.4.8)
  - Locking typo3/cms-viewpage (v12.4.8)
  - Locking typo3/cms-webhooks (v12.4.8)
  - Locking typo3/html-sanitizer (v2.1.4)
  - Locking typo3fluid/fluid (2.9.3)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 101 installs, 0 updates, 0 removals
  - Downloading doctrine/dbal (3.7.2)
  - Downloading typo3/cms-webhooks (v12.4.8)
  - Installing typo3/class-alias-loader (v1.1.4): Extracting archive
  - Installing typo3/cms-composer-installers (v5.0.0): Extracting archive
  - Installing dasprid/enum (1.0.5): Extracting archive
  - Installing bacon/bacon-qr-code (2.0.8): Extracting archive
  - Installing christian-riesen/base32 (1.6.0): Extracting archive
  - Installing psr/cache (3.0.0): Extracting archive
  - Installing doctrine/lexer (3.0.0): Extracting archive
  - Installing doctrine/annotations (2.0.1): Extracting archive
  - Installing doctrine/cache (2.2.0): Extracting archive
  - Installing doctrine/event-manager (2.0.0): Extracting archive
  - Installing doctrine/instantiator (2.0.0): Extracting archive
  - Installing enshrined/svg-sanitize (0.15.4): Extracting archive
  - Installing firebase/php-jwt (v6.9.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.4.0): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.2): Extracting archive
  - Installing guzzlehttp/psr7 (2.6.1): Extracting archive
  - Installing guzzlehttp/promises (2.0.1): Extracting archive
  - Installing guzzlehttp/guzzle (7.8.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.28.0): Extracting archive
  - Installing lolli42/finediff (1.0.2): Extracting archive
  - Installing symfony/polyfill-ctype (v1.28.0): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (1.24.3): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing doctrine/deprecations (1.1.2): Extracting archive
  - Installing phpdocumentor/type-resolver (1.7.3): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
  - Installing psr/clock (1.0.0): Extracting archive
  - Installing psr/http-server-handler (1.0.2): Extracting archive
  - Installing psr/http-server-middleware (1.0.2): Extracting archive
  - Installing symfony/var-exporter (v6.3.6): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.4.0): Extracting archive
  - Installing symfony/cache-contracts (v3.4.0): Extracting archive
  - Installing psr/log (3.0.0): Extracting archive
  - Installing symfony/cache (v6.3.8): Extracting archive
  - Installing symfony/filesystem (v6.3.1): Extracting archive
  - Installing symfony/config (v6.3.8): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.28.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.28.0): Extracting archive
  - Installing symfony/string (v6.3.8): Extracting archive
  - Installing symfony/console (v6.3.8): Extracting archive
  - Installing symfony/dependency-injection (v6.3.8): Extracting archive
  - Installing symfony/clock (v6.3.4): Extracting archive
  - Installing symfony/messenger (v6.3.7): Extracting archive
  - Installing doctrine/dbal (3.7.2): Extracting archive
  - Installing symfony/doctrine-messenger (v6.3.8): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.4.0): Extracting archive
  - Installing symfony/polyfill-php72 (v1.28.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.28.0): Extracting archive
  - Installing symfony/mime (v6.3.5): Extracting archive
  - Installing symfony/event-dispatcher (v6.3.2): Extracting archive
  - Installing egulias/email-validator (4.0.2): Extracting archive
  - Installing symfony/mailer (v6.3.5): Extracting archive
  - Installing symfony/polyfill-php80 (v1.28.0): Extracting archive
  - Installing symfony/polyfill-php83 (v1.28.0): Extracting archive
  - Installing symfony/polyfill-uuid (v1.28.0): Extracting archive
  - Installing symfony/property-info (v6.3.0): Extracting archive
  - Installing symfony/property-access (v6.3.2): Extracting archive
  - Installing symfony/options-resolver (v6.3.0): Extracting archive
  - Installing symfony/rate-limiter (v6.3.8): Extracting archive
  - Installing symfony/routing (v6.3.5): Extracting archive
  - Installing symfony/yaml (v6.3.8): Extracting archive
  - Installing typo3fluid/fluid (2.9.3): Extracting archive
  - Installing masterminds/html5 (2.8.1): Extracting archive
  - Installing typo3/html-sanitizer (v2.1.4): Extracting archive
  - Installing typo3/cms-cli (3.1.1): Extracting archive
  - Installing symfony/uid (v6.3.8): Extracting archive
  - Installing symfony/http-foundation (v6.3.8): Extracting archive
  - Installing symfony/finder (v6.3.5): Extracting archive
  - Installing symfony/expression-language (v6.3.0): Extracting archive
  - Installing typo3/cms-core (v12.4.8): Extracting archive
  - Installing typo3/cms-belog (v12.4.8): Extracting archive
  - Installing typo3/cms-beuser (v12.4.8): Extracting archive
  - Installing typo3/cms-frontend (v12.4.8): Extracting archive
  - Installing typo3/cms-extbase (v12.4.8): Extracting archive
  - Installing typo3/cms-fluid (v12.4.8): Extracting archive
  - Installing typo3/cms-backend (v12.4.8): Extracting archive
  - Installing typo3/cms-dashboard (v12.4.8): Extracting archive
  - Installing typo3/cms-extensionmanager (v12.4.8): Extracting archive
  - Installing typo3/cms-felogin (v12.4.8): Extracting archive
  - Installing typo3/cms-filelist (v12.4.8): Extracting archive
  - Installing typo3/cms-fluid-styled-content (v12.4.8): Extracting archive
  - Installing typo3/cms-form (v12.4.8): Extracting archive
  - Installing typo3/cms-impexp (v12.4.8): Extracting archive
  - Installing typo3/cms-info (v12.4.8): Extracting archive
  - Installing nikic/php-parser (v4.17.1): Extracting archive
  - Installing typo3/cms-install (v12.4.8): Extracting archive
  - Installing typo3/cms-reactions (v12.4.8): Extracting archive
  - Installing typo3/cms-rte-ckeditor (v12.4.8): Extracting archive
  - Installing typo3/cms-seo (v12.4.8): Extracting archive
  - Installing typo3/cms-setup (v12.4.8): Extracting archive
  - Installing typo3/cms-sys-note (v12.4.8): Extracting archive
  - Installing typo3/cms-t3editor (v12.4.8): Extracting archive
  - Installing typo3/cms-tstemplate (v12.4.8): Extracting archive
  - Installing typo3/cms-viewpage (v12.4.8): Extracting archive
  - Installing typo3/cms-webhooks (v12.4.8): Extracting archive
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
Generating class alias map file
45 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
$ cd foobar
$ composer req networkteam/sentry-client
./composer.json has been updated
Running composer update networkteam/sentry-client
Loading composer repositories with package information
Updating dependencies
Lock file operations: 10 installs, 0 updates, 0 removals
  - Locking clue/stream-filter (v1.6.0)
  - Locking jean85/pretty-package-versions (2.0.5)
  - Locking networkteam/sentry-client (5.0.1)
  - Locking php-http/client-common (2.7.0)
  - Locking php-http/discovery (1.19.1)
  - Locking php-http/httplug (2.4.0)
  - Locking php-http/message (1.16.0)
  - Locking php-http/message-factory (1.1.0)
  - Locking php-http/promise (1.2.1)
  - Locking sentry/sentry (3.22.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals
php-http/discovery contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "php-http/discovery" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing php-http/discovery (1.19.1): Extracting archive
  - Installing clue/stream-filter (v1.6.0): Extracting archive
  - Installing php-http/message-factory (1.1.0): Extracting archive
  - Installing php-http/message (1.16.0): Extracting archive
  - Installing php-http/promise (1.2.1): Extracting archive
  - Installing php-http/httplug (2.4.0): Extracting archive
  - Installing php-http/client-common (2.7.0): Extracting archive
  - Installing jean85/pretty-package-versions (2.0.5): Extracting archive
  - Installing sentry/sentry (3.22.1): Extracting archive
  - Installing networkteam/sentry-client (5.0.1): Extracting archive
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating autoload files
Generating class alias map file
47 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking php-http/guzzle7-adapter (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing php-http/guzzle7-adapter (1.0.0): Extracting archive
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating autoload files
Generating class alias map file
47 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^5.0 for networkteam/sentry-client

I think you don't have "php-http/discovery" in allowed-plugins. Have you?