Uninstall::uninstall()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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