adapt code for php 5.3
This commit is contained in:
parent
623bd993d8
commit
12ad6fa865
@ -248,7 +248,8 @@ final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
|
|||||||
$templatePath = 'test.docx';
|
$templatePath = 'test.docx';
|
||||||
$objWriter->save($templatePath);
|
$objWriter->save($templatePath);
|
||||||
|
|
||||||
$variableCount = (new TemplateProcessor($templatePath))->getVariableCount();
|
$templateProcessor = new TemplateProcessor($templatePath);
|
||||||
|
$variableCount = $templateProcessor->getVariableCount();
|
||||||
unlink($templatePath);
|
unlink($templatePath);
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user