-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Describe the Bug
The code for src/PhpWord/Writer/PDF/TCPDF.php defines function createExternalWriterInstance twice, causing the test suite to fail. PR #1983 introduced the second copy of the function. PR #1907 is responsible for the first version of the function. The functions are identical, except for a formatting problem in 1907.
Steps to Reproduce
Please provide a code sample that reproduces the issue.
Running the test suite fails because one of the tests fails due to the duplicated function.
The test which fails is PhpOffice\PhpWord\Writer\PDF\TCPDFTest::testConstruct.
Expected Behavior
Test suite should pass.
Current Behavior
What is the current behavior?
Test suite fails.
Context
Please fill in your environment information:
- PHP Version: all
- PHPWord Version: most recent, including updates through 2020-12-29.