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

Remove legacy PHPOffice/Common package, fix PHP 8.0 compatibility #1996

Merged
merged 12 commits into from
Jan 12, 2021

Conversation

liborm85
Copy link
Contributor

@liborm85 liborm85 commented Jan 2, 2021

Description

Package PHPOffice/Common is not developed and is not compatible with PHP 8.0.

PhpSpreadsheet is returned back to use Shared directory (see /src/PhpSpreadsheet/Shared). Therefore, it will be a good idea to choose the same path for PHPWord.

This PR move classes from Common to Shared directory, remove phpoffice/common package and fixes compatibility with PHP 8.0 from PR PHPOffice/Common#34.

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 N/A

@coveralls
Copy link

coveralls commented Jan 2, 2021

Coverage Status

Coverage increased (+0.07%) to 95.968% when pulling 40966dd on liborm85:drop-common-package into cf808cb on PHPOffice:develop.

@liborm85 liborm85 marked this pull request as ready for review January 2, 2021 09:36
@troosan troosan added this to the v0.18.0 milestone Jan 12, 2021
@troosan troosan merged commit 06c8248 into PHPOffice:develop Jan 12, 2021
@liborm85 liborm85 deleted the drop-common-package branch January 13, 2021 06:52
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.

3 participants