PhpSpreadsheet/tests/PhpSpreadsheetTests
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
..
Calculation MathTrig - Change Names of funcWhatever to evaluate (#2008) 2021-04-20 22:43:29 +02:00
Cell Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Chart Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Collection Resolve Deprecated setMethods() call when Mocking for tests (#1925) 2021-03-15 14:50:05 +01:00
Custom Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Document Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Functional Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Helper Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Reader XLSX Reader and Empty Fill Tag (#2011) 2021-04-20 17:20:59 +02:00
Shared Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Style Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Worksheet BREAKING `Worksheet::getCell()` cannot return null anymore 2021-04-13 11:09:29 +09:00
Writer Two Problems with Sample19 2021-05-09 15:41:36 -07:00
DefinedNameFormulaTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
DefinedNameTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
DocumentGeneratorTest.php Improve Coverage in src/PhpSpreadsheet 2020-11-27 06:50:01 -08:00
IOFactoryTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
NamedFormulaTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
NamedRangeTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
ReferenceHelperTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
SettingsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
SpreadsheetTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00