Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
This commit is contained in:
36
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/COLUMNS.php
vendored
Normal file
36
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/COLUMNS.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
1,
|
||||
null,
|
||||
],
|
||||
[
|
||||
1,
|
||||
'',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'foo',
|
||||
],
|
||||
[
|
||||
0,
|
||||
[],
|
||||
],
|
||||
[
|
||||
1,
|
||||
[1],
|
||||
],
|
||||
[
|
||||
1,
|
||||
[1, 1],
|
||||
],
|
||||
[
|
||||
2,
|
||||
[[1, 1]],
|
||||
],
|
||||
[
|
||||
1,
|
||||
['a' => [1, 1]],
|
||||
],
|
||||
];
|
34
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/FORMULATEXT.php
vendored
Normal file
34
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/FORMULATEXT.php
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#N/A',
|
||||
'A1',
|
||||
'2',
|
||||
],
|
||||
[
|
||||
'="ABC"',
|
||||
'A2',
|
||||
'="ABC"',
|
||||
],
|
||||
[
|
||||
'=A1',
|
||||
'A3',
|
||||
'=A1',
|
||||
],
|
||||
[
|
||||
'=\'Worksheet1\'!A1',
|
||||
'A4',
|
||||
'=\'Worksheet1\'!A1',
|
||||
],
|
||||
[
|
||||
'="HELLO WORLD"',
|
||||
'\'Worksheet1\'!A5',
|
||||
'="HELLO WORLD"',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
'\'Worksheet1\'!A6',
|
||||
'123',
|
||||
],
|
||||
];
|
278
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/HLOOKUP.php
vendored
Normal file
278
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/HLOOKUP.php
vendored
Normal file
@ -0,0 +1,278 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
16.800000000000001,
|
||||
10251,
|
||||
[
|
||||
[
|
||||
'Order ID',
|
||||
10247,
|
||||
10249,
|
||||
10250,
|
||||
10251,
|
||||
10252,
|
||||
10253,
|
||||
],
|
||||
[
|
||||
'Unit Price',
|
||||
14.0,
|
||||
18.600000000000001,
|
||||
7.7000000000000002,
|
||||
16.800000000000001,
|
||||
16.800000000000001,
|
||||
64.799999999999997,
|
||||
],
|
||||
[
|
||||
'Quantity',
|
||||
12,
|
||||
9,
|
||||
10,
|
||||
6,
|
||||
20,
|
||||
40,
|
||||
],
|
||||
],
|
||||
2,
|
||||
false,
|
||||
],
|
||||
[
|
||||
6.0,
|
||||
10251,
|
||||
[
|
||||
[
|
||||
'Order ID',
|
||||
10247,
|
||||
10249,
|
||||
10250,
|
||||
10251,
|
||||
10252,
|
||||
10253,
|
||||
],
|
||||
[
|
||||
'Unit Price',
|
||||
14.0,
|
||||
18.600000000000001,
|
||||
7.7000000000000002,
|
||||
16.800000000000001,
|
||||
16.800000000000001,
|
||||
64.799999999999997,
|
||||
],
|
||||
[
|
||||
'Quantity',
|
||||
12,
|
||||
9,
|
||||
10,
|
||||
6,
|
||||
20,
|
||||
40,
|
||||
],
|
||||
],
|
||||
3,
|
||||
false,
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
10248,
|
||||
[
|
||||
[
|
||||
'Order ID',
|
||||
10247,
|
||||
10249,
|
||||
10250,
|
||||
10251,
|
||||
10252,
|
||||
10253,
|
||||
],
|
||||
[
|
||||
'Unit Price',
|
||||
14.0,
|
||||
18.600000000000001,
|
||||
7.7000000000000002,
|
||||
16.800000000000001,
|
||||
16.800000000000001,
|
||||
64.799999999999997,
|
||||
],
|
||||
[
|
||||
'Quantity',
|
||||
12,
|
||||
9,
|
||||
10,
|
||||
6,
|
||||
20,
|
||||
40,
|
||||
],
|
||||
],
|
||||
2,
|
||||
false,
|
||||
],
|
||||
[
|
||||
14.0,
|
||||
10248,
|
||||
[
|
||||
[
|
||||
'Order ID',
|
||||
10247,
|
||||
10249,
|
||||
10250,
|
||||
10251,
|
||||
10252,
|
||||
10253,
|
||||
],
|
||||
[
|
||||
'Unit Price',
|
||||
14.0,
|
||||
18.600000000000001,
|
||||
7.7000000000000002,
|
||||
16.800000000000001,
|
||||
16.800000000000001,
|
||||
64.799999999999997,
|
||||
],
|
||||
[
|
||||
'Quantity',
|
||||
12,
|
||||
9,
|
||||
10,
|
||||
6,
|
||||
20,
|
||||
40,
|
||||
],
|
||||
],
|
||||
2,
|
||||
true,
|
||||
],
|
||||
[
|
||||
4,
|
||||
'Axles',
|
||||
[
|
||||
[
|
||||
'Axles',
|
||||
'Bearings',
|
||||
'Bolts',
|
||||
],
|
||||
[
|
||||
4,
|
||||
4,
|
||||
9,
|
||||
],
|
||||
[
|
||||
5,
|
||||
7,
|
||||
10,
|
||||
],
|
||||
[
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
],
|
||||
],
|
||||
2,
|
||||
true,
|
||||
],
|
||||
[
|
||||
7,
|
||||
'Bearings',
|
||||
[
|
||||
[
|
||||
'Axles',
|
||||
'Bearings',
|
||||
'Bolts',
|
||||
],
|
||||
[
|
||||
4,
|
||||
4,
|
||||
9,
|
||||
],
|
||||
[
|
||||
5,
|
||||
7,
|
||||
10,
|
||||
],
|
||||
[
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
],
|
||||
],
|
||||
3,
|
||||
false,
|
||||
],
|
||||
[
|
||||
5,
|
||||
'B',
|
||||
[
|
||||
[
|
||||
'Axles',
|
||||
'Bearings',
|
||||
'Bolts',
|
||||
],
|
||||
[
|
||||
4,
|
||||
4,
|
||||
9,
|
||||
],
|
||||
[
|
||||
5,
|
||||
7,
|
||||
10,
|
||||
],
|
||||
[
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
],
|
||||
],
|
||||
3,
|
||||
true,
|
||||
],
|
||||
[
|
||||
11,
|
||||
'Bolts',
|
||||
[
|
||||
[
|
||||
'Axles',
|
||||
'Bearings',
|
||||
'Bolts',
|
||||
],
|
||||
[
|
||||
4,
|
||||
4,
|
||||
9,
|
||||
],
|
||||
[
|
||||
5,
|
||||
7,
|
||||
10,
|
||||
],
|
||||
[
|
||||
6,
|
||||
8,
|
||||
11,
|
||||
],
|
||||
],
|
||||
4,
|
||||
],
|
||||
[
|
||||
'c',
|
||||
3,
|
||||
[
|
||||
[
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
],
|
||||
[
|
||||
'a',
|
||||
'b',
|
||||
'c',
|
||||
],
|
||||
[
|
||||
'd',
|
||||
'e',
|
||||
'f',
|
||||
],
|
||||
],
|
||||
2,
|
||||
true,
|
||||
],
|
||||
];
|
90
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/INDEX.php
vendored
Normal file
90
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/INDEX.php
vendored
Normal file
@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
[20 => ['R' => 1]], // Expected
|
||||
// Input
|
||||
[20 => ['R' => 1]],
|
||||
],
|
||||
[
|
||||
'#VALUE!', // Expected
|
||||
// Input
|
||||
[
|
||||
20 => ['R' => 1],
|
||||
21 => ['R' => 2],
|
||||
],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#REF!', // Expected
|
||||
// Input
|
||||
[
|
||||
20 => ['R' => 1],
|
||||
21 => ['R' => 2],
|
||||
],
|
||||
10,
|
||||
],
|
||||
[
|
||||
[21 => ['R' => 2]], // Expected
|
||||
// Input
|
||||
[
|
||||
20 => ['R' => 1],
|
||||
21 => ['R' => 2],
|
||||
],
|
||||
2,
|
||||
],
|
||||
[
|
||||
[21 => ['R' => 2, 'S' => 4]], // Expected
|
||||
// Input
|
||||
[
|
||||
'20' => ['R' => 1, 'S' => 3],
|
||||
'21' => ['R' => 2, 'S' => 4],
|
||||
],
|
||||
2,
|
||||
0,
|
||||
],
|
||||
[
|
||||
'#VALUE!', // Expected
|
||||
// Input
|
||||
[
|
||||
'20' => ['R' => 1, 'S' => 3],
|
||||
'21' => ['R' => 2, 'S' => 4],
|
||||
],
|
||||
2,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#VALUE!', // Expected
|
||||
// Input
|
||||
[
|
||||
'20' => ['R' => 1, 'S' => 3],
|
||||
'21' => ['R' => 2, 'S' => 4],
|
||||
],
|
||||
2,
|
||||
10,
|
||||
],
|
||||
[
|
||||
4, // Expected
|
||||
// Input
|
||||
[
|
||||
'20' => ['R' => 1, 'S' => 3],
|
||||
'21' => ['R' => 2, 'S' => 4],
|
||||
],
|
||||
2,
|
||||
2,
|
||||
],
|
||||
[
|
||||
4, // Expected
|
||||
// Input
|
||||
[
|
||||
'20' => ['R' => 1, 'S' => 3],
|
||||
'21' => ['R' => 2, 'S' => 4],
|
||||
],
|
||||
[
|
||||
'21' => ['R' => 2],
|
||||
],
|
||||
[
|
||||
'21' => ['R' => 2],
|
||||
],
|
||||
],
|
||||
];
|
99
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/MATCH.php
vendored
Normal file
99
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/MATCH.php
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// Third argument = 0
|
||||
[
|
||||
1, // Expected
|
||||
2, // Input
|
||||
[2, 3, 4, 3],
|
||||
0,
|
||||
],
|
||||
[
|
||||
'#N/A', // Expected
|
||||
2, // Input
|
||||
[1, 0, 4, 3],
|
||||
0,
|
||||
],
|
||||
[
|
||||
1, // Expected
|
||||
2, // Input
|
||||
[2, 0, 0, 3],
|
||||
0,
|
||||
],
|
||||
[
|
||||
2, // Expected
|
||||
0, // Input
|
||||
[2, 0, 0, 3],
|
||||
0,
|
||||
],
|
||||
|
||||
// Third argument = 1
|
||||
[
|
||||
1, // Expected
|
||||
2, // Input
|
||||
[2, 3, 4, 3],
|
||||
1,
|
||||
],
|
||||
[
|
||||
2, // Expected
|
||||
2, // Input
|
||||
[2, 0, 4, 3],
|
||||
1,
|
||||
],
|
||||
[
|
||||
3, // Expected
|
||||
2, // Input
|
||||
[2, 0, 0, 3],
|
||||
1,
|
||||
],
|
||||
[
|
||||
4, // Expected
|
||||
4, // Input
|
||||
[2, 0, 0, 3],
|
||||
1,
|
||||
],
|
||||
|
||||
// Third argument = -1
|
||||
[
|
||||
1, // Expected
|
||||
2, // Input
|
||||
[2, 0, 0, 3],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
4, // Expected
|
||||
2, // Input
|
||||
[3, 3, 4, 5],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
1, // Expected
|
||||
5, // Input
|
||||
[8, 4, 3, 2],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#N/A', // Expected
|
||||
6, // Input
|
||||
[3, 5, 6, 8],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
1, // Expected
|
||||
6, // Input
|
||||
[8, 5, 4, 2],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
3, // Expected
|
||||
4, // Input
|
||||
[5, 8, 4, 2],
|
||||
-1,
|
||||
],
|
||||
[
|
||||
2, // Expected
|
||||
4, // Input
|
||||
[8, 8, 3, 2],
|
||||
-1,
|
||||
],
|
||||
];
|
36
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/ROWS.php
vendored
Normal file
36
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/ROWS.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
1,
|
||||
null,
|
||||
],
|
||||
[
|
||||
1,
|
||||
'',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'foo',
|
||||
],
|
||||
[
|
||||
0,
|
||||
[],
|
||||
],
|
||||
[
|
||||
1,
|
||||
[1],
|
||||
],
|
||||
[
|
||||
2,
|
||||
[1, 1],
|
||||
],
|
||||
[
|
||||
1,
|
||||
[[1, 1]],
|
||||
],
|
||||
[
|
||||
2,
|
||||
['a' => [1, 1]],
|
||||
],
|
||||
];
|
294
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/VLOOKUP.php
vendored
Normal file
294
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/LookupRef/VLOOKUP.php
vendored
Normal file
@ -0,0 +1,294 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#N/A',
|
||||
1,
|
||||
[
|
||||
[
|
||||
'Density',
|
||||
'Viscosity',
|
||||
'Temperature',
|
||||
],
|
||||
[
|
||||
0.45700000000000002,
|
||||
3.5499999999999998,
|
||||
500,
|
||||
],
|
||||
[
|
||||
0.52500000000000002,
|
||||
3.25,
|
||||
400,
|
||||
],
|
||||
[
|
||||
0.61599999999999999,
|
||||
2.9300000000000002,
|
||||
300,
|
||||
],
|
||||
[
|
||||
0.67500000000000004,
|
||||
2.75,
|
||||
250,
|
||||
],
|
||||
[
|
||||
0.746,
|
||||
2.5699999999999998,
|
||||
200,
|
||||
],
|
||||
[
|
||||
0.83499999999999996,
|
||||
2.3799999999999999,
|
||||
150,
|
||||
],
|
||||
[
|
||||
0.94599999999999995,
|
||||
2.1699999999999999,
|
||||
100,
|
||||
],
|
||||
[
|
||||
1.0900000000000001,
|
||||
1.95,
|
||||
50,
|
||||
],
|
||||
[
|
||||
1.29,
|
||||
1.71,
|
||||
0,
|
||||
],
|
||||
],
|
||||
2,
|
||||
false,
|
||||
],
|
||||
[
|
||||
100,
|
||||
1,
|
||||
[
|
||||
[
|
||||
'Density',
|
||||
'Viscosity',
|
||||
'Temperature',
|
||||
],
|
||||
[
|
||||
0.45700000000000002,
|
||||
3.5499999999999998,
|
||||
500,
|
||||
],
|
||||
[
|
||||
0.52500000000000002,
|
||||
3.25,
|
||||
400,
|
||||
],
|
||||
[
|
||||
0.61599999999999999,
|
||||
2.9300000000000002,
|
||||
300,
|
||||
],
|
||||
[
|
||||
0.67500000000000004,
|
||||
2.75,
|
||||
250,
|
||||
],
|
||||
[
|
||||
0.746,
|
||||
2.5699999999999998,
|
||||
200,
|
||||
],
|
||||
[
|
||||
0.83499999999999996,
|
||||
2.3799999999999999,
|
||||
150,
|
||||
],
|
||||
[
|
||||
0.94599999999999995,
|
||||
2.1699999999999999,
|
||||
100,
|
||||
],
|
||||
[
|
||||
1.0900000000000001,
|
||||
1.95,
|
||||
50,
|
||||
],
|
||||
[
|
||||
1.29,
|
||||
1.71,
|
||||
0,
|
||||
],
|
||||
],
|
||||
3,
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
0.69999999999999996,
|
||||
[
|
||||
[
|
||||
'Density',
|
||||
'Viscosity',
|
||||
'Temperature',
|
||||
],
|
||||
[
|
||||
0.45700000000000002,
|
||||
3.5499999999999998,
|
||||
500,
|
||||
],
|
||||
[
|
||||
0.52500000000000002,
|
||||
3.25,
|
||||
400,
|
||||
],
|
||||
[
|
||||
0.61599999999999999,
|
||||
2.9300000000000002,
|
||||
300,
|
||||
],
|
||||
[
|
||||
0.67500000000000004,
|
||||
2.75,
|
||||
250,
|
||||
],
|
||||
[
|
||||
0.746,
|
||||
2.5699999999999998,
|
||||
200,
|
||||
],
|
||||
[
|
||||
0.83499999999999996,
|
||||
2.3799999999999999,
|
||||
150,
|
||||
],
|
||||
[
|
||||
0.94599999999999995,
|
||||
2.1699999999999999,
|
||||
100,
|
||||
],
|
||||
[
|
||||
1.0900000000000001,
|
||||
1.95,
|
||||
50,
|
||||
],
|
||||
[
|
||||
1.29,
|
||||
1.71,
|
||||
0,
|
||||
],
|
||||
],
|
||||
3,
|
||||
false,
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
0.10000000000000001,
|
||||
[
|
||||
[
|
||||
'Density',
|
||||
'Viscosity',
|
||||
'Temperature',
|
||||
],
|
||||
[
|
||||
0.45700000000000002,
|
||||
3.5499999999999998,
|
||||
500,
|
||||
],
|
||||
[
|
||||
0.52500000000000002,
|
||||
3.25,
|
||||
400,
|
||||
],
|
||||
[
|
||||
0.61599999999999999,
|
||||
2.9300000000000002,
|
||||
300,
|
||||
],
|
||||
[
|
||||
0.67500000000000004,
|
||||
2.75,
|
||||
250,
|
||||
],
|
||||
[
|
||||
0.746,
|
||||
2.5699999999999998,
|
||||
200,
|
||||
],
|
||||
[
|
||||
0.83499999999999996,
|
||||
2.3799999999999999,
|
||||
150,
|
||||
],
|
||||
[
|
||||
0.94599999999999995,
|
||||
2.1699999999999999,
|
||||
100,
|
||||
],
|
||||
[
|
||||
1.0900000000000001,
|
||||
1.95,
|
||||
50,
|
||||
],
|
||||
[
|
||||
1.29,
|
||||
1.71,
|
||||
0,
|
||||
],
|
||||
],
|
||||
2,
|
||||
true,
|
||||
],
|
||||
[
|
||||
1.71,
|
||||
2,
|
||||
[
|
||||
[
|
||||
'Density',
|
||||
'Viscosity',
|
||||
'Temperature',
|
||||
],
|
||||
[
|
||||
0.45700000000000002,
|
||||
3.5499999999999998,
|
||||
500,
|
||||
],
|
||||
[
|
||||
0.52500000000000002,
|
||||
3.25,
|
||||
400,
|
||||
],
|
||||
[
|
||||
0.61599999999999999,
|
||||
2.9300000000000002,
|
||||
300,
|
||||
],
|
||||
[
|
||||
0.67500000000000004,
|
||||
2.75,
|
||||
250,
|
||||
],
|
||||
[
|
||||
0.746,
|
||||
2.5699999999999998,
|
||||
200,
|
||||
],
|
||||
[
|
||||
0.83499999999999996,
|
||||
2.3799999999999999,
|
||||
150,
|
||||
],
|
||||
[
|
||||
0.94599999999999995,
|
||||
2.1699999999999999,
|
||||
100,
|
||||
],
|
||||
[
|
||||
1.0900000000000001,
|
||||
1.95,
|
||||
50,
|
||||
],
|
||||
[
|
||||
1.29,
|
||||
1.71,
|
||||
0,
|
||||
],
|
||||
],
|
||||
2,
|
||||
true,
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user