Third party component licenses should be compatible with project license

  • Major
  • Architecture

More information: https://insight.sensiolabs.com/what-we-analyse/php.contaminant_third_party_component_license

Your project is licensed under the {{ projectLicense }} license. However, the component twig/twig uses a non compatible {{ componentLicense }} license. You should consider either changing your project license or removing the incriminated component.

Time to fix: about 2 days
Open Issue Permalink
Collective

Web applications should contain a favicon

  • Major
  • Performance

More information: https://insight.sensiolabs.com/what-we-analyse/web.missing_favicon

in /

No favicon found in the web root directory

Time to fix: about 1 hour
Open Issue Permalink
Collective
  • /
    • Buzz
    • DataCollector
    • DependencyInjection
    • Exception
    • Resources
    • Tests
    • vendor
    • BuzzBundle.php
    • README.md
    • composer.json
    • composer.lock
    • phpunit.xml.dist

Unused method, property, variable or parameter 2

  • Minor
  • Deadcode

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

in Buzz/Buzz.php, line 12
  1. class Buzz
  2. {
  3. protected $browsers;
  4. public function __construct(BrowserManager $browsers = null, array $config = null)

    This config argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Collective
  5. {
  6. $this->browsers = $browsers;
  7. }
  8. public function getBrowser($name)
  1. if (!$container->hasDefinition('buzz.browser_manager')) {
  2. return;
  3. }
  4. $bm = $container->getDefinition('buzz.browser_manager');
  5. $config = $container->getParameter('buzz');

    This config local variable is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Collective
  6. foreach ($container->findTaggedServiceIds('buzz.browser') as $serviceId => $tag) {
  7. $name = isset($tag[0]['alias'])
  8. ? $tag[0]['alias']
  9. : $serviceId;

Unused use statement should be avoided

  • Minor
  • Deadcode

More information: https://insight.sensiolabs.com/what-we-analyse/php.unused_use_statement

in Buzz/Buzz.php, line 6
  1. <?php
  2. namespace Buzz\Bundle\BuzzBundle\Buzz;
  3. use Buzz\Bundle\BuzzBundle\Buzz\BrowserManager;
  4. use Buzz\Bundle\BuzzBundle\Exception\BuzzException;

    The class Buzz\Bundle\BuzzBundle\Exception\BuzzException is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Collective
  5. class Buzz
  6. {
  7. protected $browsers;