Merged in composer_udpate (pull request #55)

Trying to properly upgrade for PHP 8.0 support.
This commit is contained in:
Alexey Eschenko 2021-02-20 15:57:13 +00:00
commit 0c4a100f34
6 changed files with 883 additions and 871 deletions

View file

@ -19,8 +19,9 @@
"ext-json": "*",
"babdev/pagerfanta-bundle": "^2.4",
"excelwebzone/recaptcha-bundle": "^1.5",
"pugx/sentry-sdk": "^2.0",
"sensio/framework-extra-bundle": "^5.1",
"sentry/sentry-symfony": "^3.4",
"sentry/sentry-symfony": "^4",
"suin/php-rss-writer": "^1.6",
"symfony/asset": "^4.1",
"symfony/console": "^4.1",

1650
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,21 @@
services:
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'
# Register nyholm/psr7 services for autowiring with HTTPlug factories
Http\Message\MessageFactory: '@nyholm.psr7.httplug_factory'
Http\Message\RequestFactory: '@nyholm.psr7.httplug_factory'
Http\Message\ResponseFactory: '@nyholm.psr7.httplug_factory'
Http\Message\StreamFactory: '@nyholm.psr7.httplug_factory'
Http\Message\UriFactory: '@nyholm.psr7.httplug_factory'
nyholm.psr7.psr17_factory:
class: Nyholm\Psr7\Factory\Psr17Factory
nyholm.psr7.httplug_factory:
class: Nyholm\Psr7\Factory\HttplugFactory

View file

@ -0,0 +1,21 @@
services:
_defaults:
autowire: true
autoconfigure: true
Symfony\Bridge\PsrHttpMessage\HttpFoundationFactoryInterface:
'@Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory'
Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface:
'@Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory'
Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory: null
Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory: null
# Uncomment the following line to allow controllers to receive a
# PSR-7 server request object instead of an HttpFoundation request
#Symfony\Bridge\PsrHttpMessage\ArgumentValueResolver\PsrServerRequestResolver: null
# Uncomment the following line to allow controllers to return a
# PSR-7 response object instead of an HttpFoundation response
#Symfony\Bridge\PsrHttpMessage\EventListener\PsrResponseListener: null

View file

@ -1,11 +1,19 @@
sentry:
options:
send_default_pii: true
excluded_exceptions:
integrations:
- 'Sentry\Integration\IgnoreErrorsIntegration'
services:
Sentry\Integration\IgnoreErrorsIntegration:
arguments:
$options:
ignore_exceptions:
- 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
- 'Symfony\Component\HttpKernel\Exception\BadRequestHttpException'
- 'Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException'
monolog:
error_handler:
enabled: true
level: error
Sentry\Monolog\Handler:
arguments:
$hub: '@Sentry\State\HubInterface'
$level: !php/const Monolog\Logger::ERROR

View file

@ -68,9 +68,6 @@
"doctrine/persistence": {
"version": "v1.0.1"
},
"doctrine/reflection": {
"version": "v1.0.0"
},
"doctrine/sql-formatter": {
"version": "1.1.0"
},
@ -108,9 +105,6 @@
"guzzlehttp/psr7": {
"version": "1.6.1"
},
"http-interop/http-factory-guzzle": {
"version": "1.0.0"
},
"jean85/pretty-package-versions": {
"version": "1.2"
},
@ -126,6 +120,18 @@
"monolog/monolog": {
"version": "1.23.0"
},
"nyholm/psr7": {
"version": "1.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.0",
"ref": "7c0a9352a57376f04f5444e74565102c3a23d0c7"
},
"files": [
"config/packages/nyholm_psr7.yaml"
]
},
"ocramius/package-versions": {
"version": "1.3.0"
},
@ -136,7 +142,7 @@
"version": "v2.3.0"
},
"php": {
"version": "7.4"
"version": "8.0"
},
"php-http/client-common": {
"version": "2.1.0"
@ -375,6 +381,18 @@
"symfony/property-info": {
"version": "v4.1.0"
},
"symfony/psr-http-message-bridge": {
"version": "2.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "2.1",
"ref": "df8ec1e90aec60d301ec59a22093fc3febedb795"
},
"files": [
"config/packages/psr_http_message_bridge.yaml"
]
},
"symfony/routing": {
"version": "4.0",
"recipe": {
@ -477,9 +495,6 @@
"twig/twig": {
"version": "v2.4.8"
},
"webimpress/safe-writer": {
"version": "2.0.0"
},
"webmozart/assert": {
"version": "1.3.0"
},