PhpSpreadsheet/samples
Owen Leibman 9fed8d87f6 Two Problems with Sample19
19_NamedRange.php was not changed to use absolute addressing when that was introduced to Named Ranges. Consequently, the output from this sample has been wrong ever since, for both Xls and Xlsx.

There was an additional problem with Xls. It appears that the Xls Writer Parser does not parse multiple concatenations using the ampersand operator correctly. So, `=B1+" "+B2` was parsed as `=B1+" "`. I believe that this is due to ampersand being treated as a condition rather than an operator; `A1>A2>A3` isn't valid, but `A1&A2&A3` is. My original PR (#1992, which I will now close) only partially resolved this, but I think moving ampersand handling from `condition` to `expression` is fully successful.

There are already more than ample tests for Named Ranges, so I did not add a new one for that purpose. However, I did add a new test for the Xls parser problem.
2021-05-09 15:41:36 -07:00
..
Autofilter Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
Basic Two Problems with Sample19 2021-05-09 15:41:36 -07:00
Calculations Financial functions more rationalization (#1990) 2021-04-12 22:08:58 +02:00
Chart jpgraph seems to be finally dying with PHP. (#1926) 2021-03-15 14:14:44 +01:00
DefinedNames Make DefinedNames Samples Consistent With Other Samples (#1707) 2020-11-11 11:02:04 +01:00
Pdf Codestyle clean-ups 2020-10-09 16:08:20 +02:00
Reader Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Reading_workbook_data Upgrade to latest PHP_CodeSniffer 2018-08-06 11:02:16 +09:00
bootstrap Reorganize code samples 2016-09-01 01:17:13 +09:00
images Xls Writer - Correct Timestamp Bug, Improve Coverage (#1493) 2020-06-19 21:08:36 +02:00
templates Use DateTime Rather than gmmktime in Sample Template (#1827) 2021-02-14 18:54:49 +01:00
Bootstrap.php Keep sample bootstrap purely in samples 2020-05-17 18:51:13 +09:00
Header.php Keep sample bootstrap purely in samples 2020-05-17 18:51:13 +09:00
index.php Drop PHP 7.1 2020-04-27 18:42:32 +09:00