Skip to content
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

Merged
merged 5 commits into from
Feb 3, 2020
Merged

Conversation

heiglandreas
Copy link
Member

@heiglandreas heiglandreas commented May 20, 2019

This introduces a parser that allows to read CfP-Infos from sessionize

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"
#
@heiglandreas heiglandreas force-pushed the addSessionize branch 3 times, most recently from 3708bf0 to 205ec72 Compare February 2, 2020 16:56
throw new \InvalidArgumentException('The CfP does not seem to have an EventUri');
}

$uriPath = $xpath->query('//h2/a', $uriPath->item(0)->parentNode);

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

Copy link
Member Author

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

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 🤦‍♂️

Copy link
Member Author

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.
@heiglandreas heiglandreas merged commit e3e8624 into joindin:master Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants