diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php index fd47e164c..a85c3111a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php @@ -66,7 +66,7 @@ class DateValueTest extends TestCase $expectedResult = $this->parseTemplatedExpectation($expectedResult); } - $result = DateValue::fromString(...$args); + $result = DateValue::fromString(/** @scrutinizer ignore-type */ ...$args); self::assertEqualsWithDelta($expectedResult, $result, 1.0e-8); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php index c6f6b8676..2b1a49a56 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php @@ -38,7 +38,7 @@ class DayTest extends TestCase */ public function testDirectCallToDAY($expectedResultExcel, ...$args): void { - $result = DateParts::day(...$args); + $result = DateParts::day(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResultExcel, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php index c5fa043a0..c2de9925b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php @@ -23,7 +23,7 @@ class Days360Test extends TestCase */ public function testDirectCallToDAYS360($expectedResult, ...$args): void { - $result = Days360::between(...$args); + $result = Days360::between(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php index f06861718..4a1bb8d4d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php @@ -18,7 +18,7 @@ class HourTest extends TestCase */ public function testDirectCallToHOUR($expectedResult, ...$args): void { - $result = TimeParts::hour(...$args); + $result = TimeParts::hour(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php index 7514b7586..4e034a436 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php @@ -39,7 +39,7 @@ class IsoWeekNumTest extends TestCase */ public function testDirectCallToISOWEEKNUM($expectedResult, ...$args): void { - $result = Week::isoWeekNumber(...$args); + $result = Week::isoWeekNumber(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php index 65c9a2c14..de00046a4 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php @@ -18,7 +18,7 @@ class MinuteTest extends TestCase */ public function testDirectCallToMINUTE($expectedResult, ...$args): void { - $result = TimeParts::MINUTE(...$args); + $result = TimeParts::MINUTE(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php index c33a8deab..bc007ee7a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php @@ -18,7 +18,7 @@ class MonthTest extends TestCase */ public function testDirectCallToMONTH($expectedResultExcel, ...$args): void { - $result = DateParts::month(...$args); + $result = DateParts::month(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResultExcel, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php index 203f85d88..cfaba23e0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php @@ -17,7 +17,7 @@ class SecondTest extends TestCase */ public function testDirectCallToSECOND($expectedResult, ...$args): void { - $result = TimeParts::second(...$args); + $result = TimeParts::second(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php index af215a6c8..63d078f0d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php @@ -38,7 +38,7 @@ class TimeValueTest extends TestCase */ public function testDirectCallToTIMEVALUE($expectedResult, ...$args): void { - $result = TimeValue::fromString(...$args); + $result = TimeValue::fromString(/** @scrutinizer ignore-type */ ...$args); self::assertEqualsWithDelta($expectedResult, $result, 1.0e-8); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php index 599515397..02ad1dabf 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php @@ -37,7 +37,7 @@ class WeekDayTest extends TestCase */ public function testDirectCallToWEEKDAY($expectedResult, ...$args): void { - $result = Week::day(...$args); + $result = Week::day(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php index 95d1d7ac6..fad7bc68e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php @@ -38,7 +38,7 @@ class WeekNumTest extends TestCase */ public function testDirectCallToWEEKNUM($expectedResult, ...$args): void { - $result = Week::number(...$args); + $result = Week::number(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResult, $result); } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php index ccea18b47..f7be47883 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php @@ -17,7 +17,7 @@ class YearTest extends TestCase */ public function testDirectCallToYEAR($expectedResultExcel, ...$args): void { - $result = DateParts::year(...$args); + $result = DateParts::year(/** @scrutinizer ignore-type */ ...$args); self::assertSame($expectedResultExcel, $result); }