Commit Graph

4916 Commits

Author SHA1 Message Date
oleibman d2b3a8d5f7 Merge branch 'master' into imgtransparent 2024-10-07 10:50:37 -07:00
oleibman c6ede15401 Merge pull request #4148 from oleibman/stan9again4
Better Definitions for Mixed Parameters and Values Part 4 of Many
2024-10-07 17:31:02 +00:00
oleibman 6ac7d5ffce Merge pull request #4158 from oleibman/stanupgrade
Upgrade Phpstan
2024-10-07 16:08:07 +00:00
oleibman 95a83a19c5 Merge branch 'master' into stanupgrade 2024-10-06 09:50:16 -07:00
oleibman 37bb1537c8 Merge pull request #4186 from oleibman/issue4182
SUMIFS Does Not Require _xlfn
2024-10-06 15:54:49 +00:00
oleibman c1ad483670 Merge branch 'master' into issue4182 2024-10-06 08:52:36 -07:00
oleibman d327481b82 Update CHANGELOG.md 2024-10-06 08:51:03 -07:00
oleibman dab6ba83e4 SUMIFS Does Not Require _xlfn
Fix #4182. It was on our list as "introduced in 2019". It was, in fact, available with Excel 2007 (https://support.microsoft.com/en-us/office/excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188#bm19), so does not require a prefix when writing it to a spreadsheet.
2024-10-06 08:35:26 -07:00
oleibman 27d7920c01 Merge pull request #4183 from oleibman/updchglog3
Update Change Log
2024-10-06 06:06:12 +00:00
oleibman c4fd8eca2b Update Change Log 2024-10-05 23:02:02 -07:00
oleibman 13c3ec9692 Merge pull request #4180 from oleibman/issue4179
Xlsx Writer Duplicate ContentTypes Entry for Background Image
2024-10-06 05:31:12 +00:00
oleibman 44014f84ac Merge pull request #4152 from oleibman/issue3185
Xls Writer Conditional Rules Applied to Whole Rows or Columns
2024-10-06 05:21:39 +00:00
oleibman 9c8a743241 Merge pull request #4163 from homersimpsons/chore/deprecate-skip-empty-cells
🗑️ Deprecate `IReader::SKIP_EMPTY_CELLS`
2024-10-06 05:10:02 +00:00
oleibman 1befd3d8af Update IReader.php 2024-10-05 22:07:53 -07:00
oleibman 457b61cf8d Merge pull request #3347 from ConnectGrid/optimize-worksheet-from-array
Check $strictNullComparison outside of loops
2024-10-06 05:01:55 +00:00
oleibman ce16d0d42c Merge pull request #4181 from oleibman/updchglog2
Prepare Changelog For Next Release
2024-10-02 02:42:25 +00:00
oleibman a195f9f7d0 Prepare Changelog For Next Release
Fix #4176.
2024-10-01 19:38:50 -07:00
oleibman db7d4a76ea Xlsx Writer Duplicate ContentTypes Entry for Background Image
Fix #4179. Sheet has a background image, and the code is not properly accounting for the image's extension already being defined in ContentTypes, resulting in what Excel thinks is a corrupt file.
2024-10-01 16:49:07 -07:00
oleibman 9453140800 Merge pull request #4177 from PHPOffice/dependabot/composer/squizlabs/php_codesniffer-3.10.3
Bump squizlabs/php_codesniffer from 3.10.2 to 3.10.3
2024-10-01 13:31:47 +00:00
dependabot[bot] a729531c23 Bump squizlabs/php_codesniffer from 3.10.2 to 3.10.3
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 11:01:53 +00:00
oleibman 1803184fc7 Update Html.php 2024-09-29 05:48:19 -07:00
oleibman 094ed465ea Update URLImageTest.php 2024-09-29 05:40:23 -07:00
oleibman 4a200ccf70 Merge branch 'master' into imgtransparent 2024-09-29 04:50:37 -07:00
oleibman 87ddd21eb0 Merge pull request #4174 from oleibman/updchglog
Update Changelog
3.3.0
2024-09-29 07:04:07 +00:00
oleibman 68cf897c4d Update Changelog 2024-09-29 00:00:15 -07:00
oleibman 498afe2b86 Merge pull request #4170 from oleibman/urlreinstate
Restore 2 Disabled Tests
2024-09-25 00:59:52 +00:00
oleibman 512c21e808 Add Disconnects 2024-09-24 17:27:33 -07:00
oleibman f7fcb4bb1a Correct Spacing 2024-09-24 17:20:43 -07:00
oleibman 1d73598d67 Restore 2 Disabled Tests
For some https requests for file_get_contents, "context" needs to be added to function call. It is not clear why this has changed recently.
2024-09-24 17:10:37 -07:00
oleibman 9d7aaffe8a Merge pull request #4169 from oleibman/urltests
Disable 2 Tests
2024-09-24 05:06:31 +00:00
oleibman 7366a16cd7 Disable 2 Tests
Test for url image used file_get_contents on file which we have read successfully for years. Today it started returning error 403. Disable tests while I study whether there is a suitable replacement.
2024-09-23 22:01:40 -07:00
oleibman 4b8a929fc1 Merge commit from fork
* Validate Mime Type for Images

