akeneo/pim-community-dev — pull request #1409 by nidup (2014-08-18 10:57:13+00:00)
Title: [WIP] Add a script to begin to check bundle coupling in static analysis

Run with `app/Resources/jenkins/coupling_check.sh ./src/`

Unappropriate use statements to fix,
```
./src/Pim/Bundle/BaseConnectorBundle/Writer/File/FileWriter.php:use Pim\Bundle\ImportExportBundle\Validator\Constraints\WritableDirectory;
./src/Pim/Bundle/TransformBundle/Transformer/ProductTransformer.php:use Pim\Bundle\BaseConnectorBundle\Reader\CachedReader;
./src/Pim/Bundle/CatalogBundle/MongoDB/Normalizer/GroupNormalizer.php:use Pim\Bundle\TransformBundle\Normalizer\Structured\TranslationNormalizer;
./src/Pim/Bundle/CatalogBundle/MongoDB/Normalizer/FamilyNormalizer.php:use Pim\Bundle\TransformBundle\Normalizer\Structured\TranslationNormalizer;
./src/Pim/Bundle/CatalogBundle/Entity/Repository/FamilyRepository.php:use Pim\Bundle\EnrichBundle\Form\DataTransformer\ChoicesProviderInterface;
./src/Pim/Bundle/CatalogBundle/Entity/Repository/AttributeRepository.php:use Pim\Bundle\EnrichBundle\Form\DataTransformer\ChoicesProviderInterface;
./src/Pim/Bundle/CatalogBundle/PimCatalogBundle.php:use Oro\Bundle\EntityBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass;
```

Could be enhanced by checking other bundles and used services aliases