fix lint
This commit is contained in:
parent
58c6c52ee9
commit
d54cc6efee
|
|
@ -11,5 +11,11 @@
|
|||
<ul><li>Item 1</li><li>Item 2</li><ul><li>Item 2.1</li><li>Item 2.1</li></ul></ul>
|
||||
<p>Ordered (numbered) list:</p>
|
||||
<ol><li>Item 1</li><li>Item 2</li></ol>
|
||||
|
||||
|
||||
<p style="line-height:2">Double height</p>
|
||||
|
||||
<h2>Includes images</h2>
|
||||
<img src="https://phpword.readthedocs.io/en/latest/_images/phpword.png" alt=""/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -485,10 +485,10 @@ class HtmlTest extends \PHPUnit\Framework\TestCase
|
|||
{
|
||||
$src = 'https://fakedomain.io/images/firefox.png';
|
||||
$localPath = __DIR__ . '/../_files/images/';
|
||||
$options= [
|
||||
$options= array(
|
||||
'IMG_SRC_SEARCH'=> 'https://fakedomain.io/images/',
|
||||
'IMG_SRC_REPLACE'=> $localPath
|
||||
];
|
||||
);
|
||||
|
||||
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
||||
$section = $phpWord->addSection();
|
||||
|
|
|
|||
Loading…
Reference in New Issue