Skip to content

Commit d59591b

Browse files
committed
Automatic code style
1 parent 5b5de9e commit d59591b

File tree

15 files changed

+16
-18
lines changed

15 files changed

+16
-18
lines changed

src/PhpWord/Shared/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ protected static function parseImage($node, $element)
900900
if (!is_file($src)
901901
&& null !== self::$options
902902
&& isset(self::$options['IMG_SRC_SEARCH'], self::$options['IMG_SRC_REPLACE'])
903-
) {
903+
) {
904904
$src = str_replace(self::$options['IMG_SRC_SEARCH'], self::$options['IMG_SRC_REPLACE'], $src);
905905
}
906906

tests/PhpWordTests/Collection/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
namespace PhpOffice\PhpWordTests\Collection;
1919

20-
use PhpOffice\PhpWord\Element\Footnote;
2120
use PhpOffice\PhpWord\Collection\Footnotes;
21+
use PhpOffice\PhpWord\Element\Footnote;
2222

2323
/**
2424
* Test class for PhpOffice\PhpWord\Collection subnamespace.

tests/PhpWordTests/Element/ImageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
namespace PhpOffice\PhpWordTests\Element;
1919

2020
use PhpOffice\PhpWord\Element\Image;
21-
use PhpOffice\PhpWordTests\AbstractWebServerEmbeddedTest;
2221
use PhpOffice\PhpWord\SimpleType\Jc;
22+
use PhpOffice\PhpWordTests\AbstractWebServerEmbeddedTest;
2323

2424
/**
2525
* Test class for PhpOffice\PhpWord\Element\Image.

tests/PhpWordTests/Element/SectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
use Exception;
2121
use PhpOffice\PhpWord\Element\Header;
22+
use PhpOffice\PhpWord\Element\Section;
2223
use PhpOffice\PhpWord\PhpWord;
2324
use PhpOffice\PhpWord\Style;
24-
use PhpOffice\PhpWord\Element\Section;
2525
use PhpOffice\PhpWord\Style\Section as SectionStyle;
2626

2727
/**

tests/PhpWordTests/Exception/ExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Test class for PhpOffice\PhpWord\Exception\Exception.
2525
*
26-
* @coversDefaultClass Exception
26+
* @coversDefaultClass \Exception
2727
*
2828
* @runTestsInSeparateProcesses
2929
*/

tests/PhpWordTests/Reader/Word2007/ElementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
namespace PhpOffice\PhpWordTests\Reader\Word2007;
1919

20-
use PhpOffice\PhpWordTests\AbstractTestReader;
2120
use PhpOffice\PhpWord\Element\TrackChange;
21+
use PhpOffice\PhpWordTests\AbstractTestReader;
2222

2323
/**
2424
* Test class for PhpOffice\PhpWord\Reader\Word2007\Element subnamespace.

tests/PhpWordTests/Reader/Word2007/StyleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
namespace PhpOffice\PhpWordTests\Reader\Word2007;
1919

20-
use PhpOffice\PhpWordTests\AbstractTestReader;
2120
use PhpOffice\PhpWord\SimpleType\TblWidth;
2221
use PhpOffice\PhpWord\SimpleType\VerticalJc;
2322
use PhpOffice\PhpWord\Style;
2423
use PhpOffice\PhpWord\Style\Table;
2524
use PhpOffice\PhpWord\Style\TablePosition;
25+
use PhpOffice\PhpWordTests\AbstractTestReader;
2626

2727
/**
2828
* Test class for PhpOffice\PhpWord\Reader\Word2007\Styles.

tests/PhpWordTests/Shared/HtmlTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
namespace PhpOffice\PhpWordTests\Shared;
1919

2020
use Exception;
21-
use PhpOffice\PhpWord\Shared\Html;
22-
use PhpOffice\PhpWordTests\AbstractWebServerEmbeddedTest;
2321
use PhpOffice\PhpWord\Element\Section;
22+
use PhpOffice\PhpWord\Shared\Html;
2423
use PhpOffice\PhpWord\SimpleType\Jc;
2524
use PhpOffice\PhpWord\SimpleType\LineSpacingRule;
2625
use PhpOffice\PhpWord\Style\Paragraph;
26+
use PhpOffice\PhpWordTests\AbstractWebServerEmbeddedTest;
2727
use PhpOffice\PhpWordTests\TestHelperDOCX;
2828

2929
/**

tests/PhpWordTests/Style/CellTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
namespace PhpOffice\PhpWordTests\Style;
1919

20-
use PhpOffice\PhpWord\Style\Cell;
2120
use PhpOffice\PhpWord\SimpleType\VerticalJc;
21+
use PhpOffice\PhpWord\Style\Cell;
2222

2323
/**
2424
* Test class for PhpOffice\PhpWord\Style\Cell.

tests/PhpWordTests/TestHelperDOCX.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class TestHelperDOCX
4040
*
4141
* @since 0.12.0 Throws CreateTemporaryFileException.
4242
*
43-
* @param \PhpOffice\PhpWord\PhpWord $phpWord
4443
* @param string $writerName
4544
*
4645
* @return \PhpOffice\PhpWordTests\XmlDocument

0 commit comments

Comments
 (0)