You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
There was a fix today ("fix formatting" - I cannot find a PR number). It fixed the formatting error, but left both duplicate functions intact, so was ineffective.
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:
The text was updated successfully, but these errors were encountered: