Commit graph

54 commits

Author SHA1 Message Date
Oliver Davies c25104c321 build: add run file 2022-01-13 22:03:05 +00:00
Oliver Davies 231e7dc9cd style: move closing bracket 2022-01-13 21:43:23 +00:00
Oliver Davies ce8b3466ff refactor: simplify the "is host" logic 2022-01-13 21:41:27 +00:00
Oliver Davies 154bf97964 feat: filter out event hosts 2022-01-13 21:29:35 +00:00
Oliver Davies 0cd580960c test: add an organiser as an attendee 2022-01-13 21:27:08 +00:00
Oliver Davies 2cdc1404b8 test: add whether the attendee is a host 2022-01-13 21:23:31 +00:00
Oliver Davies 121eab93aa test: add event organiser test 2022-01-13 21:22:01 +00:00
Oliver Davies 39a65c725c style: move closing bracket 2022-01-13 21:21:26 +00:00
Oliver Davies 0ac6c0f947 refactor: no need to pluck in assertion 2022-01-13 21:15:02 +00:00
Oliver Davies 9d880841ea refactor: move the repository into a setUp method 2022-01-13 21:06:50 +00:00
Oliver Davies bc747a1f70 refactor: get the repository from the container 2022-01-13 21:02:13 +00:00
Oliver Davies 78841ad9d6 refactor: add RsvpResponse 2022-01-13 20:54:29 +00:00
Oliver Davies aadb1e0176 refactor: move RSVPs into a static property 2022-01-13 20:51:14 +00:00
Oliver Davies 6a82fccecd fix: filter any 'no' RSVPs from the attendees 2022-01-13 20:45:17 +00:00
Oliver Davies 956945fd3f test: add someone who did not attend 2022-01-13 20:40:15 +00:00
Oliver Davies 59ed9d486c test: add a response to the existing attendees 2022-01-13 20:39:24 +00:00
Oliver Davies 7b5da6e46a refactor: move attendees into the fake repository 2022-01-13 20:36:10 +00:00
Oliver Davies f192dd720c refactor: rename test class 2022-01-13 20:29:32 +00:00
Oliver Davies 7502a4c50e refactor: update attendee names 2022-01-13 20:28:17 +00:00
Oliver Davies 133cc8c822 refactor: use a Collection for attendees 2022-01-13 20:22:57 +00:00
Oliver Davies aec86ad237 build(deps): add Collections 2022-01-13 20:18:33 +00:00
Oliver Davies 6883f63d95 test: add the first assertion 2022-01-13 20:18:14 +00:00
Oliver Davies 2962800349 wip: initial class setup 2022-01-13 20:13:28 +00:00
Oliver Davies 06f764a188 build(docker): add vendor/bin to PATH 2022-01-13 19:54:29 +00:00
Oliver Davies 415711e853 build(deps): add symfony/test-pack 2022-01-13 19:47:14 +00:00
Oliver Davies b7ef5c69b7 build(deps): update dependencies 2022-01-13 19:41:45 +00:00
Oliver Davies a28f276048 build: ignore /bin 2022-01-13 19:41:19 +00:00
Oliver Davies f83cc1971a build(docker): add Dockerfile 2022-01-13 19:40:47 +00:00
Oliver Davies b874c01ea2 Add missing return type 2020-06-29 21:32:21 +01:00
Oliver Davies 5f79f6b497 Update the default command 2020-06-29 21:32:21 +01:00
Oliver Davies dca7125df1 More refactoring 2020-05-22 23:02:22 +01:00
Oliver Davies 5aa1f79279 Refactor to a UseCase and some value objects 2020-05-22 22:27:46 +01:00
Oliver Davies ba75e22439 Show the photo URL if the winner has one 2020-05-22 21:51:52 +01:00
Oliver Davies dab1f156e3 Ensure that organisers are excluded 2020-05-22 21:51:49 +01:00
Oliver Davies 3bffa3cdd6
Create LICENSE 2020-05-10 16:05:24 +01:00
Oliver Davies 5a2f82885d Remove blank line 2020-05-05 10:40:33 +01:00
Oliver Davies 72c4c2af78 Remove dependency on illuminate/support 2020-05-05 10:34:35 +01:00
Oliver Davies 6ef4cb5ee0 Add Makefile, use in GitHub Actions 2020-05-05 10:23:49 +01:00
Oliver Davies 7a5a1871df Remove docblocks 2020-05-05 10:23:49 +01:00
Oliver Davies 9b58af3a62 Use PHP 7.4 typed properties
Fixes #8
2020-05-05 10:23:49 +01:00
Oliver Davies 2e0ec011f2 Remove sleep 2020-05-05 10:02:47 +01:00
Oliver Davies b18a9ba3c9 Add a GitHub Actions workflow for PHPCS
Ensure that the code matches the PSR-12 coding standards by
automatically running PHPCS for each push and pull request.

Fixes #5
2020-05-01 02:13:51 +01:00
Oliver Davies 08d9465cf0 Add event URL 2020-04-30 22:59:18 +01:00
Oliver Davies 3d2290c194 Fix coding standards problems
Fixes #4
2020-04-30 00:22:00 +01:00
Oliver Davies d577510355 Add phpcs
References #4
2020-04-30 00:21:23 +01:00
Oliver Davies 71d3314a8e Make the command final, enable strict types 2020-04-29 23:57:45 +01:00
Oliver Davies c188676033 Exclude event hosts
Automatically filter event hosts (i.e. organisers) from the RSVP list so
that they aren't potentially returned as winners.

Fixes #2
2020-04-29 23:54:16 +01:00
Oliver Davies 3ad31b95b0 Use the event name in the title
Retrieve the event data from Meetup, and build the title from the meetup
name and the event name.
2020-04-29 23:34:50 +01:00
Oliver Davies 48aa11b38e Display all yes RSVP names 2020-04-29 23:18:51 +01:00
Oliver Davies 371ea1310b Add README.md 2020-04-29 23:01:58 +01:00