Updates to 3rd party libraries

Add Dockerfile and specific docker-php.ini
This commit is contained in:
2018-08-28 21:27:13 -04:00
parent 9edd6c1c35
commit d52454d1bb
511 changed files with 45960 additions and 2739 deletions

View File

@ -0,0 +1,24 @@
<?php
return [
[
3.7795275590999999,
0.10000000000000001,
],
[
7.5590551181999999,
0.20000000000000001,
],
[
18.8976377955,
0.5,
],
[
37.795275590999999,
1.0,
],
[
75.590551181999999,
2.0,
],
];

View File

@ -0,0 +1,219 @@
<?php
return [
// ASCII
[
'ASCII',
367,
],
// OEM US
[
'CP437',
437,
],
// OEM Greek
[
'CP737',
737,
],
// OEM Baltic
[
'CP775',
775,
],
// OEM Latin I
[
'CP850',
850,
],
// OEM Latin II (Central European)
[
'CP852',
852,
],
// OEM Cyrillic
[
'CP855',
855,
],
// OEM Turkish
[
'CP857',
857,
],
// OEM Multilingual Latin I with Euro
[
'CP858',
858,
],
// OEM Portugese
[
'CP860',
860,
],
// OEM Icelandic
[
'CP861',
861,
],
// OEM Hebrew
[
'CP862',
862,
],
// OEM Canadian (French)
[
'CP863',
863,
],
// OEM Arabic
[
'CP864',
864,
],
// OEM Nordic
[
'CP865',
865,
],
// OEM Cyrillic (Russian)
[
'CP866',
866,
],
// OEM Greek (Modern)
[
'CP869',
869,
],
// ANSI Thai
[
'CP874',
874,
],
// ANSI Japanese Shift-JIS
[
'CP932',
932,
],
// ANSI Chinese Simplified GBK
[
'CP936',
936,
],
// ANSI Korean (Wansung)
[
'CP949',
949,
],
// ANSI Chinese Traditional BIG5
[
'CP950',
950,
],
// UTF-16 (BIFF8)
[
'UTF-16LE',
1200,
],
// ANSI Latin II (Central European)
[
'CP1250',
1250,
],
// ANSI Cyrillic
[
'CP1251',
1251,
],
// ANSI Latin I (BIFF4-BIFF7)
[
'CP1252',
0,
],
// ANSI Latin I (BIFF4-BIFF7)
[
'CP1252',
1252,
],
// ANSI Greek
[
'CP1253',
1253,
],
// ANSI Turkish
[
'CP1254',
1254,
],
// ANSI Hebrew
[
'CP1255',
1255,
],
// ANSI Arabic
[
'CP1256',
1256,
],
// ANSI Baltic
[
'CP1257',
1257,
],
// ANSI Vietnamese
[
'CP1258',
1258,
],
// ANSI Korean (Johab)
[
'CP1361',
1361,
],
// Apple Roman
[
'MAC',
10000,
],
// Macintosh Greek
[
'MACGREEK',
10006,
],
// Macintosh Cyrillic
[
'MACCYRILLIC',
10007,
],
// Macintosh Central Europe
[
'MACCENTRALEUROPE',
10029,
],
// Macintosh Icelandic
[
'MACICELAND',
10079,
],
// Macintosh Turkish
[
'MACTURKISH',
10081,
],
// Apple Roman
[
'MAC',
32768,
],
// Unicode (UTF-7)
[
'UTF-7',
65000,
],
// Unicode (UTF-8)
[
'UTF-8',
65001,
],
];

View File

@ -0,0 +1,72 @@
<?php
// DateTime object Result Comments
return [
// Excel 1900 base calendar date
[
1.0,
new DateTime('1900-01-01'),
],
// This and next test show gap for the mythical
[
59.0,
new DateTime('1900-02-28'),
],
// MS Excel 1900 Leap Year
[
61.0,
new DateTime('1900-03-01'),
],
// Unix Timestamp 32-bit Earliest Date
[
714.0,
new DateTime('1901-12-14'),
],
[
1461.0,
new DateTime('1903-12-31'),
],
// Excel 1904 Calendar Base Date
[
1462.0,
new DateTime('1904-01-01'),
],
[
1463.0,
new DateTime('1904-01-02'),
],
[
22269.0,
new DateTime('1960-12-19'),
],
// Unix Timestamp Base Date
[
25569.0,
new DateTime('1970-01-01'),
],
[
30292.0,
new DateTime('1982-12-07'),
],
[
39611.0,
new DateTime('2008-06-12'),
],
// Unix Timestamp 32-bit Latest Date
[
50424.0,
new DateTime('2038-01-19'),
],
[
1234.56789,
new DateTime('1903-05-18 13:37:46'),
],
[
12345.6789,
new DateTime('1933-10-18 16:17:37'),
],
[
73050.0,
new DateTime('2099-12-31'),
],
];

View File

