Passed
Push — master ( b85d4e...511693 )
by Dispositif
02:38
created
src/Application/Bot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,9 +173,9 @@
 block discarded – undo
173 173
      */
174 174
     public function minutesSinceLastEdit(string $title): int
175 175
     {
176
-        $time = $this->getTimestamp($title);  // 2011-09-02T16:31:13Z
176
+        $time = $this->getTimestamp($title); // 2011-09-02T16:31:13Z
177 177
 
178
-        return (int)round((time() - strtotime($time)) / 60);
178
+        return (int) round((time() - strtotime($time)) / 60);
179 179
     }
180 180
 
181 181
     /**
Please login to merge, or discard this patch.
src/Application/Tests/BotTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
         $this::assertTrue(Bot::isEditionRestricted('{{3R}} bla'));
24 24
         $this::assertTrue(Bot::isEditionRestricted('{{nobots}} bla'));
25 25
         $this::assertTrue(Bot::isEditionRestricted('{{bots|deny=Bob,FuBot}} bla', 'FuBot'));
26
-        $this::assertFalse(Bot::isEditionRestricted('{{bots|deny=Bob,FuBot}} bla'));;
26
+        $this::assertFalse(Bot::isEditionRestricted('{{bots|deny=Bob,FuBot}} bla')); ;
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/Domain/Publisher/BnfMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,12 +153,12 @@
 block discarded – undo
153 153
             return $tac;
154 154
         }
155 155
         // 214 : nouvelle zone 2019
156
-        if ($tac = $this->xpath2string('//mxc:datafield[@tag="214"]/mxc:subfield[@code="c"]',' / ')) {
156
+        if ($tac = $this->xpath2string('//mxc:datafield[@tag="214"]/mxc:subfield[@code="c"]', ' / ')) {
157 157
             return $tac;
158 158
         }
159 159
 
160 160
         // 219 ancienne zone ?
161
-        if ($tac = $this->xpath2string('//mxc:datafield[@tag="219"]/mxc:subfield[@code="c"]',' / ')) {
161
+        if ($tac = $this->xpath2string('//mxc:datafield[@tag="219"]/mxc:subfield[@code="c"]', ' / ')) {
162 162
             return $tac;
163 163
         }
164 164
 
Please login to merge, or discard this patch.