Skip to content

Commit

Permalink
Improved coverage for \PhpOffice\PhpWord\Element\Section (PHPOffice…
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Jan 23, 2016
1 parent 8bc2364 commit 995dc68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 1 addition & 7 deletions src/PhpWord/Element/Footnote.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use PhpOffice\PhpWord\Style\Paragraph;

/**
* Footnote element
* @codeCoverageIgnore
*/
class Footnote extends AbstractContainer
{
Expand Down Expand Up @@ -58,8 +58,6 @@ public function __construct($paragraphStyle = null)
* Get paragraph style
*
* @return string|\PhpOffice\PhpWord\Style\Paragraph
*
* @codeCoverageIgnore
*/
public function getParagraphStyle()
{
Expand All @@ -72,8 +70,6 @@ public function getParagraphStyle()
* @deprecated 0.10.0
*
* @return int
*
* @codeCoverageIgnore
*/
public function getReferenceId()
{
Expand All @@ -86,8 +82,6 @@ public function getReferenceId()
* @deprecated 0.10.0
*
* @param int $rId
*
* @codeCoverageIgnore
*/
public function setReferenceId($rId)
{
Expand Down
9 changes: 1 addition & 8 deletions tests/PhpWord/Writer/Word2007/Part/FootnotesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,16 @@
use PhpOffice\PhpWord\TestHelperDOCX;

/**
* Test class for PhpOffice\PhpWord\Writer\Word2007\Part\Notes
*
* @coversNothing
* @runTestsInSeparateProcesses
*/
class FootnotesTest extends \PHPUnit_Framework_TestCase
{
/**
* Executed before each method of the class
*/
public function tearDown()
{
TestHelperDOCX::clear();
}

/**
* Write footnotes
*/
public function testWriteFootnotes()
{
$phpWord = new PhpWord();
Expand Down

0 comments on commit 995dc68

Please sign in to comment.