GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch master (0fd339)
by Pedro
04:18 queued 01:17
created

Mssql::parseConstrants()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
0 ignored issues
show
Coding Style Compatibility introduced by
For compatibility and reusability of your code, PSR1 recommends that a file should introduce either new symbols (like classes, functions, etc.) or have side-effects (like outputting something, or including other files), but not both at the same time. The first symbol is defined on line 11 and the first side effect is on line 5.

The PSR-1: Basic Coding Standard recommends that a file should either introduce new symbols, that is classes, functions, constants or similar, or have side effects. Side effects are anything that executes logic, like for example printing output, changing ini settings or writing to a file.

The idea behind this recommendation is that merely auto-loading a class should not change the state of an application. It also promotes a cleaner style of programming and makes your code less prone to errors, because the logic is not spread out all over the place.

To learn more about the PSR-1, please see the PHP-FIG site on the PSR-1.

Loading history...
2
3
namespace Classes\AdaptersDriver;
4
5
require_once 'Classes/AdaptersDriver/AbsractAdapter.php';
6
7
/**
8
 * @author Pedro Alarcao <[email protected]>
9
 * @link https://github.com/pedro151/ORM-Generator
10
 */
11
class Mssql extends AbsractAdapter
12
{
13
14
    /**
15
     * @var int
16
     */
17
    protected $port = 1433;
18
19
    /**
20
     * @inheritDoc
21
     */
22
    protected function parseConstrants()
23
    {
24
        // TODO: implement here
25
    }
26
27
    /**
28
     * @inheritDoc
29
     */
30
    protected function parseTables()
31
    {
32
        // TODO: implement here
33
    }
34
35
    /**
36
     * @inheritDoc
37
     * @return string
38
     */
39
    public function getPDOString()
40
    {
41
        // TODO: implement here
42
        return "";
43
    }
44
45
    /**
46
     * @inheritDoc
47
     * @return string
48
     */
49
    public function getPDOSocketString()
50
    {
51
        // TODO: implement here
52
        return "";
53
    }
54
55
    /**
56
     * @inheritDoc
57
     * @param string $databaseName
0 ignored issues
show
Bug introduced by
There is no parameter named $databaseName. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
58
     * @return \Classes\Db\DbTable[]
59
     */
60
    public function getTables($schema = 0)
61
    {
62
        // TODO: implement here
63
        return array();
64
    }
65
66
    /**
67
     * @inheritDoc
68
     * @return string[]
69
     */
70
    public function getListNameTable()
71
    {
72
        // TODO: implement here
73
        return array();
74
    }
75
76
    /**
77
     * retorna multiplos arrays com dados da column em array
78
     *
79
     * @return array[]
80
     */
81
    public function getListColumns ()
82
    {
83
        // TODO: Implement getListColumns() method.
84
    }
85
86
    /**
87
     * retorna o numero total de tabelas
88
     *
89
     * @return int
90
     */
91
    public function getTotalTables ()
92
    {
93
        // TODO: Implement totalTables() method.
94
    }
95
96
    public function getSequence ( $table , $column )
97
    {
98
        // TODO: Implement getSequence() method.
99
    }
100
101
    public function getListConstrant ()
102
    {
103
        // TODO: Implement getListConstrant() method.
104
    }
105
106
}
107