-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Sessionize-Data #37
Conversation
This introduces a parser that allows to read CfP-Infos from sessionize # Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen, # die mit '#' beginnen, werden ignoriert, und eine leere Beschreibung # bricht den Commit ab. # # Auf Branch addConfsTech # Ihr Branch ist auf demselben Stand wie 'origin/addConfsTech'. # # Zum Commit vorgemerkte Änderungen: # geändert: bin/callingallpapers # geändert: composer.json # geändert: phpunit.xml.dist # neue Datei: src/Command/AbstractParseEvents.php # neue Datei: src/Service/ServiceContainer.php # neue Datei: src/Subcommands/Sessionize/Command.php # neue Datei: src/Subcommands/Sessionize/Parser/ClosingDate.php # neue Datei: src/Subcommands/Sessionize/Parser/Description.php # neue Datei: src/Subcommands/Sessionize/Parser/EntryParser.php # neue Datei: src/Subcommands/Sessionize/Parser/EventEndDate.php # neue Datei: src/Subcommands/Sessionize/Parser/EventName.php # neue Datei: src/Subcommands/Sessionize/Parser/EventStartDate.php # neue Datei: src/Subcommands/Sessionize/Parser/EventUri.php # neue Datei: src/Subcommands/Sessionize/Parser/IconUri.php # neue Datei: src/Subcommands/Sessionize/Parser/Location.php # neue Datei: src/Subcommands/Sessionize/Parser/OpeningDate.php # neue Datei: src/Subcommands/Sessionize/Parser/Sessionize.php # neue Datei: tests/Subcommands/Sessionize/IntegrationTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/ClosingDateTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/EventDescriptionTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/EventEndDateTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/EventNameTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/EventStartDateTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/EventUriTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/IconUriTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/LocationTest.php # neue Datei: tests/Subcommands/Sessionize/Parser/OpeningDateTest.php # neue Datei: tests/Subcommands/Sessionize/__assets/Azure Day Rome 2019: Call for Speakers @ Sessionize.com.html # neue Datei: "tests/Subcommands/Sessionize/__assets/React Week Medell\303\255n 2019: Call for Speakers @ Sessionize.com.html" #
3708bf0
to
205ec72
Compare
205ec72
to
ad20f87
Compare
throw new \InvalidArgumentException('The CfP does not seem to have an EventUri'); | ||
} | ||
|
||
$uriPath = $xpath->query('//h2/a', $uriPath->item(0)->parentNode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The //
xpath will actually find this anywhere in the document, even though you passed in the $contextNode
parameter. The xpath should be .//h2/a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed that in the Location
-class as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also like to thank GitHub's "start review" feature for leaving that comment hidden for 9 months until your most recent commit brought me to the diff to see its pending status 🤦♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄 🤣
This allows us to only use PHPUnit8. For that some tests needed to be adapted due to deprecated features that caused warnings.
This introduces a parser that allows to read CfP-Infos from sessionize