Skip to content

Commit 03ad7ec

Browse files
committed
Php-cs-fixer Recommendations
1 parent fdc30b6 commit 03ad7ec

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"phpmd/phpmd": "^2.13",
123123
"phpstan/phpstan": "^0.12.88 || ^1.0.0",
124124
"phpstan/phpstan-phpunit": "^1.0 || ^2.0",
125-
"phpunit/phpunit": ">=7.0",
125+
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0 || ^10.0",
126126
"symfony/process": "^4.4 || ^5.0",
127127
"tecnickcom/tcpdf": "^6.5"
128128
},

src/PhpWord/Shared/Html.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ protected static function parseChildNodes($node, $element, $styles, $data): void
303303
* @param AbstractContainer $element
304304
* @param array &$styles
305305
*
306-
* @return \PhpOffice\PhpWord\Element\PageBreak|\PhpOffice\PhpWord\Element\TextRun
306+
* @return \PhpOffice\PhpWord\Element\PageBreak|TextRun
307307
*/
308308
protected static function parseParagraph($node, $element, &$styles)
309309
{
@@ -466,7 +466,7 @@ protected static function parseRow($node, $element, &$styles)
466466
* @param Table $element
467467
* @param array &$styles
468468
*
469-
* @return \PhpOffice\PhpWord\Element\Cell|\PhpOffice\PhpWord\Element\TextRun $element
469+
* @return \PhpOffice\PhpWord\Element\Cell|TextRun $element
470470
*/
471471
protected static function parseCell($node, $element, &$styles)
472472
{

tests/PhpWordTests/Shared/HtmlHeadingsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* This file is part of PHPWord - A pure PHP library for reading and writing
45
* word processing documents.

0 commit comments

Comments
 (0)