From 9f434c7fa831864a6d8ecf1bf2b7467a9519b713 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Sun, 2 Mar 2014 09:33:26 -0800 Subject: [PATCH] https://github.com/PHPOffice/PHPWord/issues/46 Final keyword was removed in test class. --- Tests/PHPWord/TemplateTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/PHPWord/TemplateTest.php b/Tests/PHPWord/TemplateTest.php index 5326b1c2..bd8e98e2 100644 --- a/Tests/PHPWord/TemplateTest.php +++ b/Tests/PHPWord/TemplateTest.php @@ -12,7 +12,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase * @covers ::applyXslStyleSheet * @test */ - final public function testXslStyleSheetCanBeApplied() + public function testXslStyleSheetCanBeApplied() { // TODO: implement after merge of the issue https://github.com/PHPOffice/PHPWord/issues/56 } @@ -23,7 +23,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase * @expectedExceptionMessage Could not set values for the given XSL style sheet parameters. * @test */ - final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue() + public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue() { $template = new PHPWord_Template( \join(\DIRECTORY_SEPARATOR, @@ -45,7 +45,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase * @expectedExceptionMessage Could not load XML from the given template. * @test */ - final public function testXslStyleSheetCanNotBeAppliedOnFailureOfLoadingXmlFromTemplate() + public function testXslStyleSheetCanNotBeAppliedOnFailureOfLoadingXmlFromTemplate() { $template = new PHPWord_Template( \join(\DIRECTORY_SEPARATOR, @@ -67,7 +67,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase * @expectedExceptionMessage Could not transform the given XML document. * @test */ - final public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation() + public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation() { $template = new PHPWord_Template( \join(\DIRECTORY_SEPARATOR, @@ -82,4 +82,4 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase $template->applyXslStyleSheet($xslDOMDocument); } -} \ No newline at end of file +}