You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org).
9
9
10
10
### Added
11
11
12
-
- Implementation of the ISREF() information function.
12
+
- Implementation of the FILTER(), SORT(), SORTBY() and UNIQUE() Lookup/Reference (array) functions
13
+
- Implementation of the ISREF() Information function.
13
14
- Added support for reading "formatted" numeric values from Csv files; although default behaviour of reading these values as strings is preserved.
14
15
15
16
(i.e a value of "12,345.67" can be read as numeric `1235.67`, not simply as a string `"12,345.67"`, if the `castFormattedNumberToNumeric()` setting is enabled.
16
17
17
18
This functionality is locale-aware, using the server's locale settings to identify the thousands and decimal separators.
18
19
19
20
- Support for two cell anchor drawing of images. [#2532](https://github.com/PHPOffice/PhpSpreadsheet/pull/2532)
21
+
- Limited support for Xls Reader to handle Conditional Formatting:
22
+
23
+
Ranges and Rules are read, but style is currently limited to font size, weight and color; and to fill style and color.
20
24
21
25
### Changed
22
26
@@ -28,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
28
32
This is determined by the Calculation Engine locale setting.
29
33
30
34
(i.e. `"Vrai"` wil be converted to a boolean `true` if the Locale is set to `fr`.)
35
+
- Allow `psr/simple-cache` 2.x
31
36
32
37
### Deprecated
33
38
@@ -39,6 +44,11 @@ and this project adheres to [Semantic Versioning](https://semver.org).
39
44
40
45
### Fixed
41
46
47
+
- Update Conditional Formatting ranges and rule conditions when inserting/deleting rows/columns [Issue #2678](https://github.com/PHPOffice/PhpSpreadsheet/issues/2678)[PR #2689](https://github.com/PHPOffice/PhpSpreadsheet/pull/2689)
48
+
- Allow `INDIRECT()` to accept row/column ranges as well as cell ranges [PR #2687](https://github.com/PHPOffice/PhpSpreadsheet/pull/2687)
49
+
- Fix bug when deleting cells with hyperlinks, where the hyperlink was then being "inherited" by whatever cell moved to that cell address.
50
+
- Fix bug in Conditional Formatting in the Xls Writer that resulted in a broken file when there were multiple conditional ranges in a worksheet.
51
+
- Fix Conditional Formatting in the Xls Writer to work with rules that contain string literals, cell references and formulae.
42
52
- Fix for setting Active Sheet to the first loaded worksheet when bookViews element isn't defined [Issue #2666](https://github.com/PHPOffice/PhpSpreadsheet/issues/2666)[PR #2669](https://github.com/PHPOffice/PhpSpreadsheet/pull/2669)
43
53
- Fixed behaviour of XLSX font style vertical align settings.
44
54
- Resolved formula translations to handle separators (row and column) for array functions as well as for function argument separators; and cleanly handle nesting levels.
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+1-85Lines changed: 1 addition & 85 deletions
Original file line number
Diff line number
Diff line change
@@ -2300,16 +2300,6 @@ parameters:
2300
2300
count:2
2301
2301
path:src/PhpSpreadsheet/Reader/Xls.php
2302
2302
2303
-
-
2304
-
message:"#^Parameter \\#1 \\$errorStyle of method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\DataValidation\\:\\:setErrorStyle\\(\\) expects string, int\\|string given\\.$#"
2305
-
count:1
2306
-
path:src/PhpSpreadsheet/Reader/Xls.php
2307
-
2308
-
-
2309
-
message:"#^Parameter \\#1 \\$operator of method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\DataValidation\\:\\:setOperator\\(\\) expects string, int\\|string given\\.$#"
2310
-
count:1
2311
-
path:src/PhpSpreadsheet/Reader/Xls.php
2312
-
2313
2303
-
2314
2304
message:"#^Parameter \\#1 \\$showSummaryBelow of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:setShowSummaryBelow\\(\\) expects bool, int given\\.$#"
2315
2305
count:1
@@ -2320,11 +2310,6 @@ parameters:
2320
2310
count:1
2321
2311
path:src/PhpSpreadsheet/Reader/Xls.php
2322
2312
2323
-
-
2324
-
message:"#^Parameter \\#1 \\$type of method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\DataValidation\\:\\:setType\\(\\) expects string, int\\|string given\\.$#"
2325
-
count:1
2326
-
path:src/PhpSpreadsheet/Reader/Xls.php
2327
-
2328
2313
-
2329
2314
message:"#^Parameter \\#2 \\$row of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReadFilter\\:\\:readCell\\(\\) expects int, string given\\.$#"
2330
2315
count:1
@@ -3165,31 +3150,11 @@ parameters:
3165
3150
count:1
3166
3151
path:src/PhpSpreadsheet/ReferenceHelper.php
3167
3152
3168
-
-
3169
-
message:"#^Parameter \\#1 \\$index of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\RowDimension\\:\\:setRowIndex\\(\\) expects int, string given\\.$#"
3170
-
count:1
3171
-
path:src/PhpSpreadsheet/ReferenceHelper.php
3172
-
3173
-
-
3174
-
message:"#^Parameter \\#2 \\$callback of function uksort expects callable\\(\\(int\\|string\\), \\(int\\|string\\)\\)\\: int, array\\{'self', 'cellReverseSort'\\} given\\.$#"
3175
-
count:4
3176
-
path:src/PhpSpreadsheet/ReferenceHelper.php
3177
-
3178
-
-
3179
-
message:"#^Parameter \\#2 \\$callback of function uksort expects callable\\(\\(int\\|string\\), \\(int\\|string\\)\\)\\: int, array\\{'self', 'cellSort'\\} given\\.$#"
3180
-
count:4
3181
-
path:src/PhpSpreadsheet/ReferenceHelper.php
3182
-
3183
3153
-
3184
3154
message:"#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|null given\\.$#"
3185
3155
count:1
3186
3156
path:src/PhpSpreadsheet/ReferenceHelper.php
3187
3157
3188
-
-
3189
-
message:"#^Static property PhpOffice\\\\PhpSpreadsheet\\\\ReferenceHelper\\:\\:\\$instance \\(PhpOffice\\\\PhpSpreadsheet\\\\ReferenceHelper\\) in isset\\(\\) is not nullable\\.$#"
3190
-
count:1
3191
-
path:src/PhpSpreadsheet/ReferenceHelper.php
3192
-
3193
3158
-
3194
3159
message:"#^Property PhpOffice\\\\PhpSpreadsheet\\\\RichText\\\\Run\\:\\:\\$font \\(PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\) does not accept PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\|null\\.$#"
message:"#^Cannot call method getCell\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#"
4245
-
count:1
4246
-
path:src/PhpSpreadsheet/Worksheet/BaseDrawing.php
4247
-
4248
-
-
4249
-
message:"#^Cannot call method getDrawingCollection\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#"
4250
-
count:1
4251
-
path:src/PhpSpreadsheet/Worksheet/BaseDrawing.php
4252
-
4253
-
-
4254
-
message:"#^Cannot call method getHashCode\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#"
4255
-
count:1
4256
-
path:src/PhpSpreadsheet/Worksheet/BaseDrawing.php
4257
-
4258
-
-
4259
-
message:"#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\BaseDrawing\\:\\:\\$shadow \\(PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Drawing\\\\Shadow\\) does not accept PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Drawing\\\\Shadow\\|null\\.$#"
4260
-
count:1
4261
-
path:src/PhpSpreadsheet/Worksheet/BaseDrawing.php
4262
-
4263
4208
-
4264
4209
message:"#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\CellIterator\\:\\:adjustForExistingOnlyRange\\(\\) has no return type specified\\.$#"
message:"#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Rels\\:\\:writeUnparsedRelationship\\(\\) has parameter \\$relationship with no type specified\\.$#"
5305
5220
count:1
@@ -5554,3 +5469,4 @@ parameters:
5554
5469
message:"#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Xlfn\\:\\:addXlfn\\(\\) should return string but returns string\\|null\\.$#"
0 commit comments