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

Break down complex command class helper method #1397

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

caendesilva
Copy link
Member

This method has high cyclomatic complexity. Extracting additional helper methods reduces the scope of method.

This method has high cyclomatic complexity. Extracting additional helper methods reduces the scope of method.
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Merging #1397 (3c7d063) into master (528cd86) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             master    #1397     +/-   ##
===========================================
  Coverage     99.97%   99.97%             
- Complexity     1703     3410   +1707     
===========================================
  Files           180      360    +180     
  Lines          4615     9238   +4623     
===========================================
+ Hits           4614     9236   +4622     
- Misses            1        2      +1     
Files Coverage Δ
...s/src/Commands/ValidatePublicationTypesCommand.php 100.00% <100.00%> (ø)

... and 180 files with indirect coverage changes

@caendesilva caendesilva merged commit 6a413a8 into master Oct 27, 2023
15 checks passed
@caendesilva caendesilva deleted the publications-command-cleanup branch October 27, 2023 16:23
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.

1 participant