snide / scrutinizer-bundle

Scrutinizer 客户端,用于 Symfony2 应用程序

安装: 0

依赖项: 0

建议者: 0

安全: 0

星星: 2

关注者: 0

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2014-03-09 18:40 UTC

This package is not auto-updated.

Last update: 2024-09-14 16:29:21 UTC


README

对您的仓库(Symfony 2 Bundle)的快速概述

Build Status Scrutinizer Quality Score

设置

使用 Composer 安装

如果您使用 composer,请将 SnideScrutinizerBundle 包作为依赖项添加到您的应用程序的 composer.json 文件中

    "require": {
        ...
        "snide/scrutinizer-bundle": "dev-master"
        ...
    },

## Loading


Add the bundle to your app/AppKernel.php under the dev environment
```php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    ...
    $bundles[] = new Snide\Bundle\ScrutinizerBundle\SnideScrutinizerBundle();
}

该包需要将必要的资源复制到 web 文件夹。您可以使用以下命令

    php app/console assets:install

配置

将以下内容添加到您的 app/config/config_dev.yml 中(您仅在开发环境中使用此配置)

snide_scrutinizer:
    repository:
            slug: pdenis/SnideTravinizerBundle # your repository slug
            type: github # github or bitbucket
    # Optional
    filesystem_cache_path: "%kernel.cache_dir%/scrutinizer"

概述

常规

Scrutinizer data

度量

Scrutinizer Metrics