MilioooMessagingBundleTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A testInterface() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the MilioooMessageBundle package.
5
 *
6
 * (c) Michiel boeckaert <[email protected]>
7
 * This source file is subject to the MIT license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace Miliooo\MessagingBundle\Tests;
12
13
use Miliooo\MessagingBundle\MilioooMessagingBundle;
14
15
/**
16
 * Description of MilioooMessagingBundleTest
17
 *
18
 * @author Michiel Boeckaert <[email protected]>
19
 */
20
class MilioooMessagingBundleTest extends \PHPUnit_Framework_TestCase
21
{
22
    protected $MilioooMessagingBundle;
0 ignored issues
show
Coding Style introduced by
$MilioooMessagingBundle does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
23
24
    public function setUp()
25
    {
26
        $this->MilioooMessagingBundle = new MilioooMessagingBundle;
27
    }
28
29
    public function testInterface()
30
    {
31
        $this->assertInstanceOf('Symfony\Component\HttpKernel\Bundle\BundleInterface', $this->MilioooMessagingBundle);
32
    }
33
}
34