LocalGitRepository   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getPotentiallyBrokenCustomizations() 0 4 1
A getUpgradeSteps() 0 4 1
1
<?php
2
3
namespace Sugarcrm\UpgradeSpec\Data\Provider\SourceCode;
4
5
use Sugarcrm\UpgradeSpec\Data\Exception\WrongProviderException;
6
use Sugarcrm\UpgradeSpec\Context\Upgrade;
7
8
class LocalGitRepository implements SourceCodeProviderInterface
9
{
10
    /**
11
     * Gets the list of potentially broken customizations (changed and deleted files)
12
     *
13
     * @param Upgrade $context
14
     *
15
     * @return mixed
0 ignored issues
show
Documentation introduced by
Consider making the return type a bit more specific; maybe use NoType.

This check looks for the generic type array as a return type and suggests a more specific type. This type is inferred from the actual code.

Loading history...
16
     * @throws WrongProviderException
17
     */
18
    public function getPotentiallyBrokenCustomizations(Upgrade $context)
19
    {
20
        throw new WrongProviderException('Not implemented');
21
    }
22
23
    /**
24
     * Gets the lists of upgrade steps for the given source
25
     *
26
     * @param Upgrade $context
27
     *
28
     * @return mixed
0 ignored issues
show
Documentation introduced by
Consider making the return type a bit more specific; maybe use NoType.

This check looks for the generic type array as a return type and suggests a more specific type. This type is inferred from the actual code.

Loading history...
29
     * @throws WrongProviderException
30
     */
31
    public function getUpgradeSteps(Upgrade $context)
32
    {
33
        throw new WrongProviderException('Not implemented');
34
    }
35
}
36