title: Call to undefined method Illuminate\Foundation\Application::share() In SentryServiceProvider.php
body: <p>I am tried to upgrading from Laravel 5.3 to Laravel 5.4 , but when run composer update in php artisan optimize, i get an error in SentryServiceProvider. this is error message :</p>
  
  <p><code>In SentryServiceProvider.php line 77:
  Call to undefined method Illuminate\Foundation\Application::share()</code></p>
  
  <p>this is my composer.json</p>
  
  <pre><code>    {
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "type": "project",
      "require": {
          "php": "&gt;=5.5.9",
          "laravel/framework": "5.4.36",
          "doctrine/dbal": "2.5",
          "cartalyst/sentry": "dev-feature/laravel-5",
          "tymon/jwt-auth": "0.5.*",
          "guzzlehttp/guzzle": "^6.2",
          "barryvdh/laravel-cors": "0.9.x",
          "guzzlehttp/oauth-subscriber": "0.3.*",
          "intervention/image": "2.3",
          "yajra/laravel-datatables-oracle": "6.3",
          "yaro/log-envelope": "1.*",
          "mcamara/laravel-localization": "1.0.*",
          "schuppo/password-strength": "~1.5",
          "maatwebsite/excel": "2.1.29",
          "tecnick.com/tcpdf": "~6.0.0",
          "cviebrock/eloquent-sluggable": "^3.1",
          "predis/predis": "^1.0",
          "nicolaslopezj/searchable": "1.*",
          "zizaco/entrust": "5.2.x-dev",
          "facebook/php-sdk-v4": "~5.0",
          "facebook/graph-sdk": "^5.3",
          "torann/currency": "^0.3.1",
          "league/flysystem-aws-s3-v3": "^1.0",
          "s-ichikawa/laravel-sendgrid-driver": "~1.0"
      },
      "require-dev": {
          "fzaninotto/faker": "~1.4",
          "mockery/mockery": "0.9.*",
          "phpunit/phpunit": "~5.7",
          "phpspec/phpspec": "~2.1",
          "symfony/dom-crawler": "~3.1",
          "symfony/css-selector": "~3.1"
      },
      "autoload": {
          "classmap": [
              "database"
          ],
          "psr-4": {
              "App\\": "app/"
          }
      },
      "autoload-dev": {
          "classmap": [
              "tests/TestCase.php"
          ]
      },
      "scripts": {
          "post-install-cmd": [
              "php artisan clear-compiled",
              "php artisan optimize"
          ],
          "pre-update-cmd": [
              "php artisan clear-compiled"
          ],
          "post-update-cmd": [
              "php artisan optimize"
          ],
          "post-root-package-install": [
              "php -r \"copy('.env.example', '.env');\""
          ],
          "post-create-project-cmd": [
              "php artisan key:generate"
          ]
      },
      "config": {
          "preferred-install": "dist"
      }
  }
  </code></pre>
  
  <p>I have tried change something code <code>share()</code> in the <code>SentryServiceProvider.php</code> to <code>singleton()</code> but its not worked. And I tried to research for updating the <code>cartalyst/sentry</code> in packagist, but, the version not updated and Deprecated.</p>