Uninstall   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 3
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A uninstall() 0 4 1
1
<?php
2
3
namespace kujaff\VersionsBundle\Service\Install;
4
5
use kujaff\VersionsBundle\Model\Uninstall as BaseUninstall;
6
use kujaff\VersionsBundle\Model\DoctrineHelper;
7
use kujaff\VersionsBundle\Model\BundleNameFromClassName;
8
use Symfony\Component\DependencyInjection\ContainerAware;
9
10
class Uninstall extends ContainerAware implements BaseUninstall
0 ignored issues
show
Deprecated Code introduced by
The class Symfony\Component\Depend...njection\ContainerAware has been deprecated with message: since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
11
{
12
    use DoctrineHelper;
13
    use BundleNameFromClassName;
14
15
    /**
16
     * Uninstall
17
     */
18
    public function uninstall()
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
19
    {
20
        $this->dropTables(array('versions_bundles'));
21
    }
22
}
23