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

PHPstan annotations for ExternalContestSource Service #2323

Merged
merged 3 commits into from
Feb 12, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Feb 11, 2024

I think most of those events should be translated to DTOs but for now I prefer to have the file cleaned.

This PR does add some actual functional changes, where possible I've put those in separate commits.

@vmcj vmcj force-pushed the phpstan_baseline_externalsource branch 2 times, most recently from a76e7c2 to 177f665 Compare February 11, 2024 20:30
vmcj added 3 commits February 12, 2024 08:11
If we would make edgecases for all situations every field would become
optional.
When CLICS has some extra fields those are now added for documentation.
Only if there are many of those they've been left out.

I've assumed that we can import runs which are still running so the
{run_, contest_ & ''}time are still null so can even have been ommited.

It seems that both runner & compiler are optional based on the examples
in the CLICS documentation.
@vmcj vmcj force-pushed the phpstan_baseline_externalsource branch from 177f665 to 83a2752 Compare February 12, 2024 15:46
@vmcj vmcj added this pull request to the merge queue Feb 12, 2024
Merged via the queue into DOMjudge:main with commit a61710f Feb 12, 2024
21 checks passed
@vmcj vmcj deleted the phpstan_baseline_externalsource branch February 12, 2024 16:11
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