Files
oleibman 5a9055ca6a Phpstan Level 10 (Final)
Fix all of Statistical. We can now use Level 10 going forward.
2025-05-22 17:48:30 -07:00

25 lines
677 B
PHP

<?php
declare(strict_types=1);
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Statistical;
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PHPUnit\Framework\Attributes\DataProvider;
class SkewTest extends AllSetupTeardown
{
/** @param mixed[] $args */
#[DataProvider('providerSKEW')]
public function testSKEW(mixed $expectedResult, array $args): void
{
$this->returnArrayAs = Calculation::RETURN_ARRAY_AS_VALUE;
$this->runTestCaseReference('SKEW', $expectedResult, ...$args);
}
public static function providerSKEW(): array
{
return require 'tests/data/Calculation/Statistical/SKEW.php';
}
}