PhpSpreadsheet/docs/topics
oleibman 2a12587f05
AutoFilter Improvements (#2393)
* AutoFilter Improvements

Fix issue #2378. The following changes are made:
- NotEqual tests must be part of a custom filter. Documentation has been changed to indicate that.
- Method setAndOr was replaced by setJoin some time ago. Documentation now reflects that change.
- Documentation to indicate that string filters are not case-sensitive, same as in Excel.
- Filters testing against numeric value now include a numeric test (not numeric for not equal, numeric for all others).
- String filter had previously treated everything as a test for "equal". It now handles "not equal" and the variants of "greater/less" with or without "equal".
- Documentation correctly stated that no more than 2 rules are allowed in a custom filter. Code did not enforce this restriction. It now does, throwing an exception if an attempt is made to add a third rule.
- Deleted a lot of comments in Rule.php to make it easier to see what is not yet implemented (between, begins with, etc.). I may take these on in future.
- Added a number of tests for the new functionality.

* Not Sure Why Phpstan Results Differ Local vs Github

Let's see if this change suffices.

* Phpstan Still

Not sure how to convince it. Let's try this.

* Phpstan Solved

Figured out the problem on my local machine. Expect this to work.
2021-11-16 07:46:07 -08:00
..
images Support DataBar of conditional formatting rule (#1754) 2021-01-29 16:57:40 +01:00
accessing-cells.md Update documentation with details of changes to the StringValueBinder 2021-06-03 21:42:20 +02:00
architecture.md Code highlight in docs for PhpStorm 2020-05-31 22:44:25 +09:00
autofilters.md AutoFilter Improvements (#2393) 2021-11-16 07:46:07 -08:00
calculation-engine.md Updating a misspelling of a function name. (#1695) 2020-11-01 12:05:04 +01:00
creating-spreadsheet.md Code highlight in docs for PhpStorm 2020-05-31 22:44:25 +09:00
defined-names.md Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
file-formats.md fix type flies => files 2021-05-28 11:06:54 +02:00
memory_saving.md Documentation updates (#2131) 2021-05-30 12:27:56 +02:00
migration-from-PHPExcel.md Code highlight in docs for PhpStorm 2020-05-31 22:44:25 +09:00
reading-and-writing-to-file.md Merge branch 'master' into PHP8-Sane-Property-Names 2021-10-31 15:25:01 +09:00
reading-files.md Merge branch 'master' into PHP8-Sane-Property-Names 2021-10-31 15:25:01 +09:00
recipes.md use single quotes to wrap sheet title 2021-10-30 12:44:21 +09:00
settings.md WEBSERVICE is HTTP client agnostic 2020-07-19 11:33:01 +09:00
worksheets.md Code highlight in docs for PhpStorm 2020-05-31 22:44:25 +09:00