Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 compatability fix for PreserveText and XMLWriter #2209

Merged
merged 2 commits into from Sep 15, 2022

Conversation

mal-risma
Copy link
Contributor

Description

Fixes two issues with deprecation warnings in PHP 8.1.

The check script fails with an error in an unrelated file, so I'm guessing that's ok:
/application/repos/PHPWord/src/PhpWord/Element/TOC.php:27 CamelCasePropertyName The property $TOCStyle is not named in camelCase.

All unit tests still pass on PHP 7.3.

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

@Krato
Copy link

Krato commented Apr 15, 2022

Please, merge that request. Thanks

@NelinD
Copy link

NelinD commented Jun 1, 2022

Please, merge that request. Thanks

I join

@qstiegler
Copy link

Yes please merge that PR!

@NelinD
Copy link

NelinD commented Jun 14, 2022

What needs to be done to make it work?

@mal-risma
Copy link
Contributor Author

It works. It just needs to be merged. If you can't wait for the maintainers to merge it, then you can fork our repo and run with that until this one gets merged.

@NelinD
Copy link

NelinD commented Jun 14, 2022

@mal-risma Yes... But it doesn't work well for a few features(

@qstiegler
Copy link

Could you please try to find a solution for that and merge it! Thanks a lot!

@PowerKiKi PowerKiKi merged commit 82769b9 into PHPOffice:develop Sep 15, 2022
@Progi1984 Progi1984 added this to the v0.19.0 milestone Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants