Doctrine   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A resultSetToArray() 0 4 1
A getExecuteCommandCallable() 0 4 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace Db3v4l\Core\SqlExecutor\InProcess;
4
5
use Db3v4l\API\Interfaces\SqlExecutor\InProcess\CommandExecutor;
6
use Db3v4l\Core\SqlExecutor\BaseExecutor;
7
use Doctrine\DBAL\DriverManager;
0 ignored issues
show
Bug introduced by
The type Doctrine\DBAL\DriverManager was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Doctrine\DBAL\Configuration;
0 ignored issues
show
Bug introduced by
The type Doctrine\DBAL\Configuration was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
10
class Doctrine extends BaseExecutor implements CommandExecutor
0 ignored issues
show
Coding Style introduced by
Missing doc comment for class Doctrine
Loading history...
11
{
12
    const EXECUTION_STRATEGY = 'Doctrine';
13
14
    public function getExecuteCommandCallable($sql)
0 ignored issues
show
Coding Style introduced by
Missing doc comment for function getExecuteCommandCallable()
Loading history...
15
    {
16
        /// @todo
17
        throw new \Exception('Not implemented yet');
18
    }
19
20
    public function resultSetToArray($data)
0 ignored issues
show
Coding Style introduced by
Missing doc comment for function resultSetToArray()
Loading history...
21
    {
22
        /// @todo
23
        throw new \Exception('Not implemented yet');
24
    }
25
}
26