Completed
Pull Request — master (#28)
by Andreas
02:06
created
src/Command/ParseEvents.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 
32 32
 use Callingallpapers\Parser\JoindinCfpParser;
33 33
 use Callingallpapers\Parser\Lanyrd\LanyrdCfpParser;
34
-use Callingallpapers\Parser\PapercallIoParser;
35 34
 use Callingallpapers\Parser\PapercallIoParserFactory;
36 35
 use Callingallpapers\Service\TimezoneService;
37 36
 use Callingallpapers\Writer\ApiCfpWriter;
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Description.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class Description
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $result = $xpath->query('//div[contains(@class, "description")]');
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Entry.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
         return [$location->lat, $location->lon];
151 151
     }
152 152
 
153
+    /**
154
+     * @param \DOMXPath $xpath
155
+     */
153 156
     public function getEventPage($xpath)
154 157
     {
155 158
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventEndDate.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
38 38
         $this->timezone = new \DateTimezone($timezone);
39 39
     }
40 40
 
41
+    /**
42
+     * @param \DOMDocument $dom
43
+     * @param \DOMXPath $xpath
44
+     */
41 45
     public function parse($dom, $xpath)
42 46
     {
43 47
         $endDate = $xpath->query("//div[contains(@class, 'vevent')]/*/abbr[contains(@class, 'dtend')]"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventName.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class EventName
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventStartDate.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
38 38
         $this->timezone = new \DateTimezone($timezone);
39 39
     }
40 40
 
41
+    /**
42
+     * @param \DOMDocument $dom
43
+     * @param \DOMXPath $xpath
44
+     */
41 45
     public function parse($dom, $xpath)
42 46
     {
43 47
         $startDate = $xpath->query("//div[contains(@class, 'vevent')]/*/abbr[contains(@class, 'dtstart')]"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventUri.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class EventUri
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $uriPath = $xpath->query("//a[contains(@title, 'visit their website')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/LanyrdCfpParser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 namespace Callingallpapers\Parser\Lanyrd;
31 31
 
32 32
 use Callingallpapers\Entity\Cfp;
33
-use Callingallpapers\Parser\Lanyrd\LanyrdEntryParser;
34 33
 use Callingallpapers\Parser\ParserInterface;
35 34
 use Callingallpapers\Service\TimezoneService;
36 35
 use Callingallpapers\Writer\WriterInterface;
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Location.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class Location
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $locations = $xpath->query("//div[contains(@class, 'vevent')]/p[contains(@class, 'location')]/a"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.