Deprecated class usage found 2

More information: https://insight.symfony.com/what-we-analyse/third_party.use_deprecated_class

  1. /**
  2. * @param OutputInterface $output
  3. *
  4. * @return Table|TableHelper
  5. */
  6. protected function createTable(OutputInterface $output)

    The Symfony\Component\Console\Helper\TableHelper class has been deprecated in Symfony 2.5. Use the Symfony\Component\Console\Helper\Table class instead.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Robert Schönthal
  7. {
  8. if (!class_exists('Symfony\Component\Console\Helper\Table')) {
  9. $table = new TableHelper(false);
  10. } else {
  11. $table = new Table($output);
  1. * @return Table|TableHelper
  2. */
  3. protected function createTable(OutputInterface $output)
  4. {
  5. if (!class_exists('Symfony\Component\Console\Helper\Table')) {
  6. $table = new TableHelper(false);

    The Symfony\Component\Console\Helper\TableHelper class has been deprecated in Symfony 2.5. Use the Symfony\Component\Console\Helper\Table class instead.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Robert Schönthal
  7. } else {
  8. $table = new Table($output);
  9. }
  10. return $table;

Interfaces names should end with "Interface" 3

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

in src/Api/Api.php, line 10
  1. /**
  2. * Api Interface.
  3. *
  4. * @author Robert Schönthal <robert.schoenthal@gmail.com>
  5. */
  6. interface Api

    Interface Api should be named ApiInterface for better clarity.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Robert Schönthal
  7. {
  8. }
  1. /**
  2. * Token.
  3. *
  4. * @author Robert Schönthal <robert.schoenthal@gmail.com>
  5. */
  6. interface Token

    Interface Token should be named TokenInterface for better clarity.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Robert Schönthal
  7. {
  8. /**
  9. * reads the versioneye auth token.
  10. *
  11. * @return string
  1. /**
  2. * HttpClient.
  3. *
  4. * @author Robert Schönthal <robert.schoenthal@gmail.com>
  5. */
  6. interface HttpClient

    Interface HttpClient should be named HttpClientInterface for better clarity.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Robert Schönthal
  7. {
  8. /**
  9. * performs a HTTP Request to the API Endpoint.
  10. *
  11. * @param string $method