oleibman
0b733f7f0a
Merge pull request #4900 from PHPOffice/dependabot/composer/friendsofphp/php-cs-fixer-3.95.4
...
Bump friendsofphp/php-cs-fixer from 3.95.3 to 3.95.4
2026-06-07 03:22:32 +00:00
dependabot[bot]
aea5b934fe
Bump friendsofphp/php-cs-fixer from 3.95.3 to 3.95.4
...
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer ) from 3.95.3 to 3.95.4.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases )
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.95.3...v3.95.4 )
---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
dependency-version: 3.95.4
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-07 02:55:01 +00:00
oleibman
5f097568fc
Merge pull request #4896 from oleibman/chartindex
...
getChartIndex
2026-06-07 02:50:44 +00:00
oleibman
649afb9339
Merge pull request #4895 from oleibman/internalhandler
...
Make Helper/Handler Internal and Final
2026-06-07 02:49:07 +00:00
oleibman
b3cb1e9105
Merge pull request #4899 from AJenbo/patch-1
...
Document exception in IOFactory.php
2026-06-06 15:58:31 +00:00
Anders Jenbo
c66fe74303
Document exception in IOFactory.php
2026-06-06 17:09:35 +02:00
oleibman
fdbe4b538a
Mystery Problem with ReadTheDocs
2026-06-04 22:20:47 -07:00
oleibman
cc3ec6c03c
Doc Tweak
2026-06-04 21:58:06 -07:00
oleibman
45b9df30ba
Update Changelog
2026-06-04 16:39:56 -07:00
oleibman
9698573e32
getChartIndex
...
It requires an index to an array which needs to be supplied as a string, even though the array is indexed exclusively by int. It is called only once in the code base, by some inefficient code which becomes much simpler when restructured and eliminates the call altogether. It is not independently tested. The use case for its existence is not clear. It should probably just be deprecated. However, for now, I'm just allowing the parameter to be int|string, rather than just string, and adding tests.
2026-06-04 12:40:57 -07:00
oleibman
8290604876
Make Helper/Handler Internal and Final
...
Needed for testing purposes, but no reason why anyone should use or extend it.
2026-06-04 11:49:51 -07:00
oleibman
89c3b39d35
Merge pull request #4891 from oleibman/issue4889
...
Bug in FIXED Function
2026-06-01 15:34:04 +00:00
oleibman
d80d762af1
Merge branch 'master' into issue4889
2026-06-01 08:06:46 -07:00
oleibman
9633d0ff05
Tweak
2026-06-01 07:44:41 -07:00
oleibman
ad2285dac7
Merge pull request #4892 from oleibman/stanchanges
...
Phpstan Changes
2026-06-01 13:53:56 +00:00
oleibman
14a641f924
Phpstan Changes
...
A large volume of changes due to "sealed" arrays. Some are sensible; some are very confusing and are handled with `ignore` annotations.
Modules in src with changed code (as opposed to doc-blocks or annotations) are:
- DateTimeExcelDays
- Reader/Xlsx
- Reader/Xlsx/AutoFilter
- Reader/Xlsx/Chart
- Reader/Xlsx/ConditionalStyles
- Reader/Xlsx/TableReader
2026-06-01 01:14:59 -07:00
oleibman
38f346661b
Bug in FIXED Function
...
Fix #4889 . Function was not outputting correct number of decimals when thousands separator was omitted.
2026-05-31 09:26:18 -07:00
oleibman
9260bd841f
Merge pull request #4886 from oleibman/ireader2
...
Add IReader2 Interface with listWorksheetInfo/Names
2026-05-31 15:52:34 +00:00
oleibman
668106c685
Update CHANGELOG.md
2026-05-31 08:48:55 -07:00
oleibman
e322f54078
Merge pull request #4877 from oleibman/issue4875
...
Html Writer Apply Rotation To Images
2026-05-31 15:00:47 +00:00
oleibman
6762ce0cbf
Update CHANGELOG.md
2026-05-31 07:57:02 -07:00
oleibman
b5a41165f7
Merge pull request #4880 from oleibman/reusedisconnect
...
Reusing Disconnected Spreadsheet
2026-05-31 14:37:53 +00:00
oleibman
803293efb9
Merge pull request #4878 from oleibman/first86
...
First Php8.6 Deprecation
2026-05-31 14:37:35 +00:00
oleibman
2bea8c2d16
Merge pull request #4888 from oleibman/sortsamp
...
Update Samples
2026-05-31 08:19:50 +00:00
oleibman
3d86f3d13c
Update Samples
...
... demonstrating how Excel sorts.
2026-05-31 01:15:04 -07:00
oleibman
da4ea0540c
Merge pull request #4876 from oleibman/urlparse
...
Reject phar Protocol in Unexpected Format
2026-05-31 04:36:28 +00:00
oleibman
ee67357682
Unneeded Check
2026-05-28 19:45:32 -07:00
oleibman
974b349dc5
Close One Other Possible Vector
2026-05-28 13:50:08 -07:00
oleibman
06ac231e32
More Tests
2026-05-25 19:51:04 -07:00
oleibman
76bb021c6b
More Tests
2026-05-25 11:06:33 -07:00
oleibman
edec58eb59
Composer/Pcre/Preg
2026-05-24 10:10:40 -07:00
oleibman
67d8bd2505
Facilitate Migrating From IReader to IReader2 If Needed
...
Probably shouldn't be needed, but just in case.
2026-05-23 22:54:44 -07:00
oleibman
66f08ba960
Add IReader2 Interface with listWorksheetInfo/Names
...
Fix #4883 , hopefully in a non-breaking manner.
2026-05-23 20:23:26 -07:00
oleibman
2b89a7bb7a
Block Phar Only
2026-05-23 19:47:24 -07:00
oleibman
37b41a16b7
Reusing Disconnected Worksheet
...
Throws exception if you subsequently attempt `createSheet(0)`. Fix that.
2026-05-21 10:03:15 -07:00
oleibman
b9ec538e72
Change Some Comment Verbiage
2026-05-19 19:15:40 -07:00
oleibman
8d0754e60a
Merge pull request #4879 from PHPOffice/dependabot/composer/setasign/fpdi-2.6.7
...
Bump setasign/fpdi from 2.6.6 to 2.6.7
2026-05-19 23:05:26 +00:00
dependabot[bot]
24f8d4983e
Bump setasign/fpdi from 2.6.6 to 2.6.7
...
Bumps [setasign/fpdi](https://github.com/Setasign/FPDI ) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/Setasign/FPDI/releases )
- [Commits](https://github.com/Setasign/FPDI/compare/v2.6.6...v2.6.7 )
---
updated-dependencies:
- dependency-name: setasign/fpdi
dependency-version: 2.6.7
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-19 21:11:18 +00:00
oleibman
45bfd9121e
First Php8.6 Deprecation
...
Mpdf uses soon-to-be-deprecated `mb_regex_encoding`.
2026-05-17 07:30:57 -07:00
oleibman
a2a6ccdeef
Html Writer Apply Rotation To Images
...
Fix #4875 . If rotation is applied to a Drawing, Html Writer will now generate the appropriate Css. This will cause the image to be rotated for Html, Dompdf, and Mpdf; Tcpdf does not recognize the rotation Css.
2026-05-14 21:54:49 -07:00
oleibman
0d9203b6b2
Reject phar Protocol in Unexpected Format
...
Reject `phar:///whatever` as input filename.
2026-05-14 21:26:12 -07:00
oleibman
7cc6e4e580
Merge pull request #4872 from oleibman/upgrades
...
Combine Dependabot Changes
2026-05-02 02:40:06 +00:00
oleibman
5c8c20686f
Combine Dependabot Changes
...
Someting seemed to be wrong with push setup. We'll see if it's fixed.
2026-05-01 19:17:45 -07:00
oleibman
d5cdc29a3e
Merge pull request #4864 from williamdes/fix/no-spurious-t-attribute-when-pre-calc-off
...
Don't infer cell t attribute from formula source when pre-calc is off
2026-04-30 00:06:17 +00:00
William Desportes
5eb433e08b
fix: don't infer cell t attribute from formula source when pre-calc is off
...
writeCellFormula() falls back to using $cellValue (the formula source) as
$calculatedValue when getPreCalculateFormulas() is false. The source is
always a string, so the is_string($result) branch always fires, every
formula cell ends up with t="str" — even those whose formula evaluates
to a number or boolean.
Some readers (notably older LibreOffice and Gnumeric) treat t="str" as
a hint that the cell is a string, and either skip recomputation or
present a #NAME error for numeric formulas they would otherwise compute
correctly.
Fix: leave $calculatedValue null and $calculatedValueString empty when
pre-calc is off. The type-inference branches no longer fire, so no t
attribute is written. The surrounding writeElementIf already guards <v>
emission on getPreCalculateFormulas(), so no cached value is written
either — readers see "formula with no cached value, no type hint",
respect the workbook's fullCalcOnLoad="1", and recompute on open.
Updates the existing PreCalcTest assertion to match: <c r="B2"><f>3+A3</f></c>
instead of <c r="B2" t="str"><f>3+A3</f></c>.
2026-04-29 19:27:57 +02:00
oleibman
c0e328482a
Merge pull request #4861 from Dayoebe/master
...
Update APCu cache documentation example
2026-04-26 21:13:23 +00:00
Adedayo Oyetoke
7db2898145
Update APCu cache documentation example
2026-04-25 22:41:32 +01:00
oleibman
5483cf930d
Merge pull request #4858 from oleibman/preserveformat
...
Html Writer/Reader New `data` Attributes
2026-04-22 02:00:28 +00:00
oleibman
381bdacb8e
Update CHANGELOG.md
2026-04-21 18:56:40 -07:00
oleibman
7d2ce75f70
Merge branch 'master' into preserveformat
2026-04-20 21:18:51 -07:00