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 Support for addPreserveText #2239

Merged
merged 2 commits into from Sep 14, 2022
Merged

PHP 8.1 Support for addPreserveText #2239

merged 2 commits into from Sep 14, 2022

Conversation

cscrewsandcaptains
Copy link
Contributor

Description

PHP 8.1 Support for addPreserveText

Fixes #2220

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported (** scripts not run with PHP 8.1 (without my changes!) **)
  • The new code is covered by unit tests (not necessary)
  • I have updated the documentation to describe the changes (not necessary)

third parameter must be -1 not null (php 8.1 deprecate warning)
add  #[\ReturnTypeWillChange] Attribute to the function writeAttribute (php 8.1 deprecate warning)
@dsuurlant
Copy link

dsuurlant commented Jun 23, 2022

Would love to see this one merged since we need this to upgrade our stack to PHP 8.1.

Also I imagine this relates to #2209 ?

@rtek
Copy link

rtek commented Aug 1, 2022

This along with all the other php8.1 related deprecations need to be merged.

@garethellis36
Copy link
Contributor

@PowerKiKi You helped to merge, tag, and release #2187 which was another PHP 8.1 fix. Is there any chance you might be able to help with this one, and also #2292 and #2272? Or @Progi1984 ?

@Progi1984 Progi1984 merged commit 6258490 into PHPOffice:develop Sep 14, 2022
@Progi1984
Copy link
Member

Thanks @cscrewsandcaptains for the contribution

Thansk @garethellis36 for the ping.

@Progi1984 Progi1984 added this to the v0.18.2 milestone Sep 14, 2022
@garethellis36
Copy link
Contributor

Thanks folks, any chance of a tagged release please? :)

@natsimhan
Copy link

I also wait after this release (v0.18.4 ? ^^) to validate the migration to PHP8.1 of all my application ;)

@PowerKiKi PowerKiKi mentioned this pull request Oct 24, 2022
3 tasks
@PowerKiKi
Copy link
Member

released as 1.0.0

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.

PHP 8.1 Support for addPreserveText
7 participants