* Support php 5.3 for sql parser lib.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PhpMyAdmin\SqlParser\Tests\Misc;
|
||||
|
||||
use PhpMyAdmin\SqlParser\Tests\TestCase;
|
||||
@@ -9,27 +7,27 @@ use PhpMyAdmin\SqlParser\Tests\TestCase;
|
||||
class BugsTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @param mixed $test
|
||||
*
|
||||
* @dataProvider bugProvider
|
||||
*
|
||||
* @param mixed $test
|
||||
*/
|
||||
public function testBug($test): void
|
||||
public function testBug($test)
|
||||
{
|
||||
$this->runParserTest($test);
|
||||
}
|
||||
|
||||
public function bugProvider(): array
|
||||
public function bugProvider()
|
||||
{
|
||||
return [
|
||||
['bugs/gh9'],
|
||||
['bugs/gh14'],
|
||||
['bugs/gh16'],
|
||||
['bugs/gh317'],
|
||||
['bugs/pma11800'],
|
||||
['bugs/pma11836'],
|
||||
['bugs/pma11843'],
|
||||
['bugs/pma11867'],
|
||||
['bugs/pma11879'],
|
||||
];
|
||||
return array(
|
||||
array('bugs/gh9'),
|
||||
array('bugs/gh14'),
|
||||
array('bugs/gh16'),
|
||||
array('bugs/gh317'),
|
||||
array('bugs/pma11800'),
|
||||
array('bugs/pma11836'),
|
||||
array('bugs/pma11843'),
|
||||
array('bugs/pma11867'),
|
||||
array('bugs/pma11879')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user