We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d6dbd commit 277c3b4Copy full SHA for 277c3b4
tests/Diff/Renderer/ArrayTest.php
@@ -1,19 +1,30 @@
1
<?php
2
namespace Tests\Diff\Renderer\Html;
3
4
+require "../../../lib/Autoloader.php";
5
+
6
use jblond\Autoloader;
7
use jblond\Diff\Renderer\Html\HtmlArray;
8
use PHPUnit\Framework\TestCase;
9
-require "../../../lib/Autoloader.php";
-new Autoloader();
10
-
11
/**
12
* Class ArrayTest
13
* @package Tests\Diff\Renderer\Html
14
*/
15
class ArrayTest extends TestCase
16
{
17
+ /**
18
+ * ArrayTest constructor.
19
+ * @param null $name
20
+ * @param array $data
21
+ * @param string $dataName
22
+ */
23
+ public function __construct($name = null, array $data = [], $dataName = '') {
24
+ parent::__construct($name, $data, $dataName);
25
+ new Autoloader();
26
+ }
27
28
29
*
30
0 commit comments