Skip to content

Commit 579e1de

Browse files
committed
Merge remote-tracking branch 'github/master' into HEAD
2 parents 41da457 + 82ac7ab commit 579e1de

File tree

889 files changed

+16871
-12222
lines changed

Some content is hidden

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

889 files changed

+16871
-12222
lines changed

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
/.gitattributes export-ignore
44
/.github export-ignore
55
/.gitignore export-ignore
6-
/.php_cs.dist export-ignore
6+
/.php-cs-fixer.dist.php export-ignore
7+
/.phpcs.xml.dist export-ignore
8+
/.readthedocs.yaml export-ignore
79
/.scrutinizer.yml export-ignore
810
/CHANGELOG.PHPExcel.md export-ignore
911
/bin export-ignore
1012
/composer.lock export-ignore
1113
/docs export-ignore
1214
/infra export-ignore
1315
/mkdocs.yml export-ignore
16+
/phpstan-baseline.neon export-ignore
17+
/phpstan.neon.dist export-ignore
1418
/phpunit.xml.dist export-ignore
1519
/samples export-ignore
1620
/tests export-ignore

.github/workflows/main.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- '8.1'
1414
- '8.2'
1515
- '8.3'
16+
- '8.4'
1617

1718
include:
1819
- php-version: 'nightly'
@@ -24,6 +25,12 @@ jobs:
2425
- name: Checkout
2526
uses: actions/checkout@v4
2627

28+
- name: Install locales
29+
run: sudo apt-get update && sudo apt-get install -y language-pack-fr language-pack-de
30+
31+
- name: Install single-byte locale
32+
run: sudo sed -i -e 's/# de_DE@euro/de_DE@euro/g' /etc/locale.gen && sudo locale-gen de_DE@euro
33+
2734
- name: Setup PHP, with composer and extensions
2835
uses: shivammathur/setup-php@v2
2936
with:
@@ -210,10 +217,16 @@ jobs:
210217
runs-on: ubuntu-latest
211218
steps:
212219
- name: Checkout
213-
uses: actions/checkout@v3
220+
uses: actions/checkout@v4
214221
with:
215222
fetch-depth: 0
216223

224+
- name: Install locales
225+
run: sudo apt-get update && sudo apt-get install -y language-pack-fr language-pack-de
226+
227+
- name: Install single-byte locale
228+
run: sudo sed -i -e 's/# de_DE@euro/de_DE@euro/g' /etc/locale.gen && sudo locale-gen de_DE@euro
229+
217230
- name: Setup PHP, with composer and extensions
218231
uses: shivammathur/setup-php@v2
219232
with:

.php-cs-fixer.dist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
'ordered_imports' => true,
147147
'ordered_interfaces' => true,
148148
'ordered_traits' => true,
149+
'php_unit_attributes' => ['keep_annotations' => false],
149150
'php_unit_construct' => true,
150151
'php_unit_dedicate_assert' => true,
151152
'php_unit_dedicate_assert_internal_type' => true,
@@ -220,7 +221,7 @@
220221
'standardize_not_equals' => true,
221222
'static_lambda' => false, // Risky if we can't guarantee nobody use `bindTo()`
222223
'strict_comparison' => false, // No, too dangerous to change that
223-
'string_implicit_backslashes' => false, // was escape_implicit_backslashes, too confusing
224+
'string_implicit_backslashes' => ['single_quoted' => 'unescape', 'double_quoted' => 'escape', 'heredoc' => 'escape'], // was escape_implicit_backslashes
224225
'strict_param' => false, // No, too dangerous to change that
225226
'string_length_to_empty' => true,
226227
'string_line_ending' => true,

CHANGELOG.md

