Skip to content

Commit d764de0

Browse files
committed
Additional unit tests and @SInCE documentation
1 parent 3569271 commit d764de0

File tree

16 files changed

+54
-0
lines changed

16 files changed

+54
-0
lines changed

src/PhpWord/Reader/AbstractReader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/**
2323
* Reader abstract class
2424
*
25+
* @since 0.8.0
2526
* @codeCoverageIgnore Abstract class
2627
*/
2728
abstract class AbstractReader implements ReaderInterface

src/PhpWord/Reader/ODText/AbstractPart.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
/**
2424
* Abstract part reader
25+
*
26+
* @since 0.10.0
27+
* @codeCoverageIgnore Nothing in here yet
2528
*/
2629
abstract class AbstractPart extends Word2007AbstractPart
2730
{

src/PhpWord/Reader/ReaderInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* Reader interface
22+
*
23+
* @since 0.8.0
2224
*/
2325
interface ReaderInterface
2426
{

src/PhpWord/Reader/Word2007/AbstractPart.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
* Abstract part reader
2525
*
2626
* This class is inherited by ODText reader
27+
*
28+
* @since 0.10.0
2729
*/
2830
abstract class AbstractPart
2931
{
@@ -466,6 +468,7 @@ protected function readStyleDefs(XMLReader $xmlReader, \DOMElement $parentNode =
466468
}
467469
}
468470

471+
/** @var array $styles Type hint */
469472
return $styles;
470473
}
471474

src/PhpWord/Reader/Word2007/DocPropsApp.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* Extended properties reader
22+
*
23+
* @since 0.10.0
2224
*/
2325
class DocPropsApp extends DocPropsCore
2426
{

src/PhpWord/Reader/Word2007/DocPropsCore.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
/**
2424
* Core properties reader
25+
*
26+
* @since 0.10.0
2527
*/
2628
class DocPropsCore extends AbstractPart
2729
{

src/PhpWord/Reader/Word2007/DocPropsCustom.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
/**
2525
* Custom properties reader
26+
*
27+
* @since 0.11.0
2628
*/
2729
class DocPropsCustom extends AbstractPart
2830
{

src/PhpWord/Reader/Word2007/Document.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
/**
2424
* Document reader
25+
*
26+
* @since 0.10.0
2527
*/
2628
class Document extends AbstractPart
2729
{

src/PhpWord/Reader/Word2007/Endnotes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* Endnotes reader
22+
*
23+
* @since 0.10.0
2224
*/
2325
class Endnotes extends Footnotes
2426
{

src/PhpWord/Reader/Word2007/Footnotes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
/**
2424
* Footnotes reader
25+
*
26+
* @since 0.10.0
2527
*/
2628
class Footnotes extends AbstractPart
2729
{

0 commit comments

Comments
 (0)