Passed
Push — master ( 4db9af...1ce0d1 )
by Petr
06:38 queued 04:07
created
php-tests/BasicTests/ContentTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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());
Please login to merge, or discard this patch.
php-src/Cutting/Content.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.