Skip to content

Commit ce4e30e

Browse files
committed
Fix errors detected by PHPStan at level 0
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent 59af899 commit ce4e30e

File tree

7 files changed

+6
-3
lines changed

7 files changed

+6
-3
lines changed

src/Statement.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ abstract class Statement
5656
*/
5757
public static $CLAUSES = [];
5858

59+
public static $END_OPTIONS = [];
60+
5961
/**
6062
* The options of this query.
6163
*

src/Statements/SelectStatement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use PhpMyAdmin\SqlParser\Components\Condition;
1111
use PhpMyAdmin\SqlParser\Components\Expression;
1212
use PhpMyAdmin\SqlParser\Components\FunctionCall;
13+
use PhpMyAdmin\SqlParser\Components\IndexHint;
1314
use PhpMyAdmin\SqlParser\Components\IntoKeyword;
1415
use PhpMyAdmin\SqlParser\Components\JoinKeyword;
1516
use PhpMyAdmin\SqlParser\Components\Limit;

tests/Components/ComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4+
namespace PhpMyAdmin\SqlParser\Tests\Components;
55

66
use PhpMyAdmin\SqlParser\Component;
77
use PhpMyAdmin\SqlParser\Parser;

tests/Misc/BugsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4+
namespace PhpMyAdmin\SqlParser\Tests\Misc;
55

66
use PhpMyAdmin\SqlParser\Tests\TestCase;
77

tests/Utils/FormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use PhpMyAdmin\SqlParser\Tests\TestCase;
77
use PhpMyAdmin\SqlParser\Utils\Formatter;
88

9-
class FormatTest extends TestCase
9+
class FormatterTest extends TestCase
1010
{
1111
/**
1212
* @dataProvider mergeFormats

0 commit comments

Comments
 (0)