composer remove sentry/sentry-symfony (Sentry logging enabled).

This commit is contained in:
Alexey Skobkin 2019-01-18 18:33:20 +03:00
parent 0bd6665acc
commit 2d68505581
7 changed files with 216 additions and 1 deletions

View file

@ -16,3 +16,7 @@ APP_SECRET=xxx
APP_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web
MAGNETICOD_DATABASE_URL=sqlite:///%kernel.project_dir%/tests/database/database.sqlite3
###< doctrine/doctrine-bundle ###
###> sentry/sentry-symfony ###
SENTRY_DSN=
###< sentry/sentry-symfony ###

View file

@ -16,6 +16,7 @@
"ext-ctype": "*",
"ext-iconv": "*",
"sensio/framework-extra-bundle": "^5.1",
"sentry/sentry-symfony": "^2.2",
"symfony/console": "^4.1",
"symfony/flex": "^1.0",
"symfony/form": "^4.1",

186
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "88d5757b0927c38da82f1989d5f94921",
"content-hash": "c172785237029de92c0034fc36c00494",
"packages": [
{
"name": "doctrine/annotations",
@ -1240,6 +1240,57 @@
],
"time": "2014-01-12T16:20:24+00:00"
},
{
"name": "jean85/pretty-package-versions",
"version": "1.2",
"source": {
"type": "git",
"url": "https://github.com/Jean85/pretty-package-versions.git",
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/75c7effcf3f77501d0e0caa75111aff4daa0dd48",
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48",
"shasum": ""
},
"require": {
"ocramius/package-versions": "^1.2.0",
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Jean85\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alessandro Lai",
"email": "alessandro.lai85@gmail.com"
}
],
"description": "A wrapper for ocramius/package-versions to get pretty versions strings",
"keywords": [
"composer",
"package",
"release",
"versions"
],
"time": "2018-06-13T13:22:40+00:00"
},
{
"name": "monolog/monolog",
"version": "1.24.0",
@ -1919,6 +1970,139 @@
],
"time": "2018-12-11T16:59:23+00:00"
},
{
"name": "sentry/sentry",
"version": "1.10.0",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-php.git",
"reference": "b2b8ffe1560b9fb0110b02993594a4b04a511959"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/b2b8ffe1560b9fb0110b02993594a4b04a511959",
"reference": "b2b8ffe1560b9fb0110b02993594a4b04a511959",
"shasum": ""
},
"require": {
"ext-curl": "*",
"php": "^5.3|^7.0"
},
"conflict": {
"raven/raven": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.8.0",
"monolog/monolog": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7"
},
"suggest": {
"ext-hash": "*",
"ext-json": "*",
"ext-mbstring": "*",
"monolog/monolog": "Automatically capture Monolog events as breadcrumbs"
},
"bin": [
"bin/sentry"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.10.x-dev"
}
},
"autoload": {
"psr-0": {
"Raven_": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "David Cramer",
"email": "dcramer@gmail.com"
}
],
"description": "A PHP client for Sentry (http://getsentry.com)",
"homepage": "http://getsentry.com",
"keywords": [
"log",
"logging"
],
"time": "2018-11-09T12:27:19+00:00"
},
{
"name": "sentry/sentry-symfony",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-symfony.git",
"reference": "b36df3632e944d49d81599410a5c85edff2972a9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-symfony/zipball/b36df3632e944d49d81599410a5c85edff2972a9",
"reference": "b36df3632e944d49d81599410a5c85edff2972a9",
"shasum": ""
},
"require": {
"jean85/pretty-package-versions": "^1.0",
"php": "^7.1",
"sentry/sentry": "^1.9",
"symfony/config": "^3.0||^4.0",
"symfony/console": "^3.3||^4.0",
"symfony/dependency-injection": "^3.0||^4.0",
"symfony/event-dispatcher": "^3.0||^4.0",
"symfony/http-kernel": "^3.0||^4.0",
"symfony/security-core": "^3.0||^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.8",
"phpstan/phpstan": "^0.10",
"phpstan/phpstan-phpunit": "^0.10",
"phpunit/phpunit": "^7",
"scrutinizer/ocular": "^1.4",
"symfony/expression-language": "^3.0||^4.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"master": "2.1.x-dev",
"releases/1.x": "1.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Sentry\\SentryBundle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "David Cramer",
"email": "dcramer@gmail.com"
},
{
"name": "Alessandro Lai",
"email": "alessandro.lai85@gmail.com"
}
],
"description": "Symfony integration for Sentry (http://getsentry.com)",
"homepage": "http://getsentry.com",
"keywords": [
"errors",
"logging",
"sentry",
"symfony"
],
"time": "2019-01-05T13:33:24+00:00"
},
{
"name": "symfony/cache",
"version": "v4.2.2",

View file

@ -12,4 +12,5 @@ return [
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Sentry\SentryBundle\SentryBundle::class => ['all' => true],
];

View file

@ -0,0 +1,2 @@
sentry:
dsn: '%env(SENTRY_DSN)%'

View file

@ -0,0 +1,8 @@
sentry:
options:
curl_method: async
# skip_capture: # To skip certain exceptions, specify a list below
# - 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
# - 'Symfony\Component\HttpKernel\Exception\BadRequestHttpException'
# - 'Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException'

View file

@ -68,6 +68,9 @@
"jdorn/sql-formatter": {
"version": "v1.2.17"
},
"jean85/pretty-package-versions": {
"version": "1.2"
},
"monolog/monolog": {
"version": "1.23.0"
},
@ -110,6 +113,18 @@
"ref": "aaddfdf43cdecd4cf91f992052d76c2cadc04543"
}
},
"sentry/sentry": {
"version": "1.10.0"
},
"sentry/sentry-symfony": {
"version": "1.0",
"recipe": {
"repo": "github.com/symfony/recipes-contrib",
"branch": "master",
"version": "1.0",
"ref": "fa1a2dfc020798cd7076b5419596e72dca07047a"
}
},
"symfony/cache": {
"version": "v4.1.0"
},