* Extend Change to Xlsx Reader

* Attach Drawing to Sheet Only If Valid

* Suppress Some Theoretical Warning Messages

* Minor Tweak
2024-09-23 13:28:31 -07:00
oleibman c91c8c9a62 Merge pull request #4164 from oleibman/amordegrc
Tweak for AMORDEGRC
2024-09-15 12:30:27 +00:00
oleibman 2d493d731b Merge commit from fork 2024-09-14 05:20:37 -07:00
oleibman 90162a143e Merge branch 'master' into amordegrc 2024-09-13 19:04:26 -07:00
oleibman 63ccb02ab9 Merge commit from fork
* Check for Whitespace Around Xml Encoding

* More Tests
2024-09-13 18:17:30 -07:00
oleibman 83f2d8692c Validate Mime Type of Image Files 2024-09-11 07:49:46 -07:00
Guillaume dd56df2b23 🗑️ Deprecate IReader::SKIP_EMPTY_CELLS
This is an alias to `IGNORE_EMPTY_CELLS` there is no point to have both.
2024-09-10 23:30:13 +02:00
oleibman 381584309e Merge pull request #4165 from oleibman/dompdf84
Dompdf and Php8.4
2024-09-08 02:55:35 +00:00
oleibman 995d9c794e Dompdf and Php8.4
Lots of deprecation messages. They are a major distraction at this stage. Suppress them until Dompdf is fixed.
2024-09-07 18:01:26 -07:00
oleibman a0f811fd38 Merge branch 'master' into amordegrc 2024-09-07 08:35:31 -07:00
oleibman 6c9b2a8209 Merge pull request #4162 from oleibman/csv84
Php 8.4 Will Deprecate fgetcsv Parameter
2024-09-07 15:25:02 +00:00
oleibman 2a8fb60fbb Some Long-Term Prep
Enable us to determine if user has explicitly changed escape character vs. using default.
2024-09-07 07:35:04 -07:00
oleibman a25775ace0 Tweak for AMORDEGRC
Changes to Php8.4 floating point calculations caused failures in unit tests for ROUNDDOWN, ROUNDUP, and AMORDEGRC. These were addressed in a kludgey manner by PR #3897. Then someone reported a problem (not specifically related to Php8.4) with TRUNC. That was fixed by PR #4115, in which I applied the method used by TRUNC to ROUNDDOWN and ROUNDUP as well. The method used to fix these was to cast a floating point value to string and then cast it back to float again. It's a bit surprising that this works, but it seems effective for all our test cases, and is less kludgey than what had been done earlier. Missing from that PR was a similar change for AMORDEGRC. This PR applies that change to AMORDEGRC, which again passes the unit test suite for all releases of Php.
2024-09-07 06:53:44 -07:00
oleibman 352eaae3ee Php 8.4 Will Deprecate fgetcsv Parameter
As described in issue #4161, Php seems to be prepared to break the fgetcsv function in release 9, marking the existing usage deprecated in 8.4. This gives us a long-term problem. This PR provides a short-term solution.
2024-09-06 01:11:34 -07:00
oleibman fd9656689e Merge pull request #4150 from marc-mabe/fix-Date-roundMicroseconds
Fix Date::roundMicroseconds() not resetting microsecond part
2024-09-05 16:53:12 +00:00
oleibman 5c931e94cb Merge commit from fork
* Validate POST Input in Sample 45

Errors will result if inputs are not numeric.

* Update 45_Quadratic_equation_solver.php

---------

Co-authored-by: Owen Leibman <owenleibman@fico.com>
2024-09-05 07:42:34 -07:00
oleibman 50ec30b34c Merge pull request #4153 from oleibman/issue4128b
Improve Xlsx Reader Speed
2024-09-05 02:38:18 +00:00
oleibman bba5719da2 Merge branch 'master' into issue4128b 2024-09-04 19:35:20 -07:00
oleibman b3769577b6 Update CHANGELOG.md 2024-09-04 19:33:32 -07:00