@ -0,0 +1,75 @@
<?php
// Excel DateTimeStamp Result Comments
return [
// PHP 32-bit Earliest Date 14-Dec-1901
[
-2147472000,
714,
],
// 31-Dec-1903
[
-2082931200,
1461,
],
// Excel 1904 Calendar Base Date 01-Jan-1904
[
-2082844800,
1462,
],
// 02-Jan-1904
[
-2082758400,
1463,
],
// 19-Dec-1960
[
-285120000,
22269,
],
// PHP Base Date 01-Jan-1970
[
0,
25569,
],
// 07-Dec-1982
[
408067200,
30292,
],
// 12-Jun-2008
[
1213228800,
39611,
],
// PHP 32-bit Latest Date 9-Jan-2038
[
2147472000,
50424,
],
// 18-May-1903 13:37:46
[
-2102494934,
1234.56789,
],
// 18-Oct-1933 16:17:37
[
-1142494943,
12345.6789,
],
// 12:00:00
[
43200,
0.5,
],
// 18:00.00
[
64800,
0.75,
],
// 02:57:46
[
10666,
0.12345,
],
];

View File

@ -0,0 +1,137 @@
<?php
// Excel DateTimeStamp Timezone Result Comments
return [
// 19-Dec-1960 00:00:00 EST => 19-Dec-1960 05:00:00 UTC
[
-285102000,
22269,
'America/New_York',
],
// 01-Jan-1970 00:00:00 EST => 01-Jan-1970 05:00:00 UTC PHP Base Date
[
18000,
25569,
'America/New_York',
],
// 07-Dec-1982 00:00:00 EST => 07-Dec-1982 05:00:00 UTC
[
408085200,
30292,
'America/New_York',
],
// 12-Jun-2008 00:00:00 EDT => 12-Jun-2008 04:00:00 UTC
[
1213243200,
39611,
'America/New_York',
],
// 19-Jan-2038 00:00:00 EST => 19-Jan-2038 05:00:00 UTC PHP 32-bit Latest Date
[
2147490000,
50424,
'America/New_York',
],
// 05-Mar-1961 13:37:46 EST => 05-Mar-1961 18:37:46 UTC
[
-278486534,
22345.56789,
'America/New_York',
],
// 05-Mar-1961 16:17:37 EST => 05-Mar-1961 21:17:37 UTC
[
-278476943,
22345.6789,
'America/New_York',
],
// 12:00:00 EST => 17:00:00 UTC
[
61200,
0.5,
'America/New_York',
],
// 18:00.00 EST => 23:00:00 UTC
[
82800,
0.75,
'America/New_York',
],
// 02:57:46 EST => 07:57:46 UTC
[
28666,
0.12345,
'America/New_York',
],
// 02-Nov-2012 00:00:00 EDT => 02-Nov-2012 04:00:00 UTC
[
1351828800,
41215,
'America/New_York',
],
// 19-Dec-1960 00:00:00 NZST => 18-Dec-1960 12:00:00 UTC
[
-285163200,
22269,
'Pacific/Auckland',
],
// 01-Jan-1970 00:00:00 NZST => 31-Dec-1969 12:00:00 UTC PHP Base Date
[
-43200,
25569,
'Pacific/Auckland',
],
// 07-Dec-1982 00:00:00 NZDT => 06-Dec-1982 11:00:00 UTC
[
408020400,
30292,
'Pacific/Auckland',
],
// 12-Jun-2008 00:00:00 NZST => 11-Jun-2008 12:00:00 UTC
[
1213185600,
39611,
'Pacific/Auckland',
],
// 18-Jan-2038 12:00:00 NZDT => 17-Jan-2038 23:00:00 UTC PHP 32-bit Latest Date
[
2147382000,
50423.5,
'Pacific/Auckland',
],
// 05-Mar-1961 13:37:46 NZST => 05-Mar-1961 01:37:46 UTC
[
-278547734,
22345.56789,
'Pacific/Auckland',
],
// 05-Mar-1961 16:17:37 NZST => 05-Mar-1961 04:17:37 UTC
[
-278538143,
22345.6789,
'Pacific/Auckland',
],
// 12:00:00 NZST => 00:00:00 UTC
[
0,
0.5,
'Pacific/Auckland',
],
// 18:00.00 NZST => 06:00:00 UTC
[
21600,
0.75,
'Pacific/Auckland',
],
// 02:57:46 NZST => 14:57:46 UTC
[
-32534,
0.12345,
'Pacific/Auckland',
],
// 02-Nov-2012 00:00:00 NZDT => 01-Nov-2012 11:00:00 UTC
[
1351767600,
41215,
'Pacific/Auckland',
],
];

View File

@ -0,0 +1,45 @@
<?php
// Excel DateTimeStamp Result Comments
return [
[
-1956528000,
1462,
],
[
-1956441600,
1463,
],
[
-158803200,
22269,
],
[
126316800,
25569,
],
[
534384000,
30292,
],
[
1339545600,
39611,
],
// 06:00:00
[
21600,
0.25,
],
// 08:00.00
[
28800,
0.3333333333333333333,
],
// 02:57:46
[
46933,
0.54321,
],
];

View File

