-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
#48in24: Meetup 2024-08-20 and PHP is a featured language #788
Conversation
This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested. If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.
For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping |
That didn't work. |
@sarad1p1ty I solved the problem now. Please rebase this PR on the latest |
Thank you for that. Hopefully all good now. Apart from adding DocBlocks, the basic tasks were mostly already done :) I'd like to neated up the test code, but wanted to run the format by you first, eg:
Something like that? |
I'm also not quite sure how to action #617 ? |
@sarad1p1ty Thank you for updating the branch. I think you cannot quickly solve #617 or one of the other possible action points. Those were meant for a long term preparation - which didn't happen.
I wouldn't do that. That is the obvious reason for failing tests. I think I wrote that action suggestion after facing some complicated, hard to understand tests in another exercise. It doesn't make sense now, after looking at all the actual tests. The other suggested changes look good, with 2 additional spacing lines to make the Arrange, Act, Assert pattern stand out: {
$expected = new DateTimeImmutable("2013/5/13");
$actual = meetup_day(2013, 5, "teenth", "Monday");
$this->assertEquals($expected, $actual);
} |
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'll merge this in the evening. We may add the structural changes later, too.
Thanks a lot for your contribution!
…ism-php into meetup-prep
…ism-php into meetup-prep
Thank you for your help. |
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 don't know what kind of git trouble you are facing...this PR looks great. Thank you very much!
As per #667:
Meetup will be the only exercise with PHP as featured language during #48in24! Let's prepare it well:
Do not redesign the student's interface or add test cases that would invalidate existing community solutions. These are extra tasks, which should be discussed in advance.
In addition to the other sync-ing tasks, consider doing these:
<link>
in comment on strict types #617