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

Clean baseline 20240203 #2314

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Clean baseline 20240203 #2314

merged 2 commits into from
Feb 4, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Feb 3, 2024

Has one candidate for a DTO.

@vmcj vmcj requested a review from nickygerritsen February 3, 2024 17:31
@vmcj vmcj force-pushed the clean_baseline_20240203 branch from b763203 to 8b7bc8b Compare February 4, 2024 00:05
vmcj added 2 commits February 4, 2024 10:54
Most types where based on dumping the input/output object otherwise
copied from other functions where the the output is either the input for
the function or the other way around. This should
make it easier for PHPStan to discover wrong or unused code.

Also disabled scanning for the Test fixtures as we do the same things
for the tests.

Removed one generic php-stan line as this was fixed according to PHPStan
itself.

Further work can be done to change the Object arrays to be less generic,
and rescrict that it would only implement our Deletable objects, for now
this doesn't add enough new information compared to the work.
@vmcj vmcj force-pushed the clean_baseline_20240203 branch from 8b7bc8b to f73f856 Compare February 4, 2024 10:01
@vmcj vmcj added this pull request to the merge queue Feb 4, 2024
Merged via the queue into DOMjudge:main with commit 55427fc Feb 4, 2024
21 checks passed
@vmcj vmcj deleted the clean_baseline_20240203 branch February 4, 2024 10:15
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