Completed
Push — master ( e3e862...b1f297 )
by Andreas
25s queued 10s
created
src/Subcommands/Sessionize/Parser/EntryParser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,10 @@
 block discarded – undo
11 11
 
12 12
 use Callingallpapers\Entity\Cfp;
13 13
 use Callingallpapers\Service\ServiceContainer;
14
-use Callingallpapers\Service\TimezoneService;
15 14
 use DateTimeZone;
16 15
 use DOMDocument;
17 16
 use DOMXPath;
18 17
 use Exception;
19
-use GuzzleHttp\Client;
20 18
 use InvalidArgumentException;
21 19
 use Throwable;
22 20
 
Please login to merge, or discard this patch.
src/Subcommands/Sessionize/Parser/Location.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
         // This expression does not work. It looks like the reason is the array-notation...
20 20
         //$locations = $xpath->query('//div[contains(text()[2], "location")]/following-sibling::h2/span');
21 21
         $locationMarker = $xpath->query("//div[contains(., 'location')]");
22
-        if (! $locationMarker || $locationMarker->length == 0) {
22
+        if (!$locationMarker || $locationMarker->length == 0) {
23 23
             throw new \InvalidArgumentException('The Event does not seem to have a locationMarker');
24 24
         }
25 25
 
26 26
         $locations = $xpath->query('.//h2/span', $locationMarker->item(0)->parentNode);
27 27
 
28
-        if (! $locations || $locations->length == 0) {
28
+        if (!$locations || $locations->length == 0) {
29 29
             throw new \InvalidArgumentException('The Event does not seem to have a location');
30 30
         }
31 31
         $locationArray = [];
Please login to merge, or discard this patch.