Skip to content

Commit 541bf0f

Browse files
committed
Merge branch 'master' into 2.0-Development
# Conflicts: # docs/topics/calculation-engine.md # phpstan-baseline.neon # src/PhpSpreadsheet/Reader/Xlsx.php # tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ParseComplexTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php # tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php
2 parents 42cf5ce + 5f644c0 commit 541bf0f

File tree

300 files changed

+7866
-2084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+7866
-2084
lines changed

.php-cs-fixer.dist.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
'function_declaration' => true,
5656
'function_to_constant' => true,
5757
'function_typehint_space' => true,
58-
'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright', 'throws']],
58+
'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright']],
5959
'global_namespace_import' => true,
6060
'header_comment' => false, // We don't use common header in all our files
6161
'heredoc_indentation' => false, // Requires PHP >= 7.3

CHANGELOG.md

+39-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,42 @@ and this project adheres to [Semantic Versioning](https://semver.org).
99

1010
### Added
1111

12+
- Nothing
13+
14+
### Changed
15+
16+
- Nothing
17+
18+
### Deprecated
19+
20+
- Nothing
21+
22+
### Removed
23+
24+
- Nothing
25+
26+
### Fixed
27+
28+
- Nothing
29+
30+
31+
## 1.25.0 - 2022-09-25
32+
33+
### Added
34+
1235
- Implementation of the new `TEXTBEFORE()`, `TEXTAFTER()` and `TEXTSPLIT()` Excel Functions
13-
- Implementation of the `ARRAYTOTEXT()` Excel Function
36+
- Implementation of the `ARRAYTOTEXT()` and `VALUETOTEXT()` Excel Functions
1437
- Support for [mitoteam/jpgraph](https://packagist.org/packages/mitoteam/jpgraph) implementation of
1538
JpGraph library to render charts added.
16-
- Charts: Add Gradients, Transparency, Hidden Axes, Rounded Corners, Trendlines.
39+
- Charts: Add Gradients, Transparency, Hidden Axes, Rounded Corners, Trendlines, Date Axes.
1740

1841
### Changed
1942

20-
- Nothing
43+
- Allow variant behaviour when merging cells [Issue #3065](https://github.com/PHPOffice/PhpSpreadsheet/issues/3065)
44+
- Merge methods now allow an additional `$behaviour` argument. Permitted values are:
45+
- Worksheet::MERGE_CELL_CONTENT_EMPTY - Empty the content of the hidden cells (the default behaviour)
46+
- Worksheet::MERGE_CELL_CONTENT_HIDE - Keep the content of the hidden cells
47+
- Worksheet::MERGE_CELL_CONTENT_MERGE - Move the content of the hidden cells into the first cell
2148

2249
### Deprecated
2350

@@ -34,6 +61,9 @@ and this project adheres to [Semantic Versioning](https://semver.org).
3461

3562
### Fixed
3663

64+
- Fix update to defined names when inserting/deleting rows/columns [Issue #3076](https://github.com/PHPOffice/PhpSpreadsheet/issues/3076) [PR #3077](https://github.com/PHPOffice/PhpSpreadsheet/pull/3077)
65+
- Fix DataValidation sqRef when inserting/deleting rows/columns [Issue #3056](https://github.com/PHPOffice/PhpSpreadsheet/issues/3056) [PR #3074](https://github.com/PHPOffice/PhpSpreadsheet/pull/3074)
66+
- Named ranges not usable as anchors in OFFSET function [Issue #3013](https://github.com/PHPOffice/PhpSpreadsheet/issues/3013)
3767
- Fully flatten an array [Issue #2955](https://github.com/PHPOffice/PhpSpreadsheet/issues/2955) [PR #2956](https://github.com/PHPOffice/PhpSpreadsheet/pull/2956)
3868
- cellExists() and getCell() methods should support UTF-8 named cells [Issue #2987](https://github.com/PHPOffice/PhpSpreadsheet/issues/2987) [PR #2988](https://github.com/PHPOffice/PhpSpreadsheet/pull/2988)
3969
- Spreadsheet copy fixed, clone disabled. [PR #2951](https://github.com/PHPOffice/PhpSpreadsheet/pull/2951)
@@ -44,11 +74,17 @@ and this project adheres to [Semantic Versioning](https://semver.org).
4474
- Add setName Method for Chart [Issue #2991](https://github.com/PHPOffice/PhpSpreadsheet/issues/2991) [PR #3001](https://github.com/PHPOffice/PhpSpreadsheet/pull/3001)
4575
- Eliminate partial dependency on php-intl in StringHelper [Issue #2982](https://github.com/PHPOffice/PhpSpreadsheet/issues/2982) [PR #2994](https://github.com/PHPOffice/PhpSpreadsheet/pull/2994)
4676
- Minor changes for Pdf [Issue #2999](https://github.com/PHPOffice/PhpSpreadsheet/issues/2999) [PR #3002](https://github.com/PHPOffice/PhpSpreadsheet/pull/3002) [PR #3006](https://github.com/PHPOffice/PhpSpreadsheet/pull/3006)
77+
- Html/Pdf Do net set background color for cells using (default) nofill [PR #3016](https://github.com/PHPOffice/PhpSpreadsheet/pull/3016)
78+
- Add support for Date Axis to Chart [Issue #2967](https://github.com/PHPOffice/PhpSpreadsheet/issues/2967) [PR #3018](https://github.com/PHPOffice/PhpSpreadsheet/pull/3018)
79+
- Reconcile Differences Between Css and Excel for Cell Alignment [PR #3048](https://github.com/PHPOffice/PhpSpreadsheet/pull/3048)
80+
- R1C1 Format Internationalization and Better Support for Relative Offsets [Issue #1704](https://github.com/PHPOffice/PhpSpreadsheet/issues/1704) [PR #3052](https://github.com/PHPOffice/PhpSpreadsheet/pull/3052)
81+
- Minor Fix for Percentage Formatting [Issue #1929](https://github.com/PHPOffice/PhpSpreadsheet/issues/1929) [PR #3053](https://github.com/PHPOffice/PhpSpreadsheet/pull/3053)
4782

4883
## 1.24.1 - 2022-07-18
4984

5085
### Added
5186

87+
- Support for SimpleCache Interface versions 1.0, 2.0 and 3.0
5288
- Add Chart Axis Option textRotation [Issue #2705](https://github.com/PHPOffice/PhpSpreadsheet/issues/2705) [PR #2940](https://github.com/PHPOffice/PhpSpreadsheet/pull/2940)
5389

5490
### Changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::cla
8383
Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\MtJpGraphRenderer::class); // to use mitoteam/jpgraph
8484
```
8585

86+
One or the other of these libraries is necessary if you want to generate HTML or PDF files that include charts.
87+
8688
## Documentation
8789

8890
Read more about it, including install instructions, in the [official documentation](https://phpspreadsheet.readthedocs.io). Or check out the [API documentation](https://phpoffice.github.io/PhpSpreadsheet).

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@
6969
"ext-xmlwriter": "*",
7070
"ext-zip": "*",
7171
"ext-zlib": "*",
72-
"ezyang/htmlpurifier": "^4.13",
72+
"ezyang/htmlpurifier": "4.15",
7373
"maennchen/zipstream-php": "^2.1",
7474
"markbaker/complex": "^3.0",
7575
"markbaker/matrix": "^3.0",
7676
"psr/http-client": "^1.0",
7777
"psr/http-factory": "^1.0",
78-
"psr/simple-cache": "^1.0 || ^2.0"
78+
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
7979
},
8080
"require-dev": {
8181
"dealerdirect/phpcodesniffer-composer-installer": "dev-master",
8282
"dompdf/dompdf": "^1.0 || ^2.0",
8383
"friendsofphp/php-cs-fixer": "^3.2",
84-
"mitoteam/jpgraph": "^10.1",
84+
"mitoteam/jpgraph": "10.2.4",
8585
"mpdf/mpdf": "8.1.1",
8686
"phpcompatibility/php-compatibility": "^9.3",
8787
"phpstan/phpstan": "^1.1",

0 commit comments

Comments
 (0)