Skip to content

Commit 9f434c7

Browse files
Roman SyroeshkoRoman Syroeshko
authored andcommitted
https://github.com/PHPOffice/PHPWord/issues/46
Final keyword was removed in test class.
1 parent a765d61 commit 9f434c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/PHPWord/TemplateTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase
1212
* @covers ::applyXslStyleSheet
1313
* @test
1414
*/
15-
final public function testXslStyleSheetCanBeApplied()
15+
public function testXslStyleSheetCanBeApplied()
1616
{
1717
// TODO: implement after merge of the issue https://github.com/PHPOffice/PHPWord/issues/56
1818
}
@@ -23,7 +23,7 @@ final public function testXslStyleSheetCanBeApplied()
2323
* @expectedExceptionMessage Could not set values for the given XSL style sheet parameters.
2424
* @test
2525
*/
26-
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
26+
public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
2727
{
2828
$template = new PHPWord_Template(
2929
\join(\DIRECTORY_SEPARATOR,
@@ -45,7 +45,7 @@ final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParamete
4545
* @expectedExceptionMessage Could not load XML from the given template.
4646
* @test
4747
*/
48-
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfLoadingXmlFromTemplate()
48+
public function testXslStyleSheetCanNotBeAppliedOnFailureOfLoadingXmlFromTemplate()
4949
{
5050
$template = new PHPWord_Template(
5151
\join(\DIRECTORY_SEPARATOR,
@@ -67,7 +67,7 @@ final public function testXslStyleSheetCanNotBeAppliedOnFailureOfLoadingXmlFromT
6767
* @expectedExceptionMessage Could not transform the given XML document.
6868
* @test
6969
*/
70-
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation()
70+
public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation()
7171
{
7272
$template = new PHPWord_Template(
7373
\join(\DIRECTORY_SEPARATOR,
@@ -82,4 +82,4 @@ final public function testXslStyleSheetCanNotBeAppliedOnFailureOfTransformation(
8282

8383
$template->applyXslStyleSheet($xslDOMDocument);
8484
}
85-
}
85+
}

0 commit comments

Comments
 (0)