doh/find-unused-bundles-bundle

查找 symfony 2 的未使用包(或包)。

dev-master 2015-03-24 22:17 UTC

This package is not auto-updated.

Last update: 2024-09-28 17:07:24 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads Latest Unstable Version License SensioLabsInsight

仓库地址: https://github.com/chtipepere/FindUnusedBundles

安装

将包添加到 composer.json 中

"require-dev": {
    ...,
    "doh/find-unused-bundles-bundle": "dev-master"
}

将包添加到 AppKernel 中

if (in_array($this->getEnvironment(), ['dev', 'test'])) {
    $bundles[] = new Doh\FindUnusedBundlesBundle\DohFindUnusedBundlesBundle();
}

用法

扫描您的应用

php app/console doh:unusedblundles:find
php app/console d:u:f

已知问题

  • 无可用信息

待办事项

  • 移除和/或删除未使用的包/包。
  • 添加测试