Passed
Pull Request — master (#4468)
by Owen
21:21 queued 14:00
created
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class CotTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerCOT')]
12
-    public function testCOT(float|int|string $expectedResult, float|int|string $angle): void
12
+    public function testCOT(float | int | string $expectedResult, float | int | string $angle): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class SechTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSECH')]
12
-    public function testSECH(float|int|string $expectedResult, float|int|string $angle): void
12
+    public function testSECH(float | int | string $expectedResult, float | int | string $angle): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class AcotTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerACOT')]
12
-    public function testACOT(float|int|string $expectedResult, float|int|string $number): void
12
+    public function testACOT(float | int | string $expectedResult, float | int | string $number): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class SecTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSEC')]
12
-    public function testSEC(float|int|string $expectedResult, float|int|string $angle): void
12
+    public function testSEC(float | int | string $expectedResult, float | int | string $angle): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class RoundTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRound')]
12
-    public function testRound(float|int|string $expectedResult, float|int|string $formula): void
12
+    public function testRound(float | int | string $expectedResult, float | int | string $formula): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class EvenTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerEVEN')]
12
-    public function testEVEN(int|string $expectedResult, float|int|string $value): void
12
+    public function testEVEN(int | string $expectedResult, float | int | string $value): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class CscTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerCSC')]
12
-    public function testCSC(float|int|string $expectedResult, float|int|string $angle): void
12
+    public function testCSC(float | int | string $expectedResult, float | int | string $angle): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 class SubTotalTest extends AllSetupTeardown
8 8
 {
9 9
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSUBTOTAL')]
10
-    public function testSubtotal(float|int|string $expectedResult, float|int|string $type): void
10
+    public function testSubtotal(float | int | string $expectedResult, float | int | string $type): void
11 11
     {
12 12
         $this->mightHaveException($expectedResult);
13 13
         $sheet = $this->getSheet();
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSUBTOTAL')]
28
-    public function testSubtotalColumnHidden(float|int|string $expectedResult, float|int|string $type): void
28
+    public function testSubtotalColumnHidden(float | int | string $expectedResult, float | int | string $type): void
29 29
     {
30 30
         // Hidden columns don't affect calculation, only hidden rows
31 31
         $this->mightHaveException($expectedResult);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     }
46 46
 
47 47
     #[\PHPUnit\Framework\Attributes\DataProvider('providerTooMuchPrecision')]
48
-    public function testTooMuchPrecision(mixed $expectedResult, float|int|string $value, int $digits = 1): void
48
+    public function testTooMuchPrecision(mixed $expectedResult, float | int | string $value, int $digits = 1): void
49 49
     {
50 50
         // This test is pretty screwy. Possibly shouldn't even attempt it.
51 51
         // At any rate, these results seem to indicate that PHP
Please login to merge, or discard this patch.