@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | public function testPosts() |
9 | 9 | { |
10 | 10 | $data = new Content\PostList(); |
11 | - $data->setData(23, 2345648613, 17, 'abcdefghijkl', 'mnopqrstuvwx'); |
|
11 | + $data->setData(23, 2345648613, 17, 'abcdefghijkl', 'mnopqrstuvwx'); |
|
12 | 12 | $this->assertEquals(23, $data->getId()); |
13 | 13 | $this->assertEquals(2345648613, $data->getTime()); |
14 | 14 | $this->assertEquals(17, $data->getCounter()); |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | public function testFiles() |
20 | 20 | { |
21 | 21 | $data = new Content\TopicList(); |
22 | - $data->setData(23, 2345648613, 'abcdefghijkl', 'mnopqrstuvwx', 851, true); |
|
22 | + $data->setData(23, 2345648613, 'abcdefghijkl', 'mnopqrstuvwx', 851, true); |
|
23 | 23 | $this->assertEquals(23, $data->getId()); |
24 | 24 | $this->assertEquals(2345648613, $data->getTime()); |
25 | 25 | $this->assertEquals('abcdefghijkl', $data->getName()); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | // it's necessary to have both arrays sorted this way - it's for lookup by positions |
14 | 14 | /** @var string[] */ |
15 | - protected static array $OPENING_TAGS = ['<b ', '<b>', '<i ', '<i>', '<u ', '<u>', '<center>', '<span>', '<span ', '<font color', '<font face', '<font size', '<font ', '<font', '<table ', '<table', '<tr>', '<td>', '<a ', '<a>']; |
|
15 | + protected static array $OPENING_TAGS = ['<b ', '<b>', '<i ', '<i>', '<u ', '<u>', '<center>', '<span>', '<span ', '<font color', '<font face', '<font size', '<font ', '<font', '<table ', '<table', '<tr>', '<td>', '<a ', '<a>']; |
|
16 | 16 | /** @var string[] */ |
17 | 17 | protected static array $CLOSING_TAGS = ['</b>', '</b>', '</i>', '</i>', '</u>', '</u>', '</center>', '</span>', '</span>', '</font>', '</font>', '</font>', '</font>', '</font>', '</table>', '</table>', '</tr>', '</td>', '</a>', '</a>']; |
18 | 18 |