Unused method, property, variable or parameter 2

More information: https://insight.symfony.com/what-we-analyse/php.unused_local_variable_or_private_member

  1. */
  2. class Internal implements SubscriberInterface
  3. {
  4. private $debug;
  5. private $bootstraped = false;

    This bootstraped attribute is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Brad Kent
  6. private $error; // store error object when logging an error
  7. private $inShutdown = false;
  8. private static $profilingEnabled = false;
  9. /**
  1. */
  2. class OnBootstrap
  3. {
  4. private $debug;
  5. private static $input; // populate me for unit tests in lieu of php://input

    This input attribute is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Brad Kent
  6. /**
  7. * Magic callable method
  8. *
  9. * @param Event $event event instance