mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-26 15:41:09 +00:00
More Phpstan Level 10 Prep - Readers
Also upgrade Phpstan.
This commit is contained in:
@@ -6,11 +6,13 @@ namespace PhpOffice\PhpSpreadsheetTests\Reader\Xls;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Cell\DataValidation;
|
||||
use PhpOffice\PhpSpreadsheet\Reader\Xls;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class DataValidationTest extends TestCase
|
||||
{
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('dataValidationProvider')]
|
||||
/** @param mixed[] $expectedRule */
|
||||
#[DataProvider('dataValidationProvider')]
|
||||
public function testDataValidation(string $expectedRange, array $expectedRule): void
|
||||
{
|
||||
$filename = 'tests/data/Reader/XLS/DataValidation.xls';
|
||||
|
||||
Reference in New Issue
Block a user