The composer.json file should be valid

  • Major
  • Bugrisk

More information: https://insight.sensiolabs.com/what-we-analyse/composer.invalid_file

The property licence is not defined and the definition does not allow additional properties

Time to fix: about 1 hour
Open Issue Permalink
Collective

Unused use statement should be avoided

  • Minor
  • Deadcode

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

  1. use Symfony\Component\Console\Output\OutputInterface;
  2. use Symfony\Component\Console\Input\InputArgument;
  3. use JPetitcolas\FrenchGeography\Parser\Insee\InseeRegionParser;
  4. use JPetitcolas\FrenchGeography\Formatter\Region\RegionYamlFormatter;

    The class JPetitcolas\FrenchGeography\Formatter\Region\RegionYamlFormatter is declared but never used. You should remove the use statement.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Collective
  5. class GenerateListCommand extends Command
  6. {
  7. protected static $availableTypes = array('region', 'department', 'city');
  8. protected static $availableFormats = array('yaml', 'sql');

The composer.json file should not raise warnings

  • Info
  • Bugrisk

More information: https://insight.sensiolabs.com/what-we-analyse/composer.warning

No license specified, it is recommended to do so

Time to fix: about 1 hour
Open Issue Permalink
Collective