title: I used composer to upgrade to Laravel 5.3, which broke it
body: <p>Here's the exception I get now when I try to run my page.  I've tried removing and recreating the bootstrap/cache based on some recommendations I've seen online.  I've tried removing the arguments in the ServiceProvider files for the boot method.  Nothing works.  </p>
  
  <pre><code>ErrorException in EventServiceProvider.php line 9:
  Declaration of App\Providers\EventServiceProvider::boot() should be compatible with Illuminate\Foundation\Support\Providers\EventServiceProvider::boot()
  in EventServiceProvider.php line 9
  at HandleExceptions-&gt;handleError('2048', 'Declaration of App\Providers\EventServiceProvider::boot() should be compatible with Illuminate\Foundation\Support\Providers\EventServiceProvider::boot()', 'C:\xampp\htdocs\laravel\app\Providers\EventServiceProvider.php', '9', array('file' =&gt; 'C:\xampp\htdocs\laravel\vendor\composer/../../app\Providers\EventServiceProvider.php')) in EventServiceProvider.php line 9
  at include('C:\xampp\htdocs\laravel\app\Providers\EventServiceProvider.php') in ClassLoader.php line 414
  at Composer\Autoload\includeFile('C:\xampp\htdocs\laravel\vendor\composer/../../app\Providers\EventServiceProvider.php') in ClassLoader.php line 301
  at ClassLoader-&gt;loadClass('App\Providers\EventServiceProvider')
  at spl_autoload_call('App\Providers\EventServiceProvider') in ProviderRepository.php line 146
  at ProviderRepository-&gt;createProvider('App\Providers\EventServiceProvider') in ProviderRepository.php line 74
  at ProviderRepository-&gt;load(array('Illuminate\Auth\AuthServiceProvider', 'Illuminate\Broadcasting\BroadcastServiceProvider', 'Illuminate\Bus\BusServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Foundation\Providers\FoundationServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Pipeline\PipelineServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Passwords\PasswordResetServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Collective\Html\HtmlServiceProvider', 'App\Providers\AppServiceProvider', 'App\Providers\AuthServiceProvider', 'App\Providers\EventServiceProvider', 'App\Providers\RouteServiceProvider')) in Application.php line 540
  at Application-&gt;registerConfiguredProviders() in RegisterProviders.php line 17
  at RegisterProviders-&gt;bootstrap(object(Application)) in Application.php line 203
  at Application-&gt;bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 254
  at Kernel-&gt;bootstrap() in Kernel.php line 145
  at Kernel-&gt;sendRequestThroughRouter(object(Request)) in Kernel.php line 117
  at Kernel-&gt;handle(object(Request)) in index.php line 54
  </code></pre>
  
  <p>Also, when I run "composer update", I get this exception:</p>
  
  <p><a href="https://i.stack.imgur.com/NWbPE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NWbPE.png" alt="enter image description here"></a></p>
  
  <p>EventServiceProvider.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Providers;
  
  use Illuminate\Support\Facades\Event;
  use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
  
  class EventServiceProvider extends ServiceProvider
  {
      /**
       * The event listener mappings for the application.
       *
       * @var array
       */
      protected $listen = [
          'App\Events\SomeEvent' =&gt; [
              'App\Listeners\EventListener',
          ],
      ];
  
      /**
       * Register any other events for your application.
       *
  
       * @return void
       */
      public function boot()
      {
          parent::boot();
  
          //
      }
  }
  </code></pre>
  
  <p>RouteServiceProvider.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Providers;
  
  use Illuminate\Support\Facades\Route;
  use Illuminate\Routing\Router;
  use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
  
  class RouteServiceProvider extends ServiceProvider
  {
      /**
       * This namespace is applied to your controller routes.
       *
       * In addition, it is set as the URL generator's root namespace.
       *
       * @var string
       */
      protected $namespace = 'App\Http\Controllers';
  
      /**
       * Define your route model bindings, pattern filters, etc.
       *
  
       * @return void
       */
      public function boot()
      {
          //
  
          parent::boot();
      }
  
      /**
       * Define the routes for the application.
       *
       * @param  \Illuminate\Routing\Router  $router
       * @return void
       */
      public function map(Router $router)
      {
          $this-&gt;mapWebRoutes($router);
  
          //
      }
  
      /**
       * Define the "web" routes for the application.
       *
       * These routes all receive session state, CSRF protection, etc.
       *
       * @param  \Illuminate\Routing\Router  $router
       * @return void
       */
      protected function mapWebRoutes(Router $router)
      {
          $router-&gt;group([
              'namespace' =&gt; $this-&gt;namespace, 'middleware' =&gt; 'web',
          ], function ($router) {
              require app_path('Http/routes.php');
          });
      }
  }
  </code></pre>
  
  <p>AuthServiceProvider.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Providers;
  
  use Illuminate\Support\Facades\Gate;
  use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
  
  class AuthServiceProvider extends ServiceProvider
  {
      /**
       * The policy mappings for the application.
       *
       * @var array
       */
      protected $policies = [
          'App\Model' =&gt; 'App\Policies\ModelPolicy',
      ];
  
      /**
       * Register any application authentication / authorization services.
       *
  
       * @return void
       */
      public function boot()
      {
          $this-&gt;registerPolicies();
  
          //
      }
  }
  </code></pre>