@ -0,0 +1,149 @@
<?php
// Excel Format Code Result
return [
[
false,
'General',
],
[
false,
'@',
],
[
false,
'0',
],
[
false,
'0.00',
],
[
false,
'#,##0.00',
],
[
false,
'#,##0.00_-',
],
[
false,
'0%',
],
[
false,
'0.00%',
],
[
true,
'yyyy-mm-dd',
],
[
true,
'yy-mm-dd',
],
[
true,
'dd/mm/yy',
],
[
true,
'd/m/y',
],
[
true,
'd-m-y',
],
[
true,
'd-m',
],
[
true,
'm-y',
],
[
true,
'mm-dd-yy',
],
[
true,
'd-mmm-yy',
],
[
true,
'd-mmm',
],
[
true,
'mmm-yy',
],
[
true,
'm/d/yy h:mm',
],
[
true,
'd/m/y h:mm',
],
[
true,
'h:mm AM/PM',
],
[
true,
'h:mm:ss AM/PM',
],
[
true,
'h:mm',
],
[
true,
'h:mm:ss',
],
[
true,
'mm:ss',
],
[
true,
'h:mm:ss',
],
[
true,
'i:s.S',
],
[
true,
'h:mm:ss;@',
],
[
true,
'yy/mm/dd;@',
],
[
false,
'"$" #,##0.00_-',
],
[
false,
'$#,##0_-',
],
[
false,
'[$EUR ]#,##0.00_-',
],
[
false,
'_[$EUR ]#,##0.00_-',
],
[
false,
'[Green]#,##0.00;[Red]#,##0.00_-',
],
[
false,
'#,##0.00 "dollars"',
],
];

View File

@ -0,0 +1,89 @@
<?php
// Year Month Day Hours Minutes Seconds Result Comments
return [
// PHP 32-bit Earliest Date 14-Dec-1901
[
714,
1901,
12,
14,
],
// 31-Dec-1903
[
1461,
1903,
12,
31,
],
// Excel 1904 Calendar Base Date 01-Jan-1904
[
1462,
1904,
1,
1,
],
// 02-Jan-1904
[
1463,
1904,
1,
2,
],
// 19-Dec-1960
[
22269,
1960,
12,
19,
],
// PHP Base Date 01-Jan-1970
[
25569,
1970,
1,
1,
],
// 07-Dec-1982
[
30292,
1982,
12,
7,
],
// 12-Jun-2008
[
39611,
2008,
6,
12,
],
// PHP 32-bit Latest Date 19-Jan-2038
[
50424,
2038,
1,
19,
],
// 18-May-1903 13:37:46
[
1234.56789,
1903,
5,
18,
13,
37,
46,
],
// 18-Oct-1933 16:17:37
[
12345.6789,
1933,
10,
18,
16,
17,
37,
],
];

View File

@ -0,0 +1,61 @@
<?php
// Unix TimeStamp Result Comments
return [
// PHP 32-bit Earliest Date 14-Dec-1901
[
714,
-2147472000,
],
// 31-Dec-1903
[
1461,
-2082931200,
],
// Excel 1904 Calendar Base Date 01-Jan-1904
[
1462,
-2082844800,
],
// 02-Jan-1904
[
1463,
-2082758400,
],
// 19-Dec-1960
[
22269,
-285120000,
],
// PHP Base Date 01-Jan-1970
[
25569,
0,
],
// 07-Dec-1982
[
30292,
408067200,
],
// 12-Jun-2008
[
39611,
1213228800,
],
// PHP 32-bit Latest Date 19-Jan-2038
[
50424,
2147472000,
],
// 18-May-1903 13:37:46
[
1234.56789,
-2102494934,
],
// 18-Oct-1933 16:17:37
[
12345.6789,
-1142494943,
],
];

View File

@ -0,0 +1,29 @@
<?php
// Excel DateTimeStamp Result
return [
[
1462,
-1956528000,
],
[
1463,
-1956441600,
],
[
22269,
-158803200,
],
[
25569,
126316800,
],
[
30292,
534384000,
],
[
39611,
1339545600,
],
];

View File

@ -0,0 +1,68 @@
<?php
return [
[
8,
6,
],
[
9,
7,
],
[
10,
8,
],
[
12,
9,
],
[
13,
10,
],
[
14,
11,
],
[
16,
12,
],
[
18,
14,
],
[
21,
16,
],
[
24,
18,
],
[
26,
20,
],
[
29,
22,
],
[
32,
24,
],
[
48,
36,
],
[
64,
48,
],
[
80,
60,
],
];

View File

@ -0,0 +1,24 @@
<?php
return [
[
9.5999999999999996,
0.10000000000000001,
],
[
19.199999999999999,
0.20000000000000001,
],
[
48.0,
0.5,
],
[
96.0,
1.0,
],
[
192.0,
2.0,
],
];

View File

@ -0,0 +1,28 @@
<?php
return [
[
'BCDE',
'PhpSpreadsheet',
],
[
'877D',
'Mark Baker',
],
[
'C0EA',
'!+&=()~§±æþ',
],
[
'C07E',
'秘密口令',
],
[
'99E8',
'leyndarmál lykilorð',
],
[
'CE4B',
'',
],
];