Lines changed: 210 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,216 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com)
66
and this project adheres to [Semantic Versioning](https://semver.org).
77

8-
## 2024-09-29 - 3.0.0
8+
## TBD - 4.1.0
9+
10+
### Added
11+
12+
- Nothing yet.
13+
14+
### Removed
15+
16+
- Nothing yet.
17+
18+
### Changed
19+
20+
- ListWorksheetInfo will now return sheetState (visible, hidden, veryHidden). [Issue #4345](https://github.com/PHPOffice/PhpSpreadsheet/issues/4345) [PR #4366](https://github.com/PHPOffice/PhpSpreadsheet/pull/4366)
21+
- Start migration to Phpstan 2. [PR #4359](https://github.com/PHPOffice/PhpSpreadsheet/pull/4359)
22+
- IOFactory identify can return, and createReader and CreateWriter can accept, a class name rather than a file type. [Issue #4357](https://github.com/PHPOffice/PhpSpreadsheet/issues/4357) [PR #4361](https://github.com/PHPOffice/PhpSpreadsheet/pull/4361)
23+
24+
### Moved
25+
26+
- Nothing yet.
27+
28+
### Deprecated
29+
30+
- Nothing yet.
31+
32+
### Fixed
33+
34+
- Refactor Helper/Html. [PR #4359](https://github.com/PHPOffice/PhpSpreadsheet/pull/4359)
35+
36+
## 2025-02-08 - 4.0.0
37+
38+
### BREAKING CHANGES
39+
40+
- Data Validations will be stored by worksheet, not cell. Index can be one or more cells or cell ranges. [Issue #797](https://github.com/PHPOffice/PhpSpreadsheet/issues/797) [Issue #4091](https://github.com/PHPOffice/PhpSpreadsheet/issues/4091) [Issue #4206](https://github.com/PHPOffice/PhpSpreadsheet/issues/4206) [PR #4240](https://github.com/PHPOffice/PhpSpreadsheet/pull/4240)
41+
- Conditional Formatting adds Priority property and handles overlapping ranges better. [Issue #4312](https://github.com/PHPOffice/PhpSpreadsheet/issues/4312) [Issue #4318](https://github.com/PHPOffice/PhpSpreadsheet/issues/4318) [PR #4314](https://github.com/PHPOffice/PhpSpreadsheet/pull/4314)
42+
- Csv Reader will no longer auto-detect Mac line endings by default. Prior behavior can be explicitly enabled via `setTestAutoDetect(true)`, and it will not be possible at all with Php9+. [Issue #4092](https://github.com/PHPOffice/PhpSpreadsheet/issues/4092) [PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
43+
- Html Writer will now use "better boolean" logic. Booleans will now be output by default as TRUE/FALSE rather than 1/null-string. Prior behavior can be explicitly enabled via `setBetterBoolean(false)`. [PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
44+
- Xlsx Writer will now use false as the default for `forceFullCalc`. This affects writes with `preCalculateFormulas` set to false. Prior behavior can be explicitly enabled via `setForceFullCalc(null)`.[PR #4340](https://github.com/PHPOffice/PhpSpreadsheet/pull/4340)
45+
- Deletion of items deprecated in Release 3. See "removed" below.
46+
47+
### Added
48+
49+
- Pdf Charts and Drawings. [Discussion #4129](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4129) [Discussion #4168](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4168) [PR #4327](https://github.com/PHPOffice/PhpSpreadsheet/pull/4327)
50+
- Allow spreadsheet serialization. [Discussion #4324](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4324) [Issue #1741](https://github.com/PHPOffice/PhpSpreadsheet/issues/1741) [Issue #1757](https://github.com/PHPOffice/PhpSpreadsheet/issues/1757) [PR #4326](https://github.com/PHPOffice/PhpSpreadsheet/pull/4326)
51+
52+
### Removed
53+
54+
- Worksheet::getStyles - no replacement. [PR #4330](https://github.com/PHPOffice/PhpSpreadsheet/pull/4330)
55+
- The following items were deprecated in release 3 and are now removed.
56+
- Drawing::setIsUrl - no replacement.
57+
- Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() - no replacement.
58+
- Worksheet::getHashCode - no replacement.
59+
- IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
60+
- Worksheet::getProtectedCells - use getProtectedCellRanges instead.
61+
- Writer/Html::isMpdf property - use instanceof Mpdf instead.
62+
63+
### Changed
64+
65+
- Nothing yet.
66+
67+
### Moved
68+
69+
- Nothing yet.
70+
71+
### Deprecated
72+
73+
- Nothing yet.
74+
75+
### Fixed
76+
77+
- Xls writer Parser Mishandling True/False Argument. [Issue #4331](https://github.com/PHPOffice/PhpSpreadsheet/issues/4331) [PR #4333](https://github.com/PHPOffice/PhpSpreadsheet/pull/4333)
78+
- Xls writer Parser Parse By Character Not Byte. [PR #4344](https://github.com/PHPOffice/PhpSpreadsheet/pull/4344)
79+
- Minor changes to dynamic array calculations exposed by using explicit array return types in some tests. [PR #4328](https://github.com/PHPOffice/PhpSpreadsheet/pull/4328)
80+
81+
## 2025-01-26 - 3.9.0
82+
83+
### Added
84+
85+
- Methods to get style for row or column. [PR #4317](https://github.com/PHPOffice/PhpSpreadsheet/pull/4317)
86+
- Method for duplicating worksheet in spreadsheet. [PR #4315](https://github.com/PHPOffice/PhpSpreadsheet/pull/4315)
87+
88+
### Fixed
89+
90+
- Security patch for control characters in protocol.
91+
- Ods Reader Sheet Names with Period. [Issue #4311](https://github.com/PHPOffice/PhpSpreadsheet/issues/4311) [PR #4313](https://github.com/PHPOffice/PhpSpreadsheet/pull/4313)
92+
- Mpdf and Tcpdf Hidden Columns and Merged Cells. [Issue #4319](https://github.com/PHPOffice/PhpSpreadsheet/issues/4319) [PR #4320](https://github.com/PHPOffice/PhpSpreadsheet/pull/4320)
93+
- Html Writer Allow mailto. [Issue #4316](https://github.com/PHPOffice/PhpSpreadsheet/issues/4316) [PR #4322](https://github.com/PHPOffice/PhpSpreadsheet/pull/4322)
94+
- Use composer/pcre rather than preg_* in Writer. [PR #4323](https://github.com/PHPOffice/PhpSpreadsheet/pull/4323)
95+
96+
## 2025-01-11 - 3.8.0
97+
98+
### Added
99+
100+
- CHOOSECOLS, CHOOSEROWS, DROP, TAKE, and EXPAND. [PR #4286](https://github.com/PHPOffice/PhpSpreadsheet/pull/4286)
101+
102+
### Fixed
103+
104+
- Security patch for Html navigation.
105+
- Xlsx Reader Shared Formula with Boolean Result. Partial solution for [Issue #4280](https://github.com/PHPOffice/PhpSpreadsheet/issues/4280) [PR #4281](https://github.com/PHPOffice/PhpSpreadsheet/pull/4281)
106+
- Retitling cloned Worksheets. [Issue #641](https://github.com/PHPOffice/PhpSpreadsheet/issues/641) [PR #4302](https://github.com/PHPOffice/PhpSpreadsheet/pull/4302)
107+
- Extremely limited support for GROUPBY function. Partial response to [Issue #4282](https://github.com/PHPOffice/PhpSpreadsheet/issues/4282) [PR #4283](https://github.com/PHPOffice/PhpSpreadsheet/pull/4283)
108+
109+
## 2024-12-26 - 3.7.0
110+
111+
### Deprecated
112+
113+
- Drawing::setIsUrl is unneeded. The property is set when setPath determines whether path is a url.
114+
115+
### Fixed
116+
117+
- Security patches for Samples.
118+
- Security patches for Html Writer.
119+
- Avoid unexpected charset in currency symbol. [PR #4279](https://github.com/PHPOffice/PhpSpreadsheet/pull/4279)
120+
- Add forceFullCalc option to Xlsx Writer. [Issue #4269](https://github.com/PHPOffice/PhpSpreadsheet/issues/4269) [PR #4271](https://github.com/PHPOffice/PhpSpreadsheet/pull/4271)
121+
- More context options may be needed for http(s) image. [Php issue 17121](https://github.com/php/php-src/issues/17121) [PR #4276](https://github.com/PHPOffice/PhpSpreadsheet/pull/4276)
122+
- Coverage-related tweaks to Xls Reader. [PR #4277](https://github.com/PHPOffice/PhpSpreadsheet/pull/4277)
123+
- Several fixed to ODS Writer. [Issue #4261](https://github.com/PHPOffice/PhpSpreadsheet/issues/4261) [PR #4263](https://github.com/PHPOffice/PhpSpreadsheet/pull/4263) [PR #4264](https://github.com/PHPOffice/PhpSpreadsheet/pull/4264) [PR #4266](https://github.com/PHPOffice/PhpSpreadsheet/pull/4266)
124+
125+
## 2024-12-08 - 3.6.0
126+
127+
### Added
128+
129+
- Nothing yet.
130+
131+
### Changed
132+
133+
- Nothing yet.
134+
135+
### Moved
136+
137+
- Nothing yet.
138+
139+
### Deprecated
140+
141+
- Nothing yet.
142+
143+
### Fixed
144+
145+
- Html Reader/Writer Better Handling of Booleans. [PR #4257](https://github.com/PHPOffice/PhpSpreadsheet/pull/4257)
146+
- Fill Patterns/Colors When Xml Attributes are Missing. [Issue #4248](https://github.com/PHPOffice/PhpSpreadsheet/issues/4248) [PR #4250](https://github.com/PHPOffice/PhpSpreadsheet/pull/4250)
147+
- Remove Unneccesary files from Composer Package. [PR #4262](https://github.com/PHPOffice/PhpSpreadsheet/pull/4262)
148+
- Swapped row and column indexes in ReferenceHelper. [Issue #4246](https://github.com/PHPOffice/PhpSpreadsheet/issues/4246) [PR #4247](https://github.com/PHPOffice/PhpSpreadsheet/pull/4247)
149+
- Fix minor break handling drawings. [Issue #4241](https://github.com/PHPOffice/PhpSpreadsheet/issues/4241) [PR #4244](https://github.com/PHPOffice/PhpSpreadsheet/pull/4244)
150+
- Ignore cell formatting when the format is a single @. [Issue #4242](https://github.com/PHPOffice/PhpSpreadsheet/issues/4242) [PR #4243](https://github.com/PHPOffice/PhpSpreadsheet/pull/4243)
151+
- Upgrade Dompdf to Php-8.4 compatible version [PR #4267](https://github.com/PHPOffice/PhpSpreadsheet/pull/4267)
152+
153+
## 2024-11-22 - 3.5.0
154+
155+
### Added
156+
157+
- Nothing yet.
158+
159+
### Changed
160+
161+
- Settings::libXmlLoaderOptions is ignored. [PR #4233](https://github.com/PHPOffice/PhpSpreadsheet/pull/4233)
162+
163+
### Moved
164+
165+
- Nothing yet.
166+
167+
### Deprecated
168+
169+
- Settings::setLibXmlLoaderOptions() and Settings::getLibXmlLoaderOptions() are no longer needed - no replacement.
170+
- Worksheet::getHashCode is no longer needed.
171+
172+
### Fixed
173+
174+
- Add support for `<s>` tag when converting HTML to RichText. [Issue #4223](https://github.com/PHPOffice/PhpSpreadsheet/issues/4223) [PR #4224](https://github.com/PHPOffice/PhpSpreadsheet/pull/4224)
175+
- Change hash code for worksheet. [Issue #4192](https://github.com/PHPOffice/PhpSpreadsheet/issues/4192) [PR #4207](https://github.com/PHPOffice/PhpSpreadsheet/pull/4207)
176+
177+
## 2024-11-10 - 3.4.0
178+
179+
### Security Fix
180+
181+
- Several security patches.
182+
183+
### Added
184+
185+
- Add Dynamic valueBinder Property to Spreadsheet and Readers. [Issue #1395](https://github.com/PHPOffice/PhpSpreadsheet/issues/1395) [PR #4185](https://github.com/PHPOffice/PhpSpreadsheet/pull/4185)
186+
- Allow Omitting Chart Border. [Issue #562](https://github.com/PHPOffice/PhpSpreadsheet/issues/562) [PR #4188](https://github.com/PHPOffice/PhpSpreadsheet/pull/4188)
187+
- Method to Test Whether Csv Will Be Affected by Php9. [PR #4189](https://github.com/PHPOffice/PhpSpreadsheet/pull/4189)
188+
189+
### Changed
190+
191+
- Refactor Xls Reader. [PR #4118](https://github.com/PHPOffice/PhpSpreadsheet/pull/4118)
192+
193+
### Deprecated
194+
195+
- IReader::SKIP_EMPTY_CELLS - use its alias IGNORE_EMPTY_CELLS instead.
196+
- Worksheet::getProtectedCells was deprecated in release 2, but was not properly documented, and not removed in release 3. Use getProtectedCellRanges instead.
197+
- Writer/Html::isMpdf property was deprecated in release 2, but was not properly documented, and not removed in release 3. Use instanceof Mpdf instead.
198+
199+
### Moved
200+
201+
- Nothing yet.
202+
203+
### Fixed
204+
205+
- Xls Writer Condtional Rules Applied to Whole Rows or Columns. [Issue #3185](https://github.com/PHPOffice/PhpSpreadsheet/issues/3185) [PR #4152](https://github.com/PHPOffice/PhpSpreadsheet/pull/4152)
206+
- Xlsx Writer Duplicate ContentTypes Entry for Background Image. [Issue #4179](https://github.com/PHPOffice/PhpSpreadsheet/issues/4179) [PR #4180](https://github.com/PHPOffice/PhpSpreadsheet/pull/4180)
207+
- Check strictNullComparison outside of loops. [PR #3347](https://github.com/PHPOffice/PhpSpreadsheet/pull/3347)
208+
- SUMIFS Does Not Require xlfn. [Issue #4182](https://github.com/PHPOffice/PhpSpreadsheet/issues/4182) [PR #4186](https://github.com/PHPOffice/PhpSpreadsheet/pull/4186)
209+
- Image Transparency/Opacity with Html Reader Changes. [Discussion #4117](https://github.com/PHPOffice/PhpSpreadsheet/discussions/4117) [PR #4142](https://github.com/PHPOffice/PhpSpreadsheet/pull/4142)
210+
- Option to Write Hyperlink Rather Than Label to Csv. [Issue #1412](https://github.com/PHPOffice/PhpSpreadsheet/issues/1412) [PR #4151](https://github.com/PHPOffice/PhpSpreadsheet/pull/4151)
211+
- Invalid Html Due to Cached Filesize. [Issue #1107](https://github.com/PHPOffice/PhpSpreadsheet/issues/1107) [PR #4184](https://github.com/PHPOffice/PhpSpreadsheet/pull/4184)
212+
- Excel 2003 Allows Html Entities. [Issue #2157](https://github.com/PHPOffice/PhpSpreadsheet/issues/2157) [PR #4187](https://github.com/PHPOffice/PhpSpreadsheet/pull/4187)
213+
- Changes to ROUNDDOWN/ROUNDUP/TRUNC. [Issue #4213](https://github.com/PHPOffice/PhpSpreadsheet/issues/4213) [PR #4214](https://github.com/PHPOffice/PhpSpreadsheet/pull/4214)
214+
- Writer Xlsx ignoredErrors Before Drawings. [Issue #4200](https://github.com/PHPOffice/PhpSpreadsheet/issues/4200) [Issue #4145](https://github.com/PHPOffice/PhpSpreadsheet/issues/4145) [PR #4212](https://github.com/PHPOffice/PhpSpreadsheet/pull/4212)
215+
- Allow ANCHORARRAY as Data Validation list. [Issue #4197](https://github.com/PHPOffice/PhpSpreadsheet/issues/4197) [PR #4203](https://github.com/PHPOffice/PhpSpreadsheet/pull/4203)
216+
217+
## 2024-09-29 - 3.3.0 (no 3.0.\*, 3.1.\*, 3.2.\*)
9218

10219
### Dynamic Arrays
11220

CONTRIBUTING.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ If you would like to contribute, here are some notes and guidelines:
44

55
- All new development should be on feature/fix branches, which are then merged to the `master` branch once stable and approved; so the `master` branch is always the most up-to-date, working code
66
- If you are going to submit a pull request, please fork from `master`, and submit your pull request back as a fix/feature branch referencing the GitHub issue number
7+
- Install (development) dependencies by running `composer install` inside your PhpSpreadsheet clone.
78
- The code must work with all PHP versions that we support.
89
- You can call `composer versions` to test version compatibility.
910
- Code style should be maintained.
10-
- `composer style` will identify any issues with Coding Style`.
11+
- `composer style` will identify any issues with Coding Style.
1112
- `composer fix` will fix most issues with Coding Style.
1213
- All code changes must be validated by `composer check`.
1314
- Please include Unit Tests to verify that a bug exists, and that this PR fixes it.
@@ -39,7 +40,10 @@ This makes it easier to see exactly what is being tested when reviewing the PR.
3940
2. Tag subject must be the version number, eg: `1.2.3`
4041
3. Tag body must be a copy-paste of the changelog entries.
4142
3. Push the tag with `git push --tags`, GitHub Actions will create a GitHub release automatically, and the release details will automatically be sent to packagist.
42-
4. Github seems to remove markdown headings in the Release Notes, so you should edit to restore these.
43-
44-
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.)
43+
4. By default, Github removes markdown headings in the Release Notes. You can either edit to restore these, or, probably preferably, change the default comment character on your system - `git config core.commentChar ";"`.
4544

45+
> **Note:** Tagged releases are made from the `master` branch. Only in an emergency should a tagged release be made from the `release` branch. (i.e. cherry-picked hot-fixes.) However, there are 4 branches which have been updated to apply security patches, and those may be tagged if future security updates are needed.
46+
- release1291
47+
- release210
48+
- release222
49+
- release390

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 PhpSpreadsheet Authors
3+
Copyright (c) 2019-2025 PhpSpreadsheet Authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"platform": {
1616
"php" : "8.1.99"
1717
},
18+
"process-timeout": 600,
1819
"sort-packages": true,
1920
"allow-plugins": {
2021
"dealerdirect/phpcodesniffer-composer-installer": true
@@ -45,12 +46,12 @@
4546
],
4647
"scripts": {
4748
"check": [
48-
"./bin/check-phpdoc-types",
49+
"php ./bin/check-phpdoc-types",
4950
"phpcs samples/ src/ tests/ --report=checkstyle",
50-
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- -n",
51+
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n",
5152
"php-cs-fixer fix --ansi --dry-run --diff",
52-
"phpunit --color=always",
53-
"phpstan analyse --ansi --memory-limit=2048M"
53+
"phpstan analyse --ansi --memory-limit=2048M",
54+
"phpunit --color=always"
5455
],
5556
"style": [
5657
"phpcs samples/ src/ tests/ --report=checkstyle",
@@ -61,7 +62,7 @@
6162
"php-cs-fixer fix"
6263
],
6364
"versions": [
64-
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- -n"
65+
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n"
6566
]
6667
},
6768
"require": {
@@ -79,6 +80,7 @@
7980
"ext-xmlwriter": "*",
8081
"ext-zip": "*",
8182
"ext-zlib": "*",
83+
"composer/pcre": "^1||^2||^3",
8284
"maennchen/zipstream-php": "^2.1 || ^3.0",
8385
"markbaker/complex": "^3.0",
8486
"markbaker/matrix": "^3.0",
@@ -95,7 +97,7 @@
9597
"phpcompatibility/php-compatibility": "^9.3",
9698
"phpstan/phpstan": "^1.1",
9799
"phpstan/phpstan-phpunit": "^1.0",
98-
"phpunit/phpunit": "^9.6 || ^10.5",
100+
"phpunit/phpunit": "^10.5",
99101
"squizlabs/php_codesniffer": "^3.7",
100102
"tecnickcom/tcpdf": "^6.5"
101103
},

0 commit comments

Comments
 (0)