* Update sqlparser to fit php8.

This commit is contained in:
songchenxuan
2024-03-19 14:52:48 +08:00
parent 39f5d2905b
commit ea516fd9b3
663 changed files with 140347 additions and 16174 deletions
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Tests\Parser;
use PhpMyAdmin\SqlParser\Tests\TestCase;
@@ -8,19 +10,20 @@ class DropStatementTest extends TestCase
{
/**
* @dataProvider dropProvider
*
* @param mixed $test
*/
public function testDrop($test)
public function testDrop(string $test): void
{
$this->runParserTest($test);
}
public function dropProvider()
/**
* @return string[][]
*/
public function dropProvider(): array
{
return array(
array('parser/parseDrop'),
array('parser/parseDrop2'),
);
return [
['parser/parseDrop'],
['parser/parseDrop2'],
];
}
}